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

Document ability to use config providers inside config #6748

Closed
tigrannajaryan opened this issue Dec 12, 2022 · 4 comments · Fixed by #7032
Closed

Document ability to use config providers inside config #6748

tigrannajaryan opened this issue Dec 12, 2022 · 4 comments · Fixed by #7032
Assignees

Comments

@tigrannajaryan
Copy link
Member

tigrannajaryan commented Dec 12, 2022

I think the Collector does not document anywhere directly that the config providers can be used inside the config. I am referring to the ability to do this:

exporters:
  logging:

receivers: ${file:receivers.yaml}

service:
  pipelines:
    metrics:
      receivers: [otlp]
      exporters: [logging]

Where receivers.yaml is another file:

otlp:
  protocols:
    grpc:
    http:
@bogdandrutu
Copy link
Member

@Chinwendu20
Copy link
Contributor

Wow interesting shouldn't this be in the opentelemetry.io repo as well? for users

@jpkrohling
Copy link
Member

I can take this one.

@jpkrohling jpkrohling self-assigned this Jan 10, 2023
@jpkrohling
Copy link
Member

jpkrohling added a commit to jpkrohling/opentelemetry-collector that referenced this issue Jan 26, 2023
Fixes open-telemetry#6748

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
bogdandrutu pushed a commit that referenced this issue Jan 30, 2023
* Document ability to use config providers inside config

Fixes #6748

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* s/file/provider/

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Move to its own heading

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

---------

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants