OpenTelemetry Collector Protobuf over HTTP Exporter
This library allows to export data to the OpenTelemetry Collector using the OpenTelemetry Protocol using Protobuf over HTTP.
Installation
pip install opentelemetry-exporter-otlp-proto-http
By default, exports are sent over urllib3. To use requests instead, install the requests extra and explicitly pass a requests.Session to the exporter:
pip install opentelemetry-exporter-otlp-proto-http[requests]
import requests
from opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporter
exporter = OTLPSpanExporter(session=requests.Session())
References
Release files for opentelemetry-exporter-otlp-proto-http 1.45.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| opentelemetry_exporter_otlp_proto_http-1.45.0.tar.gz | 28.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opentelemetry_exporter_otlp_proto_http-1.45.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.1 kB
Release files / opentelemetry_exporter_otlp_proto_http-1.45.0.tar.gz
| Download URL | opentelemetry_exporter_otlp_proto_http-1.45.0.tar.gz |
|---|---|
| Size | 28.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f35496d96809f946f41b8805e6b93aec6c9b71b5fd759b75b6af4c084d992ae
|
|
BLAKE2b-256 checksum How to use checksums |
9478a503801c1c8f80b1d8aad0e14106a7c57f39344001652a78a683f9a9089e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|
Release files / opentelemetry_exporter_otlp_proto_http-1.45.0-py3-none-any.whl
| Download URL | opentelemetry_exporter_otlp_proto_http-1.45.0-py3-none-any.whl |
|---|---|
| Size | 22.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74385f99266dafdefff41f3da4b76f6dba79d237a9d4487e6ff1ee653c74a0a3
|
|
BLAKE2b-256 checksum How to use checksums |
e718875e0ee47e035f324e42eda9aab47d58381a4412181dca251d3504e24680
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|