open-telemetry / open-telemetry/opentelemetry-cpp
[Feature] Metrics SDK: allow metric readers to filter Meters during Collect()
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 632
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 75
Description
When metrics are exported to different endpoints by different exporters, it is necessary to express somehow which metric goes to which exporter.
Currently this is not possible, because a metric reader exports all the meters and metrics defined on a meter provider.
This is a new feature to improve usefulness and expressiveness of which data is exported, and where to.
Desired filtering is on a meter by meter basis, for efficiency at runtime, and ease of configuration.
This feature depends on the following spec change:
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 metric reader, meter provider, and Collect() behavior described in this issue, then read the dependent OpenTelemetry specification issue 3617. The work is complete when readers can filter meters independently during collection and the implementation matches the updated specification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- observability-sre
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100