aboutsummaryrefslogblamecommitdiff
path: root/kamon-core-tests/src/test/resources/reference.conf
blob: 608527222e5a691c3e07f9c9d3315e8913204527 (plain) (tree)
1
2
3
4
5
6
7
8
9



                               




       
 


                    
 




                                           
 


                   







                                                   
       
 


                                  
 



                                


       
 
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
      }
    }
  }
}