Class WssSpanEnricher
java.lang.Object
com.mulesoft.modules.wss.internal.telemetry.WssSpanEnricher
Helper that enriches the current OTel span for WSS operations with WSS-specific details (direction, SOAP version, enabled
features, etc.) using the Mule SDK
DistributedTraceContextManager.
All calls are best-effort: any classpath or linkage issues are swallowed and logged at DEBUG so that span enrichment can never
break WSS processing.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidappendIfPresent(StringBuilder sb, Object value, String code) Appendscodetosb, prefixed by a comma ifsbis non-empty, whenvalueis notnull.static voidenrich(org.mule.sdk.api.runtime.source.DistributedTraceContextManager traceManager, String spanName, String... attributes)
-
Field Details
-
ATTR_VALIDATIONS
- See Also:
-
ATTR_APPLIED
- See Also:
-
-
Method Details
-
appendIfPresent
Appendscodetosb, prefixed by a comma ifsbis non-empty, whenvalueis notnull. Centralizes the conditional-CSV-append pattern used to build telemetry label strings from a set of enabled feature configs. -
enrich
-