open-telemetry / open-telemetry/opentelemetry-ruby

MeterProvider#meter accepts attributes

Open
#1,709 1 comment 0 reactions 1 assignee View on GitHub

@xuan-cao-swi is already working on this.

Since Sep 4, 2024.

keep metrics
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

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.