-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Observing Error posting hostname/tags series in Datadog exporter #26695
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Hi @narasimharaojm your config of
|
@songy23 The endpoints which I mentioned in exporter config were created and provided to us. |
@narasimharaojm in that case you need to set
|
@songy23 This is config we have for traces and metrics ingestion.
Could you pls let me know what config should I use to ingest traces with out getting Error posting hostname/tags series errors |
Please remove this line:
Please open a Datadog support ticket if the problem persists after you make the config change, and we'll get the correct team to look into it. |
@songy23 Thanks for the looking into and suggestion on config usage. I also observed timeout provided in exporter was too low. Hence, increased its value from 200ms to 1s.
I see now, key was getting successfully validated and no longer seeing Error posting hostname/tags series |
Component(s)
exporter/datadog
What happened?
Description
Observing Error posting hostname/tags series in Datadog exporter. While exporting traces in Datadog exporter, it was observed that api endpoint was malformed and resulting in errors posting hostname/tags series.
Steps to Reproduce
Exporter config used,
datadog:
api:
site: https://.api.datadoghq.com
key:
tls:
insecure_skip_verify: true
traces:
endpoint: https://.agent.datadoghq.com
sending_queue:
enabled: true
queue_size: 100000
num_consumers: 100
retry_on_failure:
enabled: false
Expected Result
We should not be seeing any errors due to malformed endpoint while attempting to send hostname/tag series
Actual Result
Sample Error,
2023-09-14T18:48:35.279Z error datadogexporter@v0.83.0/traces_exporter.go:172 Error posting hostname/tags series {"kind": "exporter", "data_type": "traces", "name": "datadog", "error": "Post "https://api.https//.api.datadoghq.com/api/v2/series": dial tcp: lookup api.https on 169.254.169.254:53: no such host"}
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter.(*traceExporter).exportUsageMetrics
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter@v0.83.0/traces_exporter.go:172
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter.(*traceExporter).consumeTraces
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter@v0.83.0/traces_exporter.go:130
go.opentelemetry.io/collector/exporter/exporterhelper.(*tracesRequest).Export
go.opentelemetry.io/collector/exporter@v0.83.0/exporterhelper/traces.go:59
go.opentelemetry.io/collector/exporter/exporterhelper.(*timeoutSender).send
go.opentelemetry.io/collector/exporter@v0.83.0/exporterhelper/common.go:197
go.opentelemetry.io/collector/exporter/exporterhelper.(*retrySender).send
go.opentelemetry.io/collector/exporter@v0.83.0/exporterhelper/queued_retry.go:355
go.opentelemetry.io/collector/exporter/exporterhelper.(*tracesExporterWithObservability).send
go.opentelemetry.io/collector/exporter@v0.83.0/exporterhelper/traces.go:126
go.opentelemetry.io/collector/exporter/exporterhelper.(*queuedRetrySender).start.func1
go.opentelemetry.io/collector/exporter@v0.83.0/exporterhelper/queued_retry.go:195
go.opentelemetry.io/collector/exporter/exporterhelper/internal.(*boundedMemoryQueue).StartConsumers.func1
go.opentelemetry.io/collector/exporter@v0.83.0/exporterhelper/internal/bounded_memory_queue.go:47
Collector version
v0.83.0
Environment information
Environment
OS: Ubuntu 20.04
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: