Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow to set "metadata" in config.yaml without validation constraints #36856

Open
cforce opened this issue Dec 16, 2024 · 0 comments
Open

allow to set "metadata" in config.yaml without validation constraints #36856

cforce opened this issue Dec 16, 2024 · 0 comments
Labels
enhancement New feature or request needs triage New item requiring triage

Comments

@cforce
Copy link

cforce commented Dec 16, 2024

Component(s)

cmd/otelcontribcol

Is your feature request related to a problem? Please describe.

To enable the use of metadata for configuring external programs that manage OpenTelemetry (OTel) collector configurations, it would be helpful to introduce a dedicated section resembling a key-value map. This approach would ensure compatibility without causing the parser or validator to fail.

Describe the solution you'd like

For example:

metadata:
  description: my cfg
  environment: dev
  labelx: "some value"
  labely: 13

I haven't come across anything similar, but perhaps such functionality exists and is just not well-documented or is buried somewhere.

Describe alternatives you've considered

Writing a dedicated extension is kind of overkill, but still might be an option

Additional context

No response

@cforce cforce added enhancement New feature or request needs triage New item requiring triage labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage New item requiring triage
Projects
None yet
Development

No branches or pull requests

1 participant