Файлы скопированы без изменений из solution/BPI2301-Vozzhin репозитория mtusi2026lab6. Доработки ЛР 7 идут отдельными коммитами. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
48 lines
969 B
YAML
48 lines
969 B
YAML
apiVersion: 1
|
|
|
|
deleteDatasources:
|
|
- name: Prometheus
|
|
orgId: 1
|
|
- name: Loki
|
|
orgId: 1
|
|
- name: Tempo
|
|
orgId: 1
|
|
|
|
datasources:
|
|
- name: Prometheus
|
|
uid: prometheus
|
|
type: prometheus
|
|
access: proxy
|
|
url: http://prometheus:9090
|
|
isDefault: true
|
|
editable: false
|
|
- name: Loki
|
|
uid: loki
|
|
type: loki
|
|
access: proxy
|
|
url: http://loki:3100
|
|
editable: false
|
|
jsonData:
|
|
derivedFields:
|
|
- name: TraceID
|
|
matcherRegex: 'trace[_]?id["=: ]+([0-9a-f]{32})'
|
|
datasourceUid: tempo
|
|
url: '$${__value.raw}'
|
|
- name: Tempo
|
|
uid: tempo
|
|
type: tempo
|
|
access: proxy
|
|
url: http://tempo:3200
|
|
editable: false
|
|
jsonData:
|
|
tracesToLogsV2:
|
|
datasourceUid: loki
|
|
spanStartTimeShift: -1m
|
|
spanEndTimeShift: 1m
|
|
filterByTraceID: true
|
|
filterBySpanID: false
|
|
serviceMap:
|
|
datasourceUid: prometheus
|
|
nodeGraph:
|
|
enabled: true
|