open-telemetry / open-telemetry/opentelemetry-python

Wrong sdk version requirement for grpc exporter

Open
#3,051 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
2.6k
Forks
1k
Avg merge
4d 15h
Merged PRs (30d)
19

Description

Steps to reproduce
The grpc exporter requires sdk~=1.12 but it imports OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE which is introduced in 1.14. I believe this was added in https://github.com/open-telemetry/opentelemetry-python/pull/2968 which doesn't update the dependency requirement. The version requirement should be updated. Grpc exporter 0.35b0 is broken.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with exporter/opentelemetry-exporter-otlp-proto-grpc/pyproject.toml and compare its SDK requirement with the imported OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE in the linked metric exporter file. Update the requirement so grpc exporter 0.35b0 supports that import, then verify the package metadata reflects the corrected minimum version.

Written by the indexing model from the issue text.

Assessment

Tech stack
grpc, python
Domain
observability-sre
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.