github.com/grafana/pyroscope@v1.18.0/examples/tracing/java/grafana-provisioning/datasources/pyroscope.yml (about)

     1  ---
     2  apiVersion: 1
     3  datasources:
     4    - name: Tempo
     5      type: tempo
     6      access: proxy
     7      orgId: 1
     8      url: http://tempo:3200
     9      basicAuth: false
    10      isDefault: true
    11      version: 1
    12      editable: false
    13      apiVersion: 1
    14      uid: tempo
    15      jsonData:
    16        httpMethod: GET
    17        serviceMap:
    18          datasourceUid: prometheus
    19        tracesToProfiles:
    20          customQuery: false
    21          datasourceUid: "pyroscope"
    22          profileTypeId: "process_cpu:cpu:nanoseconds:cpu:nanoseconds"
    23          tags:
    24            - key: "service.name"
    25              value: "service_name"
    26    - uid: pyroscope
    27      type: grafana-pyroscope-datasource
    28      name: Pyroscope
    29      url: http://pyroscope:4040
    30      jsonData:
    31        keepCookies: [pyroscope_git_session]