From 3a2e97495fea005464fa5c64763ee2525b15e7c4 Mon Sep 17 00:00:00 2001 From: Mayo Date: Tue, 17 Jan 2023 15:33:24 +0800 Subject: [PATCH] chore(tracing): add alias to global config --- kong.conf.default | 56 +++++++++++++++++++++++------------------------ 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/kong.conf.default b/kong.conf.default index 1f7e189e498..fab2170a7fe 100644 --- a/kong.conf.default +++ b/kong.conf.default @@ -103,34 +103,34 @@ # such in the Lua namespace: # `kong.vaults.{name}.*`. -#opentelemetry_tracing = off # Comma-separated list of tracing instrumentations - # this node should load. By default, no instrumentations - # are enabled. - # - # Valid values to this setting are: - # - # - `off`: do not enable instrumentations. - # - `request`: only enable request-level instrumentations. - # - `all`: enable all the following instrumentations. - # - `db_query`: trace database query, including - # Postgres and Cassandra. - # - `dns_query`: trace DNS query. - # - `router`: trace router execution, including - # router rebuilding. - # - `http_client`: trace OpenResty HTTP client requests. - # - `balancer`: trace balancer retries. - # - `plugin_rewrite`: trace plugins iterator - # execution with rewrite phase. - # - `plugin_access`: trace plugins iterator - # execution with access phase. - # - `plugin_header_filter`: trace plugins iterator - # execution with header_filter phase. - # - # **Note:** In the current implementation, - # tracing instrumentations are not enabled in - # stream mode. - -#opentelemetry_tracing_sampling_rate = 1.0 # Tracing instrumentation sampling rate. +#buildin_tracing_instrumentatios = off # Comma-separated list of tracing instrumentations + # this node should load. By default, no instrumentations + # are enabled. + # + # Valid values to this setting are: + # + # - `off`: do not enable instrumentations. + # - `request`: only enable request-level instrumentations. + # - `all`: enable all the following instrumentations. + # - `db_query`: trace database query, including + # Postgres and Cassandra. + # - `dns_query`: trace DNS query. + # - `router`: trace router execution, including + # router rebuilding. + # - `http_client`: trace OpenResty HTTP client requests. + # - `balancer`: trace balancer retries. + # - `plugin_rewrite`: trace plugins iterator + # execution with rewrite phase. + # - `plugin_access`: trace plugins iterator + # execution with access phase. + # - `plugin_header_filter`: trace plugins iterator + # execution with header_filter phase. + # + # **Note:** In the current implementation, + # tracing instrumentations are not enabled in + # stream mode. + +#global_tracing_sampling_rate = 1.0 # Tracing instrumentation sampling rate. # Tracer samples a fixed percentage of all spans # following the sampling rate. #