open-telemetry / open-telemetry/weaver

Allow an array of enum values

Open
#329 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement model
Dominant language
Rust
Stars
486
Forks
108
Avg merge
3d 4h
Merged PRs (30d)
40

Description

Is your feature request related to a problem? Please describe.
Currently the type of attribute is limited to the simple values (int, string etc) or array of it. For some of the fields we might need to have a predefined list of values (enum) and to be able to have an array of them - array of enum values.

Describe the solution you'd like
I propose to add a possibility to have an array of enum values for group attributes

Additional context
This was brought in file PR but I believe might be interesting for other cases as well

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

No implementation file or test is named in the issue. Start by reviewing the referenced OpenTelemetry semantic-conventions PR 914 and tracing how group attributes currently represent enum values; define the affected schema and generation paths before adding coverage for arrays of enum values.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.