tempo-datasource.yml 810 Bytes
Newer Older
1
# SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
3
4
5
6
7
8
9
10
11
# SPDX-License-Identifier: Apache-2.0

apiVersion: 1

datasources:
  - name: Tempo
    type: tempo
    access: proxy
    url: http://tempo:3200
    uid: tempo
12
    isDefault: false
13
14
15
16
17
    editable: true
    jsonData:
      httpMethod: GET
      serviceMap:
        datasourceUid: tempo
18
19
20
21
22
23
      tracesToLogsV2:
        datasourceUid: loki
        filterByTraceID: false
        filterBySpanID: false
        customQuery: true
        query: '{service_name=~".+"} | trace_id = "$${__span.traceId}"'
24
25
26
27
28
29
30
31
32
33
      search:
        hide: false
      nodeGraph:
        enabled: true
      traceQuery:
        timeShiftEnabled: true
        spanStartTimeShift: 1h
        spanEndTimeShift: 1h
      spanBar:
        type: Tag