-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
I try to let the agent send logs with the observability_pipelines_worker option to following url http://localhost:7280/api/v1/datadog_agent/datadog-op-pomchi/, but it seems to get truncated to http://localhost:7280.
I would expect the agent to try to send the logs to: http://localhost:7280/api/v1/datadog_agent/datadog-op-pomchi/api/v2/logs, but the suffix seems to be ignored and sent to http://localhost:7280/api/v2/logs instead. (The api/v2/logs suffix is expected).
Config:
observability_pipelines_worker:
logs:
enabled: true
url: "http://localhost:7280/api/v1/datadog_agent/datadog-op-pomchi/"
Logs:
2025-02-19 14:14:04 CET | CORE | WARN | (pkg/logs/client/http/destination.go:245 in sendAndRetry) | http://localhost:7280/api/v2/logs: sleeping until 2025-02-19 14:14:17.294325283 +0100 CET m=+31.555872242 before retrying. Backoff duration 12.915668283s due to 4 errors
2025-02-19 14:14:04 CET | CORE | WARN | (pkg/logs/client/http/destination.go:260 in sendAndRetry) | Could not send payload: server error
}
"message": "Route not found"
2025-02-19 14:14:04 CET | CORE | WARN | (pkg/logs/client/http/destination.go:352 in unconditionalSend) | failed to post http payload. code=404 host=localhost response={
Agent Version: 7.62.2
Update: Same behavior with the logs_dd_url setting
Reactions are currently unavailable