Skip to content

Commit

Permalink
Set loki datasource in grafana
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryangr0 committed Dec 21, 2024
1 parent 9d675bb commit f81f87b
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions ops/helm/grafana/grafana/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@ grafana:
datasources.yml:
apiVersion: 1
datasources:
# - name: monitoring-platform-loki
# uid: monitoring-platform-loki
# type: loki
# access: proxy
# url: http://monitoring-platform-loki:3100
# editable: true
# jsonData:
# maxLines: 1000
# derivedFields:
# - datasourceUid: monitoring-platform-tempo
# matcherType: label
# matcherRegex: trace_id
# name: TraceID
# # url will be interpreted as query for the datasource
# url: '$${__value.raw}'
# urlDisplayLabel: 'View Trace'
- name: monitoring-platform-loki
uid: monitoring-platform-loki
type: loki
access: proxy
url: http://loki.monitoring.svc.cluster.local:3100
editable: true
jsonData:
maxLines: 1000
derivedFields:
- datasourceUid: monitoring-platform-tempo
matcherType: label
matcherRegex: trace_id
name: TraceID
# url will be interpreted as query for the datasource
url: '$${__value.raw}'
urlDisplayLabel: 'View Trace'
- name: monitoring-platform-tempo
uid: monitoring-platform-tempo
type: tempo
Expand Down

0 comments on commit f81f87b

Please sign in to comment.