From 6817f8292424c900d1b70e173fb570a314c57656 Mon Sep 17 00:00:00 2001 From: Ivan Fritzler Date: Mon, 13 Apr 2026 13:27:56 -0300 Subject: [PATCH] W-21921734: OTEL Resource attributes documentation. --- modules/ROOT/pages/otel-support.adoc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/ROOT/pages/otel-support.adoc b/modules/ROOT/pages/otel-support.adoc index df1a4f251..39dd6b587 100644 --- a/modules/ROOT/pages/otel-support.adoc +++ b/modules/ROOT/pages/otel-support.adoc @@ -430,6 +430,18 @@ Each generated span has an associated tracing level. Flow spans use the `OVERVIE In most cases, the default tracing level is the best choice. Use `DEBUG` for troubleshooting. +== Custom resource attributes + +In OpenTelemetry, a Resource represents the entity that produces telemetry data. Resource attributes are key-value pairs that help identify and distinguish the source of telemetry data across distributed systems. + +Mule runtime supports configuring fixed-value custom resource attributes. + +[%header%autowidth.spread,cols="a,a,a"] +|=== +| Property | Default Value | Description +| `mule.openTelemetry.exporter.resource.attributes` | Empty list | Comma-separated list of resource attributes included in every span and logs export batch. +|=== + === Custom Service Name and Service Namespace Service attributes identify the source of the telemetry data, Mule applications in this case. Mule runtime supports setting the `service.name` and `service.namespace` properties to custom values: