Class OtlpExporter
- java.lang.Object
-
- com.avioconsulting.mule.opentelemetry.api.config.exporter.AbstractExporter
-
- com.avioconsulting.mule.opentelemetry.api.config.exporter.OtlpExporter
-
- All Implemented Interfaces:
OpenTelemetryExporter
public class OtlpExporter extends AbstractExporter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOtlpExporter.OtlpRequestCompressionThe compression type to use on OTLP trace, metric, and log requests.static classOtlpExporter.Protocol
-
Field Summary
Fields Modifier and Type Field Description static StringOTEL_EXPORTER_OTLP_COMPRESSIONstatic StringOTEL_EXPORTER_OTLP_ENDPOINTstatic StringOTEL_EXPORTER_OTLP_HEADERSstatic StringOTEL_EXPORTER_OTLP_METRICS_ENDPOINTstatic StringOTEL_EXPORTER_OTLP_PROTOCOLstatic StringOTEL_EXPORTER_OTLP_TRACES_ENDPOINTstatic StringOTLP-
Fields inherited from interface com.avioconsulting.mule.opentelemetry.api.config.exporter.OpenTelemetryExporter
OTEL_LOGS_EXPORTER_KEY, OTEL_METRICS_EXPORTER_KEY, OTEL_TRACES_EXPORTER_KEY
-
-
Constructor Summary
Constructors Constructor Description OtlpExporter()Default constructor used by Mule SDK to instantiate this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetCollectorEndpoint()Map<String,String>getExporterProperties()List<Header>getHeaders()OtlpExporter.OtlpRequestCompressiongetRequestCompression()inthashCode()-
Methods inherited from class com.avioconsulting.mule.opentelemetry.api.config.exporter.AbstractExporter
getConfigProperties, setConfigProperties
-
-
-
-
Field Detail
-
OTLP
public static final String OTLP
- See Also:
- Constant Field Values
-
OTEL_EXPORTER_OTLP_PROTOCOL
public static final String OTEL_EXPORTER_OTLP_PROTOCOL
- See Also:
- Constant Field Values
-
OTEL_EXPORTER_OTLP_ENDPOINT
public static final String OTEL_EXPORTER_OTLP_ENDPOINT
- See Also:
- Constant Field Values
-
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
public static final String OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
- See Also:
- Constant Field Values
-
OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
public static final String OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
- See Also:
- Constant Field Values
-
OTEL_EXPORTER_OTLP_COMPRESSION
public static final String OTEL_EXPORTER_OTLP_COMPRESSION
- See Also:
- Constant Field Values
-
OTEL_EXPORTER_OTLP_HEADERS
public static final String OTEL_EXPORTER_OTLP_HEADERS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRequestCompression
public OtlpExporter.OtlpRequestCompression getRequestCompression()
-
getCollectorEndpoint
public String getCollectorEndpoint()
-
getExporterProperties
public Map<String,String> getExporterProperties()
- Specified by:
getExporterPropertiesin interfaceOpenTelemetryExporter- Overrides:
getExporterPropertiesin classAbstractExporter
-
-