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

Debug exporter is not available in the image yet. This is the replacement for the deprecated logging exporter #2470

Open
jennerm opened this issue Nov 8, 2023 · 7 comments

Comments

@jennerm
Copy link

jennerm commented Nov 8, 2023

The latest version of the otel-collector chart opentelemetry-collector-0.73.1

Now includes the debug exporter in the values.yaml as a replacement for the logging exporter which is now deprecated:

config:
  exporters:
    debug: {}
    # Will be removed in a future release.
    # Use the debug exporter instead.
    logging: {}

However, the latest version of the aws-otel-collector (v0.35.0 at the time of writting) does not include the debug exporter and fails when used with this chart:

Error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:
* error decoding 'exporters': unknown type: "debug" for id: "debug" (valid values: [kafka awsemf dynatrace sapm awsxray prometheusremotewrite file signalfx logzio logging otlp prometheus datadog otlphttp loadbalancing awscloudwatchlogs])

Since config.exporters is a map which we add all our other exporter config to, it is not easy to remove the debug key and stop the debug exporter from being added to the configmap.

Since it is clear that the direction of travel is that logging is being replaced, can the debug exporter please be added now?

@jennerm
Copy link
Author

jennerm commented Nov 8, 2023

Since config.exporters is a map which we add all our other exporter config to, it is not easy to remove the debug key

Someone showed me this in the helm values documentation, which might work around it:

Deleting a default key
If you need to delete a key from the default values, you may override the value of the key to be null, in which case Helm will remove the key from the overridden values merge.

@XanderXAJ
Copy link

XanderXAJ commented Dec 15, 2023

I stumbled across the same issue of using the debug exporter as the OTel Collector docs suggest when troubleshooting, only to find I needed to use the older logging exporter with the ADOT image instead.

When running the current ADOT Collector (v0.36.0), you'll see the following warnings in the logs when using the logging exporter:

info	exporter@v0.90.1/exporter.go:275	Deprecated component. Will be removed in future releases.	{"kind": "exporter", "data_type": "metrics", "name": "logging"}
info	exporter@v0.90.1/exporter.go:275	Deprecated component. Will be removed in future releases.	{"kind": "exporter", "data_type": "traces", "name": "logging"}
info	exporter@v0.90.1/exporter.go:275	Deprecated component. Will be removed in future releases.	{"kind": "exporter", "data_type": "logs", "name": "logging"}

I'd love to fix them, however, users of the image can't act on those deprecations until the debug exporter is included. 😅

Copy link
Contributor

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the stale label Feb 18, 2024
@jennerm
Copy link
Author

jennerm commented Feb 18, 2024

It would be good to update the debug exporter added to the image.

@github-actions github-actions bot removed the stale label Feb 25, 2024
Copy link
Contributor

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the stale label Apr 28, 2024
@jennerm
Copy link
Author

jennerm commented Apr 29, 2024

Keeping this alive, I think it is still relevant.

@github-actions github-actions bot removed the stale label May 5, 2024
@benny-yamagata
Copy link

Very much relevant, cant really debug right now.

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

No branches or pull requests

3 participants