Send Logs from OpenTelemetry SDKs

This guide details how to send OpenTelemetry Logs from OpenTelemetry SDKs to Honeycomb.

What are OpenTelemetry Logs? 

OpenTelemetry Logs are structured logs that wrap the bodies of existing logs and optionally correlate them with traces. For example, structured application logs from a logging framework in your application will be automatically correlated with any tracing you also add to that application. OpenTelemetry Logs also enable you to centrally process logs data along with traces and metrics within the OpenTelemetry Collector.

Send Logs from Your Application to Honeycomb 

You can send your structured application logs via OpenTelemetry to an endpoint, such as Honeycomb’s endpoint or the OpenTelemetry Collector. This option is especially useful if structured logging exists in your application, since it allows for automatic correlation of structured logs with traces later.

When you use an OpenTelemetry SDK to create OpenTelemetry Logs, you send to Honeycomb directly or an OpenTelemetry Collector configured to export to Honeycomb.

Note
OpenTelemetry Logs are not supported in all languages yet. Refer to the OpenTelemetry availability status for each language.
Examples: Send OpenTelemetry Logs with the OpenTelemetry .NET SDK

Explore examples related to sending OpenTelemetry logs to Honeycomb using the OpenTelemetry .NET SDK.

Examples: Send OpenTelemetry Logs with the OpenTelemetry Python SDK

Explore examples related to sending OpenTelemetry logs to Honeycomb using the OpenTelemetry Python SDK.

Examples: Send OpenTelemetry Logs with the OpenTelemetry Java SDK

Explore examples related to sending OpenTelemetry logs to Honeycomb using the OpenTelemetry Java SDK.

Examples: Send OpenTelemetry Logs with the OpenTelemetry JavaScript SDK

Explore examples related to sending OpenTelemetry logs to Honeycomb using the OpenTelemetry JavaScript SDK.

Examples: Send OpenTelemetry Logs with the OpenTelemetry Go SDK

Explore examples related to sending OpenTelemetry logs to Honeycomb using the OpenTelemetry Go SDK.