{"id":362,"library":"opentelemetry-exporter-otlp-proto-common","title":"OpenTelemetry Exporter OTLP Proto Common","description":"This library provides Protobuf encoding for OpenTelemetry. The current version is 1.40.0, released regularly as part of the OpenTelemetry project. It is utilized to integrate with various tracing and monitoring systems.","status":"active","version":"1.40.0","language":"python","source_language":"en","source_url":"https://github.com/open-telemetry/opentelemetry-python","tags":["OpenTelemetry","Tracing","Protobuf","Monitoring"],"install":[{"cmd":"pip install opentelemetry-exporter-otlp-proto-common","lang":"bash","label":"Install the OpenTelemetry Exporter OTLP Proto Common"}],"dependencies":[{"reason":"Required for full functionality of OpenTelemetry SDK.","package":"opentelemetry-sdk","optional":true}],"imports":[{"wrong":"from opentelemetry.exporter.otlp.proto.common.metrics_encoder import NoOpTracer","symbol":"NoOpTracer","correct":"from opentelemetry.exporter.otlp.proto.common.metrics_encoder import NoOpTracer"}],"quickstart":{"code":"import os\nfrom opentelemetry.exporter.otlp.proto.common import NoOpTracer\n\ntracer = NoOpTracer()\n\nwith tracer.start_as_current_span('example_span'):\n    print('Hello, OpenTelemetry!')","lang":"python","description":"This code initializes a NoOpTracer and starts a span."},"warnings":[{"fix":"Update implementations to rely on the new behavior of propagating span context.","message":"Changes in `start_span` and `start_as_current_span` in NoOpTracer.","severity":"breaking","affected_versions":">=1.40.0"},{"fix":"Switch to using `opentelemetry-instrumentation-logging` for logging purposes.","message":"`LoggingHandler` is deprecated in favor of `opentelemetry-instrumentation-logging`.","severity":"deprecated","affected_versions":"<1.40.0"}],"env_vars":null,"search_vec":"'1.40.0':17 'common':5 'current':14 'encod':10 'export':2 'integr':30 'librari':7 'monitor':35,40 'opentelemetri':1,12,24,37 'otlp':3 'part':21 'project':25 'proto':4 'protobuf':9,39 'provid':8 'regular':19 'releas':18 'system':36 'trace':33,38 'util':28 'various':32 'version':15","created_at":"2026-03-28T10:52:13.031315+00:00","updated_at":"2026-04-16T19:06:29.877343+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmpywbhgvdl/venv/lib/python3.12/site-packages/opentelemetry/exporter/otlp/proto/common/metrics_encoder.py\", line 5, in <module>\n    from opentelemetry.exporter.otlp.proto.common._internal.metrics_encoder import (\n"},"ecosystem":"pypi","meta_description":null,"install_score":0,"quickstart_score":0,"quickstart_tag":"stale","pypi_latest":"1.44.0","cli_name":"","cli_version":null,"type":"library","homepage":"https://opentelemetry.io","github":"https://github.com/open-telemetry/opentelemetry-python","docs":null,"changelog":null,"pypi":"https://pypi.org/project/opentelemetry-exporter-otlp-proto-common/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["observability","serialization","http-networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-08-27","next_check":"2026-07-10","install_tag":"stale"}}