Skip to content

Conversation

eeddaann
Copy link

Description of changes

The current configuration leads to the following error:

Error: failed to get config: cannot unmarshal the configuration: decoding failed due to the following error(s):

'exporters' the logging exporter has been deprecated, use the debug exporter instead

related to open-telemetry/opentelemetry-collector#3524

The current configuration leads to the following error:
```
Error: failed to get config: cannot unmarshal the configuration: decoding failed due to the following error(s):

'exporters' the logging exporter has been deprecated, use the debug exporter instead
```
related to open-telemetry/opentelemetry-collector#3524
Copy link
Contributor

Replace Deprecated logging Exporter with debug in otel-collector-config.yaml

This PR updates the examples/observability/otel-collector-config.yaml configuration by replacing the deprecated logging exporter with the debug exporter, addressing a startup error in the OpenTelemetry Collector. The change ensures compatibility with the latest collector versions and aligns the configuration with current best practices.

Key Changes

• Removed logging exporter from the exporters section in otel-collector-config.yaml
• Added debug exporter to replace the deprecated logging exporter

Affected Areas

examples/observability/otel-collector-config.yaml

This summary was automatically generated by @propel-code-bot

Copy link

Reviewer Checklist

Please leverage this checklist to ensure your code review is thorough before approving

Testing, Bugs, Errors, Logs, Documentation

  • Can you think of any use case in which the code does not behave as intended? Have they been tested?
  • Can you think of any inputs or external events that could break the code? Is user input validated and safe? Have they been tested?
  • If appropriate, are there adequate property based tests?
  • If appropriate, are there adequate unit tests?
  • Should any logging, debugging, tracing information be added or removed?
  • Are error messages user-friendly?
  • Have all documentation changes needed been made?
  • Have all non-obvious changes been commented?

System Compatibility

  • Are there any potential impacts on other parts of the system or backward compatibility?
  • Does this change intersect with any items on our roadmap, and if so, is there a plan for fitting them together?

Quality

  • Is this code of a unexpectedly high quality (Readability, Modularity, Intuitiveness)

@eeddaann eeddaann changed the title Update otel-collector-config.yaml Replace Deprecated logging Exporter with debug in otel-collector-config.yaml Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant