From f081643faa5f20cc7334e2372bdca024884358c0 Mon Sep 17 00:00:00 2001 From: Emily Zhang <8007274+emilytzhang@users.noreply.github.com> Date: Tue, 27 Jan 2026 16:36:10 -0800 Subject: [PATCH] US1077048 Update Readme and example for otel.serviceLevelTraceConfig --- charts/gateway/README.md | 16 ++++++++++++++++ charts/gateway/production-values.yaml | 12 ++++++++++++ 2 files changed, 28 insertions(+) diff --git a/charts/gateway/README.md b/charts/gateway/README.md index fb2158ea..8340a433 100644 --- a/charts/gateway/README.md +++ b/charts/gateway/README.md @@ -707,6 +707,8 @@ OpenTelemetry is configured on the Gateway in two places, system properties and These can be configured in values.yaml. See the section below to view examples of how and where to configure this. +The Gateway from v11.2.2, trace can use otel.serviceLevelTraceConfig as more granular per-service configuration . It takes precedence over otel.traceConfig when present. Please see Techdocs for more details about this integration. + - config.otel ``` config: @@ -740,6 +742,20 @@ otel.enabled=true otel.serviceMetricEnabled=true otel.traceEnabled=true (if tracing is required) otel.traceConfig=(default {}) +otel.serviceLevelTraceConfig=(default {}) //GW 11.2.2 +``` +example otel.serviceLevelTraceConfig +``` +{ + "services" : [ { + "resolutionPath" : "/*" + }, { + "resolutionPath" : ".*test_otel_service.*", + "assertions" : { + "exclude" : [ "Decode MTOM Message" ] + } + } ] +} ``` example otel.traceConfig ``` diff --git a/charts/gateway/production-values.yaml b/charts/gateway/production-values.yaml index 7c3da5a0..8af8b7f3 100644 --- a/charts/gateway/production-values.yaml +++ b/charts/gateway/production-values.yaml @@ -270,6 +270,18 @@ config: # ] # } # } + # - name: otel.serviceLevelTraceConfig + # value: | + # { + # "services": [ { + # "resolutionPath": "/*" + # }, { + # "resolutionPath": ".*test_otel_service.*", + # "assertions": { + # "exclude": [ "Decode MTOM Message" ] + # } + # } ] + # } systemProperties: |- # Default Gateway system properties # Configuration properties for shared state extensions.