From 36b64d0ece9e69dde6ff1b53042b884dfd94e5d2 Mon Sep 17 00:00:00 2001 From: Ivan Topolnjak Date: Fri, 12 Oct 2018 15:57:48 +0200 Subject: do not copy any tags by default --- kamon-core/src/main/resources/reference.conf | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'kamon-core') diff --git a/kamon-core/src/main/resources/reference.conf b/kamon-core/src/main/resources/reference.conf index cb658d23..a35225d4 100644 --- a/kamon-core/src/main/resources/reference.conf +++ b/kamon-core/src/main/resources/reference.conf @@ -313,12 +313,16 @@ kamon { # Use the http.status_code tag. status-code = metric - # Copy tags from the context into the Spans with the specified purpouse. + # Copy tags from the context into the Spans with the specified purpouse. For example, to copy a customer_type + # tag from the context into the HTTP Server Span created by the instrumentation, the following configuration + # should be added: + # + # from-context { + # customer_type = span + # } + # from-context { - # The peer tag identifiest the service that is calling the current service. It is added by default with - # the HttpClient instrumentation. - peer = metric } } -- cgit v1.2.3