Package-level declarations

Functions

Link copied to clipboard
fun SdkApi.addJavaLogRecordExporter(logRecordExporter: OtelJavaLogRecordExporter)

Adds an OtelJavaLogRecordExporter that OTel LogRecords will be exported to after completion.

Link copied to clipboard
fun SdkApi.addJavaLogRecordProcessor(logRecordProcessor: OtelJavaLogRecordProcessor)

Adds a OtelJavaLogRecordProcessor that will process OTel Logs after Embrace's internal processor. Processors must be added before the SDK has started or they will be ignored.

Link copied to clipboard
fun SdkApi.addJavaSpanExporter(spanExporter: OtelJavaSpanExporter)

Adds an OtelJavaSpanExporter that OTel Spans will be exported to after completion.

Link copied to clipboard
fun SdkApi.addJavaSpanProcessor(spanProcessor: OtelJavaSpanProcessor)

Adds a OtelJavaSpanProcessor that will process OTel Spans after Embrace's internal processor. Processors must be added before the SDK has started or they will be ignored.

Link copied to clipboard
fun SdkApi.getJavaOpenTelemetry(): OtelJavaOpenTelemetry

Returns an OtelJavaOpenTelemetry that provides working Tracer implementations that will record spans that fit into the Embrace data model.