aboutsummaryrefslogtreecommitdiff
path: root/kamon-core-tests/src/test/resources/reference.conf
blob: 608527222e5a691c3e07f9c9d3315e8913204527 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
kamon {
  context.codecs.string-keys {
    request-id = "X-Request-ID"
  }
}



kamon {

  trace {
    sampler = always
  }

  propagation.http.default {
    tags.mappings {
      "correlation-id" = "x-correlation-id"
    }
  }

  instrumentation {
    http-server {
      default {
        tracing {
          preferred-trace-id-tag = "correlation-id"
          tags.from-context.peer = span
          response-headers {
            trace-id = "x-trace-id"
            span-id = "x-span-id"
          }
        }
      }

      no-span-metrics {
        tracing.span-metrics = off
      }

      noop {
        propagation.enabled = no
        metrics.enabled = no
        tracing.enabled = no
      }
    }
  }
}