From b61c92ea3589450fd097ab79420230b61b458ae4 Mon Sep 17 00:00:00 2001 From: Ivan Topolnjak Date: Fri, 28 Sep 2018 12:08:24 +0200 Subject: cleanup HTTP propagation, introduce a new Binary propagation --- kamon-core/src/main/resources/reference.conf | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'kamon-core/src/main/resources/reference.conf') diff --git a/kamon-core/src/main/resources/reference.conf b/kamon-core/src/main/resources/reference.conf index 5984f3c4..a4a7871e 100644 --- a/kamon-core/src/main/resources/reference.conf +++ b/kamon-core/src/main/resources/reference.conf @@ -238,10 +238,27 @@ kamon { outgoing { } + } + } + } + + binary { + + # Default HTTP propagation. Unless specified otherwise, all instrumentation will use the configuration on + # this section for HTTP context propagation. + # + default { + entries { + + # Specify mappings between Context keys and the Http.EntryReader implementation in charge of reading them + # from the incoming HTTP request into the Context. + incoming { + #span = "something" + } # Specify mappings betwen Context keys and the Http.EntryWriter implementation in charge of writing them - # on the outgoing HTTP response sent back to clients. - returning { + # on the outgoing HTTP requests. + outgoing { } } -- cgit v1.2.3