public class OpenTelemetryResources extends Object
| Modifier and Type | Field and Description |
|---|---|
static io.opentelemetry.api.common.AttributeKey<String> |
SERVICE_NAME_KEY |
| Modifier and Type | Method and Description |
|---|---|
static org.mule.runtime.tracer.api.sniffer.ExportedSpanSniffer |
getNewExportedSpanCapturer() |
static io.opentelemetry.context.propagation.ContextPropagators |
getPropagator() |
static io.opentelemetry.sdk.resources.Resource |
getResource(String serviceName) |
static io.opentelemetry.api.trace.Tracer |
getTracer(SpanExporterConfiguration spanExporterConfiguration,
String serviceName) |
static io.opentelemetry.sdk.trace.SpanProcessor |
resolveExporterProcessor(SpanExporterConfiguration spanExporterConfiguration) |
public static final io.opentelemetry.api.common.AttributeKey<String> SERVICE_NAME_KEY
public static io.opentelemetry.api.trace.Tracer getTracer(SpanExporterConfiguration spanExporterConfiguration, String serviceName) throws SpanExporterConfiguratorException
public static io.opentelemetry.sdk.resources.Resource getResource(String serviceName)
public static org.mule.runtime.tracer.api.sniffer.ExportedSpanSniffer getNewExportedSpanCapturer()
public static io.opentelemetry.context.propagation.ContextPropagators getPropagator()
public static io.opentelemetry.sdk.trace.SpanProcessor resolveExporterProcessor(SpanExporterConfiguration spanExporterConfiguration) throws SpanExporterConfiguratorException
Copyright © 2003–2023 MuleSoft, Inc.. All rights reserved.