Prometheus addtional-scrape-configs
Jump to navigation
Jump to search
- job_name: 'sample-pods' scrape_interval: 1s metrics_path: / kubernetes_sd_configs: - role: endpoints 2. We deploy stable/prometheus helm chart: sudo helm upgrade --install prometheus \ --set rbac.create=true \ --set server.persistentVolume.enabled=false \ --set alertmanager.persistentVolume.enabled=false \ --set alertmanager.enabled=false \ --set kubeStateMetrics.enabled=false \ --set nodeExporter.enabled=false \ --set pushgateway.enabled=false \ --set-file extraScrapeConfigs=extraScrapeConfigs.yaml \ stable/prometheus
https://blog.checklyhq.com/autoscaling-checkly-agents-with-keda-in-kubernetes/
https://prometheus.io/docs/prometheus/latest/configuration/configuration/
https://se7entyse7en.dev/posts/how-to-set-up-kubernetes-service-discovery-in-prometheus/