Error while doing remote write

33 views
Skip to first unread message

sri L

unread,
Aug 7, 2023, 5:39:16 AM8/7/23
to Prometheus Users
Hi all,

I am trying to do remotewrite from Prometheus to cortex but getting below error. Can anyone please suggest how to solve this, thanks 

component=remote level=error remote_name=af04b2 url=http://abc/push msg="non-recoverable error while sending metadata" count=172 err="server returned HTTP status 404 Not Found: <html>"

Brian Candler

unread,
Aug 7, 2023, 1:45:27 PM8/7/23
to Prometheus Users
The error message is very clear. You have tried to POST to a URL http://abc/push, and you're getting a 404 Not Found back: i.e. the server doesn't have any resource at the path "/push"

According to the API docs, the correct path is /api/v1/push

Reply all
Reply to author
Forward
0 new messages