traces links

This commit is contained in:
royalcat 2024-04-05 12:48:02 +03:00
parent 36eeb48b60
commit 60a60b6267
2 changed files with 32 additions and 18 deletions

View file

@ -90,7 +90,7 @@ services:
GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_STRICT: "true"
volumes:
- grafana_data:/var/lib/grafana
- ./grafana/datasources.yaml:/etc/grafana/provisioning/datasources/ds.yaml
- ./grafana/datasources.yaml:/etc/grafana/provisioning/datasources.yaml
ports:
- ${GRAFANA_PORT}:3000
networks:

View file

@ -1,6 +1,33 @@
apiVersion: 1
datasources:
- name: Tempo
type: tempo
access: proxy
orgId: 1
url: http://tempo:3200
basicAuth: false
isDefault: true
version: 1
editable: false
apiVersion: 1
uid: tempo
jsonData:
httpMethod: GET
serviceMap:
datasourceUid: prometheus
tracesToProfiles:
customQuery: false
datasourceUid: "pyroscope"
profileTypeId: "process_cpu:cpu:nanoseconds:cpu:nanoseconds"
tracesToLogs:
datasourceUid: loki
mapTagNamesEnabled: true
spanStartTimeShift: "1h"
spanEndTimeShift: "1h"
filterByTraceID: true
filterBySpanID: true
- name: Loki
uid: loki
type: loki
access: proxy
orgId: 1
@ -10,6 +37,7 @@ datasources:
version: 1
editable: false
- name: Prometheus
uid: prometheus
type: prometheus
access: proxy
orgId: 1
@ -18,23 +46,9 @@ datasources:
isDefault: false
version: 1
editable: false
- name: Tempo
type: tempo
access: proxy
orgId: 1
url: http://tempo:3200
basicAuth: false
isDefault: false
version: 1
editable: false
jsonData:
httpMethod: GET
- name: Pyroscope
type: pyroscope
uid: pyroscope
type: grafana-pyroscope-datasource
access: proxy
orgId: 1
url: http://pyroscope:3200
basicAuth: false
isDefault: false
version: 1
editable: false
url: http://pyroscope:4040