initial commit
Some checks failed
Build and Publish TechDocs / build-and-publish (push) Has been cancelled
Some checks failed
Build and Publish TechDocs / build-and-publish (push) Has been cancelled
Change-Id: I084fc528d931f9169bcb2a11932b2d5ddd4f29b5
This commit is contained in:
23
grafana/provisioning/datasources/default.yaml
Normal file
23
grafana/provisioning/datasources/default.yaml
Normal file
@@ -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
|
||||
22
grafana/provisioning/datasources/jaeger.yaml
Normal file
22
grafana/provisioning/datasources/jaeger.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
# Copyright The OpenTelemetry Authors
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
|
||||
apiVersion: 1
|
||||
|
||||
datasources:
|
||||
- name: Jaeger
|
||||
uid: webstore-traces
|
||||
type: jaeger
|
||||
url: http://jaeger:16686/jaeger/ui
|
||||
editable: true
|
||||
isDefault: false
|
||||
jsonData:
|
||||
tracesToLogsV2:
|
||||
datasourceUid: webstore-logs
|
||||
spanStartTimeShift: "-20m"
|
||||
spanEndTimeShift: "20m"
|
||||
filterByTraceID: true
|
||||
filterBySpanID: true
|
||||
customQuery: true
|
||||
query: traceId:"$${__trace.traceId}" AND spanId:"$${__span.spanId}"
|
||||
21
grafana/provisioning/datasources/opensearch.yaml
Normal file
21
grafana/provisioning/datasources/opensearch.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
# Copyright The OpenTelemetry Authors
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
apiVersion: 1
|
||||
|
||||
datasources:
|
||||
- name: OpenSearch
|
||||
uid: webstore-logs
|
||||
type: grafana-opensearch-datasource
|
||||
url: http://opensearch:9200/
|
||||
access: proxy
|
||||
editable: true
|
||||
isDefault: false
|
||||
jsonData:
|
||||
database: otel-logs-*
|
||||
flavor: opensearch
|
||||
logLevelField: severity.text.keyword
|
||||
logMessageField: body
|
||||
pplEnabled: true
|
||||
timeField: observedTimestamp
|
||||
version: 3.6.0
|
||||
Reference in New Issue
Block a user