open-telemetry / open-telemetry/opentelemetry-ruby
MeterProvider#meter accepts attributes
@xuan-cao-swi is already working on this.
Since Sep 4, 2024.
- Dominant language
- Ruby
- Stars
- 606
- Forks
- 301
- Avg merge
- 3d 19h
- Merged PRs (30d)
- 42
Description
A meter can have instrumentation scope attributes to associate with emitted telemetry. This is added through the Meter Provider's Get a Meter functionality.
[since 1.13.0] attributes: Specifies the instrumentation scope attributes to associate with emitted telemetry.
Users can provide attributes to associate with the instrumentation scope, but it is up to their discretion. Therefore, this API MUST be structured to accept a variable number of attributes, including none.
Attributes are not an identifying element for a meter.
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.
Assessment
This issue has not been assessed yet.