aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/main/resources/reference.conf
diff options
context:
space:
mode:
Diffstat (limited to 'kamon-core/src/main/resources/reference.conf')
-rw-r--r--kamon-core/src/main/resources/reference.conf34
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