1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-26 21:05:00 +02:00
opentelemetry-go/exporters
mark-pictor-csec 0bf957262d
otlp: Clients to close body uniformly (#5954)
There were inconsistencies in closing the response body. For traces, the
Close happened in a defer statement and any error was logged. Logs and
metrics were less rigorous. It appeared Close() wasn't always called,
and when it was, errors were returned sometimes and ignored at other
times.

This applies the defer logic from traces to the other two and removes
other Close() calls.

This was part of PR #5929, and has been split out as
requested:
https://github.com/open-telemetry/opentelemetry-go/pull/5929#issuecomment-2446153958).
2024-11-12 19:43:55 +01:00
..
otlp otlp: Clients to close body uniformly (#5954) 2024-11-12 19:43:55 +01:00
prometheus Release v1.32.0/v0.54.0/v0.8.0/v0.0.11 (#5960) 2024-11-08 18:52:26 +01:00
stdout Release v1.32.0/v0.54.0/v0.8.0/v0.0.11 (#5960) 2024-11-08 18:52:26 +01:00
zipkin Release v1.32.0/v0.54.0/v0.8.0/v0.0.11 (#5960) 2024-11-08 18:52:26 +01:00
README.md docs: Add otlploghttp package in exporters README.md (#5274) 2024-04-30 09:00:57 -07:00

OpenTelemetry Exporters

Once the OpenTelemetry SDK has created and processed telemetry, it needs to be exported. This package contains exporters for this purpose.

Exporter Packages

The following exporter packages are provided with the following OpenTelemetry signal support.

Exporter Package Logs Metrics Traces
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
go.opentelemetry.io/otel/exporters/prometheus
go.opentelemetry.io/otel/exporters/stdout/stdoutlog
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric
go.opentelemetry.io/otel/exporters/stdout/stdouttrace
go.opentelemetry.io/otel/exporters/zipkin

See the OpenTelemetry registry for 3rd-party exporters compatible with this project.