-
public final class RequestTracingStateKt
-
-
Method Summary
Modifier and Type Method Description final static Map<String, Object>toAttributesMap(RequestTracingState $self, String traceIdKey, String spanIdKey, String rulePsrKey)For internal usage only. -
-
Method Detail
-
toAttributesMap
final static Map<String, Object> toAttributesMap(RequestTracingState $self, String traceIdKey, String spanIdKey, String rulePsrKey)
For internal usage only.
Converts this RequestTracingState into a map of RUM resource attributes containing trace context (trace ID, span ID, and sampling rule PSR). Returns an empty map if the state is null, the span is null, or the request was not sampled.
- Parameters:
traceIdKey- the key to use for the trace ID attribute.spanIdKey- the key to use for the span ID attribute.rulePsrKey- the key to use for the rule PSR (proportional sampling rate) attribute.
-
-
-
-