open-telemetry / open-telemetry/opentelemetry-python
SemConv metrics codegen: include histogram boundaries
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 1k
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 19
Description
See https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3891
We can't use metrics helpers since they don't configure histogram boundaries. E.g.
Blocked on https://github.com/open-telemetry/semantic-conventions/issues/1225 - semconv yaml does not include boundaries and we can't generate corresponding code.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the referenced contrib PR and the generated metrics in opentelemetry-semantic-conventions/src/opentelemetry/semconv/_incubating/metrics/gen_ai_metrics.py. Check semantic-conventions issue 1225 first, since the issue says code generation is blocked until histogram boundaries are added to the semconv YAML; done means generated metrics helpers configure those boundaries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- observability, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100