-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Issue with Datadog Exporter Configuration in OpenTelemetry #30686
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I think the issue is the exporter name doesn't match the one in the pipelines. You can change
to
|
the error still persists :( |
What opentelemetry collector distro do you use? Does the distro have datadog exporter? |
I appreciate your prompt response. Yes, I am using the OpenTelemetry collector on Linux, and I installed it by downloading the RPM package for version 0.92.0 from the official releases:
Additionally, I followed the Datadog documentation for the OpenTelemetry collector exporter at https://docs.datadoghq.com/opentelemetry/collector_exporter/?tab=onahost as a reference. I seem to be encountering an issue with the Datadog exporter configuration. Could you kindly provide assistance or a step-by-step guide to ensure that I am configuring it correctly? Any insights you can offer would be greatly appreciated. In addition to the installation of OpenTelemetry on the instance running the Datadog agent, I have configured the YAML file. This entire process aims to set up the use of OpenTelemetry originating from Hasura. To provide more context, the key configuration involves specifying the endpoints, and I need assistance in ensuring that these endpoints are correctly configured. Below is an overview of the relevant configuration points: Thank you for your help. |
@ezopstheta the datadog exporter is part of the contrib distro https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v0.92.0/otelcol-contrib_0.92.0_linux_amd64.rpm, whereas you are using the core distro https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v0.92.0/otelcol_0.92.0_linux_amd64.rpm (note the -contrib) |
thats worked, thanks! |
Component(s)
exporter/datadog
Describe the issue you're reporting
After carefully reviewing and understanding the documentation, I proceeded to download and configure OpenTelemetry on the host machine running the Datadog agent. Following the download, I configured the .yaml file and executed the command 'otelcol --config=my_configuration_file.yaml.' Unfortunately, I encountered the following error after multiple attempts:
error decoding 'exporters': unknown type: "datadog" for id: "datadog" (valid values: [prometheus debug otlp file kafka opencensus prometheusremotewrite zipkin logging otlphttp])
I am currently debugging this issue to resolve it promptly.
YAML Configuration:
Note: The objective is to configure OpenTelemetry with Datadog to act as an intermediary for sending logs from Hasura Cloud for visualization in Datadog. The priority is to address the configuration issue with the Datadog exporter.
The text was updated successfully, but these errors were encountered: