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

Remove logging exporter references #1040

Closed
liustanley opened this issue Feb 16, 2024 · 5 comments
Closed

Remove logging exporter references #1040

liustanley opened this issue Feb 16, 2024 · 5 comments

Comments

@liustanley
Copy link

This PR was merged recently which removed the logging exporter from the list of valid exporters: open-telemetry/opentelemetry-collector-contrib#30408. This results in the following errors when using the helm chart:

* error decoding 'exporters': unknown type: "logging" for id: "logging" (valid values: [logzio loki pulsar awsxray dataset googlemanagedprometheus sumologic awskinesis carbon coralogix dynatrace elasticsearch googlecloudpubsub logicmonitor prometheus awsemf skywalking splunk_hec sapm clickhouse opencensus opensearch signalfx awscloudwatchlogs otlp alibabacloud_logservice cassandra file influxdb sentry debug datadog googlecloud kafka mezmo awss3 azuremonitor instana prometheusremotewrite syslog tencentcloud_logservice zipkin alertmanager azuredataexplorer honeycombmarker loadbalancing otlphttp])
2024/02/16 19:25:03 collector server run finished with error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:

* error decoding 'exporters': unknown type: "logging" for id: "logging" (valid values: [logzio loki pulsar awsxray dataset googlemanagedprometheus sumologic awskinesis carbon coralogix dynatrace elasticsearch googlecloudpubsub logicmonitor prometheus awsemf skywalking splunk_hec sapm clickhouse opencensus opensearch signalfx awscloudwatchlogs otlp alibabacloud_logservice cassandra file influxdb sentry debug datadog googlecloud kafka mezmo awss3 azuremonitor instana prometheusremotewrite syslog tencentcloud_logservice zipkin alertmanager azuredataexplorer honeycombmarker loadbalancing otlphttp])

We should revert the changes made in this PR in order to remove references to the logging exporter: #907

@TylerHelmuth
Copy link
Member

@liustanley I believe you'll only run into this issue if you use the image created from make docker-otelcontribcol from the contrib repo. The images published at https://github.com/open-telemetry/opentelemetry-collector-releases still contain the logging exporter

@TylerHelmuth
Copy link
Member

I was imagining we'd keep the logging export in the helm chart until it is officially removed.

@liustanley
Copy link
Author

@TylerHelmuth We're using a fork of opentelemetry-collector-contrib with these helm charts, so this broke our CI workflows when we updated our fork with upstream.

@TylerHelmuth
Copy link
Member

I think this config will remove it from the confmap:

config:
  exporters:
    logging: null

@liustanley
Copy link
Author

Thanks! That seems to work

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

2 participants