From 99ff807755a07e0ccfadadee8b414132edc6ad6c Mon Sep 17 00:00:00 2001 From: Ivan Topolnjak Date: Fri, 12 Oct 2018 13:11:44 +0200 Subject: rename the preferred trace id configuration --- kamon-core/src/main/resources/reference.conf | 34 ++++++++++++++++------------ 1 file changed, 19 insertions(+), 15 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 2108e302..cb658d23 100644 --- a/kamon-core/src/main/resources/reference.conf +++ b/kamon-core/src/main/resources/reference.conf @@ -240,7 +240,7 @@ kamon { default { # - # Configuration for HTTP context propagation + # Configuration for HTTP context propagation. # propagation { @@ -256,26 +256,30 @@ kamon { # - # Configuration for HTTP server metrics collection + # Configuration for HTTP server metrics collection. # metrics { - # Enables collection of HTTP server metrics - enabled = yes - - # Tags to include on the HTTP server metrics. The available options are: - # - method: HTTP method from the request. - # - status-code: HTTP status code from the responses. + # Enables collection of HTTP server metrics. When enabled the following metrics will be collected, assuming + # that the instrumentation is fully compliant: + # + # - http.server.requets + # - http.server.request.active + # - http.server.request.size + # - http.server.response.size + # - http.server.connection.lifetime + # - http.server.connection.usage + # - http.server.connection.open # - tags = [ - "method", - "status-code" - ] + # All metrics have at least three tags: component, interface and port. Additionally, the http.server.requests + # metric will also have a status_code tag with the status code group (1xx, 2xx and so on). + # + enabled = yes } # - # Configuration for HTTP request tracing + # Configuration for HTTP request tracing. # tracing { @@ -283,12 +287,12 @@ kamon { # and finish them when the response is sent back to the clients. enabled = yes - # Select a context tag that provides a custom trace identifier. The custom trace identifier will be used + # Select a context tag that provides a preferred trace identifier. The preferred trace identifier will be used # only if all these conditions are met: # - the context tag is present. # - there is no parent Span on the incoming context (i.e. this is the first service on the trace). # - the identifier is valid in accordance to the identity provider. - trace-id-tag = "none" + preferred-trace-id-tag = "none" # Enables collection of span metrics using the `span.processing-time` metric. span-metrics = on -- cgit v1.2.3