aboutsummaryrefslogblamecommitdiff
path: root/kamon-core-tests/src/test/resources/reference.conf
blob: c092af084222152dff869c0cedbc5e4d05f6e72c (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"
        tracing.tags.from-context.peer = span
      }

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

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