Logs support in the OpenTelemetry Go SDK is currently experimental and subject to change.
To check the status for each language, refer to the OpenTelemetry status page.
slog instrumentation to send logs from a Go application to Honeycomb or an OpenTelemetry Collector.
Configure the Logger Provider
During application setup, initialize the SDK from the config file and set the global logger provider:
Create a Config File
Create an To send logs to an OpenTelemetry Collector instead:
otelconfig.yaml file to configure your exporter.To send logs to Honeycomb: