diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2018-10-12 13:11:44 +0200 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2018-10-12 13:11:44 +0200 |
commit | 99ff807755a07e0ccfadadee8b414132edc6ad6c (patch) | |
tree | 479b8331e84be7ab355f84060c93a1a47d4d491e /kamon-core/src/main/resources/reference.conf | |
parent | 87cf9bd2b33f153e3ba070c75f7f496005cac295 (diff) | |
download | Kamon-99ff807755a07e0ccfadadee8b414132edc6ad6c.tar.gz Kamon-99ff807755a07e0ccfadadee8b414132edc6ad6c.tar.bz2 Kamon-99ff807755a07e0ccfadadee8b414132edc6ad6c.zip |
rename the preferred trace id configuration
Diffstat (limited to 'kamon-core/src/main/resources/reference.conf')
-rw-r--r-- | kamon-core/src/main/resources/reference.conf | 34 |
1 files changed, 19 insertions, 15 deletions
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 |