DockerCLI/hack/otel/prom.yaml

7 lines
186 B
YAML
Raw Permalink Normal View History

# Configure Prometheus to scrape the OTel collector endpoint
scrape_configs:
- job_name: "otel-collector"
scrape_interval: 1s
static_configs:
- targets: ["otelcol:8889"]