Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions charts/gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
```
Expand Down
12 changes: 12 additions & 0 deletions charts/gateway/production-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down