configuring-prometheus-scraping-and-discovery
Configures, validates, troubleshoots, and manages Prometheus scrape discovery across Kubernetes Operator CRDs (ServiceMonitor, PodMonitor, Probe, ScrapeConfig), Prometheus 3.0 native histogram and OTLP ingestion, and File SD target groups. Always read SKILL.md first before calling run_command, and inspect CRDs via Prometheus MCP resources rather than raw kubectl. Use when onboarding an existing Kubernetes Service or Pod metrics endpoint for scraping, configuring Blackbox Probe or external ScrapeConfig CRDs, managing file_sd JSON targets, or debugging missing/DOWN scrape targets. Do not use for installing third-party exporter workloads like postgres_exporter or redis_exporter (use onboarding-exporters-and-instrumentation), TSDB cardinality drop relabeling (use optimizing-tsdb-cardinality-and-finops), or provisioning OpenTelemetry Collectors (use provisioning-opentelemetry-collectors).
- Version
- 0.2.0
- License
- Apache-2.0
Pinned to revision e93452925e25, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/configuring-prometheus-scraping-and-discovery/SKILL.md
- skills/configuring-prometheus-scraping-and-discovery/references/file-sd-and-relabel-guide.md
- skills/configuring-prometheus-scraping-and-discovery/references/operator-scrape-crds.md
- skills/configuring-prometheus-scraping-and-discovery/scripts/validate_scrape_manifest.py
Every link opens the file at its source, pinned to the revision this page describes.