generated from rmcguire/go-server-with-otel
add grafana dashboard
This commit is contained in:
@@ -58,6 +58,18 @@ hull:
|
||||
otelResourceAttributes: app=econet-exporter
|
||||
otlpEndpoint: http://otel.otel.svc.cluster.local:4317 # Replace me
|
||||
|
||||
# Ship a ready-made Grafana dashboard as a ConfigMap for the Grafana
|
||||
# sidecar to auto-import (kiwigrid/k8s-sidecar). Flip enabled to true;
|
||||
# the dashboard uses the default Prometheus datasource and filters by
|
||||
# device name. No datasource UID hard-coding required.
|
||||
grafanaDashboard:
|
||||
enabled: false
|
||||
# Label/value the Grafana sidecar is configured to watch for.
|
||||
label: grafana_dashboard
|
||||
labelValue: "1"
|
||||
# Optional Grafana folder to file the dashboard under (blank = General).
|
||||
folder: ""
|
||||
|
||||
serviceType: ClusterIP
|
||||
serviceLbIP: "" # Used if serviceTyps=LoadBalancer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user