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

observability_pipelines_worker.url/logs_dd_url - Url Suffix is ignored #34203

Open
PSeitz opened this issue Feb 19, 2025 · 0 comments
Open

observability_pipelines_worker.url/logs_dd_url - Url Suffix is ignored #34203

PSeitz opened this issue Feb 19, 2025 · 0 comments

Comments

@PSeitz
Copy link

PSeitz commented Feb 19, 2025

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

@PSeitz PSeitz changed the title observability_pipelines_worker url suffix is ignored observability_pipelines_worker.url/logs_dd_url - Url Suffix is ignored Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants