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

Print final configuration #1791

Closed
pavolloffay opened this issue Sep 16, 2020 · 5 comments
Closed

Print final configuration #1791

pavolloffay opened this issue Sep 16, 2020 · 5 comments

Comments

@pavolloffay
Copy link
Member

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

When running the collector I don't know what configuration is being used. For instance when the collector is run with the following config I don't know what is the batching, qretry or OTLP receiver configuration. To find out these details I have to read the docs.

receivers:
    otlp:
        protocols:
            grpc:

exporters:
    logging:
        logLevel: debug

processors:
    batch:
    queued_retry:

service:
  pipelines:
    traces:
      receivers: [otlp]
      processors: [batch, queued_retry]
      exporters: [logging]

Describe the solution you'd like

I can think of two possible solutions:

  1. Print each component config when the component is starting
  2. Add a flag that prints full configuration to stdout

Describe alternatives you've considered
None

Additional context
jaegertracing/jaeger#2253

@pavolloffay
Copy link
Member Author

@tigrannajaryan @bogdandrutu any comments? I could work on this.

@tigrannajaryan
Copy link
Member

This would be very useful.

I think this is a good approach:

Add a flag that prints full configuration to stdout

@bogdandrutu
Copy link
Member

@andrewhsu andrewhsu added enhancement New feature or request and removed feature request labels Jan 6, 2021
MovieStoreGuy pushed a commit to atlassian-forks/opentelemetry-collector that referenced this issue Nov 11, 2021
…pen-telemetry#1791)

* Bump google.golang.org/grpc from 1.36.1 to 1.37.0 in /exporters/otlp

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.36.1 to 1.37.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.36.1...v1.37.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Auto-fix go.sum changes in dependent modules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
hughesjj pushed a commit to hughesjj/opentelemetry-collector that referenced this issue Apr 27, 2023
)

Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](sirupsen/logrus@v1.8.1...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@yurishkuro
Copy link
Member

This WIP may address this open-telemetry/opentelemetry-collector-contrib#27003

@mx-psi
Copy link
Member

mx-psi commented Dec 21, 2023

I am going to close this as a duplicate of #5223, since this one has more specific discussion about removing sensitive fields and about the general design

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants