mirror of
https://github.com/moby/buildkit.git
synced 2026-06-24 08:47:57 +00:00
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>
20 lines
601 B
YAML
20 lines
601 B
YAML
apiVersion: 1
|
|
datasources:
|
|
- name: Prometheus
|
|
type: prometheus
|
|
access: proxy
|
|
url: http://prometheus:9090
|
|
isDefault: true
|
|
jsonData:
|
|
httpMethod: POST
|
|
manageAlerts: false
|
|
prometheusType: Prometheus
|
|
prometheusVersion: 2.48.1
|
|
# cacheLevel set to none because this is primarily used for development
|
|
# where caching is detrimental to the experience and there's not enough
|
|
# data where caching is helpful.
|
|
cacheLevel: 'None'
|
|
disableRecordingRules: false
|
|
incrementalQueryOverlapWindow: 10m
|
|
exemplarTraceIdDestinations: []
|