diff --git a/dev/local/ch-demo/grafana/datasources.yml b/dev/local/ch-demo/grafana/datasources.yml index 5af155a5..ab3a2310 100644 --- a/dev/local/ch-demo/grafana/datasources.yml +++ b/dev/local/ch-demo/grafana/datasources.yml @@ -45,14 +45,10 @@ datasources: datasourceUid: prom-oteldb maxLines: 500 derivedFields: - # Field with internal link pointing to data source in Grafana. - # datasourceUid value can be anything, but it should be unique across all defined data source uids. - datasourceUid: tempo-oteldb matcherRegex: '"trace_id":"([0-9a-f]+)"' name: trace - # url will be interpreted as query for the datasource url: '$${__value.raw}' - # optional for URL Label to set a custom display label for the link. urlDisplayLabel: 'View Trace' - name: "PromQL" @@ -63,6 +59,13 @@ datasources: url: http://oteldb:9090 uid: prom-oteldb + jsonData: + prometheusType: Prometheus + disableRecordingRules: false + exemplarTraceIdDestinations: + - datasourceUid: tempo-oteldb + name: trace_id + - name: ClickHouse type: grafana-clickhouse-datasource uid: clickhouse