mirror of
https://github.com/hanzoai/telemetry.git
synced 2026-10-30 20:01:49 +00:00
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description **_Why is this useful?_** - Users might want to examine the config if they face any errors at boot time. This subcommand prints the configuration on stdout after merging and resolving from all the `--config` sources. - The command prints the configuration even if it's invalid. This can help user to track down the faulty piece of config. **_Usage_** ```bash ./otelcorecol examine --config=file:file.yaml --config=http://remote:8080/config --config=file:file2.yaml ``` <!-- Issue number if applicable --> #### Link to tracking issue Fixes #https://github.com/open-telemetry/opentelemetry-collector/issues/11479 <!--Describe what testing was performed and which tests were added.--> #### Testing Added unit test cases. <!--Describe the documentation added.--> #### Documentation Updated readme. <!--Please delete paragraphs that you did not use before submitting.--> --------- Co-authored-by: Mauri de Souza Meneguzzo <[email protected]> Co-authored-by: Pablo Baeyens <[email protected]> Co-authored-by: Pablo Baeyens <[email protected]> Co-authored-by: Evan Bradley <[email protected]>