summaryrefslogtreecommitdiff
path: root/src/grafana/provisioning/datasources/default.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/grafana/provisioning/datasources/default.yaml')
-rw-r--r--src/grafana/provisioning/datasources/default.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/grafana/provisioning/datasources/default.yaml b/src/grafana/provisioning/datasources/default.yaml
new file mode 100644
index 0000000..ee65d92
--- /dev/null
+++ b/src/grafana/provisioning/datasources/default.yaml
@@ -0,0 +1,23 @@
+# Copyright The OpenTelemetry Authors
+# SPDX-License-Identifier: Apache-2.0
+
+
+apiVersion: 1
+
+datasources:
+ - name: Prometheus
+ uid: webstore-metrics
+ type: prometheus
+ url: http://prometheus:9090
+ editable: true
+ isDefault: true
+ jsonData:
+ # Align Prometheus data source time interval with the OTel SDKs' export interval (see OTEL_METRIC_EXPORT_INTERVAL)
+ timeInterval: "60s"
+ exemplarTraceIdDestinations:
+ - datasourceUid: webstore-traces
+ name: trace_id
+
+ - url: http://localhost:8080/jaeger/ui/trace/$${__value.raw}
+ name: trace_id
+ urlDisplayLabel: View in Jaeger UI