File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ services:
4444 - "--web.external-url=https://${MONITORING_DOMAIN}/prometheus/"
4545 - "--web.route-prefix=/"
4646 - "--storage.tsdb.allow-overlapping-blocks" # via https://jessicagreben.medium.com/prometheus-fill-in-data-for-new-recording-rules-30a14ccb8467
47+ - "--enable-feature=exemplar-storage"
4748 #- "--web.enable-admin-api" This allows messing with prometheus using its API from the CLI. Disabled for security reasons by default.
4849 networks:
4950 - monitored
Original file line number Diff line number Diff line change @@ -14,6 +14,16 @@ resource "grafana_data_source" "prometheuscatchall" {
1414 basic_auth_enabled = false
1515 is_default = false
1616 uid = " RmZEr52nz"
17+
18+ json_data_encoded = jsonencode ({
19+ exemplarTraceIdDestinations = [
20+ {
21+ datasourceUid = " tempo"
22+ name = " TraceID"
23+ }
24+ ]
25+ })
26+
1727}
1828
1929resource "grafana_data_source" "tempo" {
You can’t perform that action at this time.
0 commit comments