Files
buildkit/hack/composefiles/prometheus.yml
Jonathan A. Sternberg 5bcbe47657 hack: add prometheus and grafana to hack/compose
Starts a prometheus server that automatically scrapes buildkit for
metrics using the `/metrics` endpoint. Also configures a grafana
instance to use prometheus as the default connection.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2024-05-16 11:57:47 -05:00

7 lines
128 B
YAML

scrape_configs:
- job_name: buildkit
scrape_interval: 1m
static_configs:
- targets:
- "buildkit:6060"