Is auth needed for remote write receiver

53 views
Skip to first unread message

Shi Yan

unread,
Jul 28, 2022, 10:01:08 AM7/28/22
to Prometheus Users
Hello all

Want to configure a local prometheus(prom1) remote write to another prometheus instance(prom2).
But looks there is no clear configuration example I can find.

I can see the 401 Unauthorized error from prom1 but I actually did not enable the auth in prom2, which is behind the apache server with https.

I just added remote write url config in prom1 and enabled remote-write-receiver in prom2,
Wonder maybe something is missing here?

Really appreciate your help!

Shi Yan

unread,
Aug 1, 2022, 10:05:33 AM8/1/22
to Prometheus Users
Answered my own thread, so people don't get confused.

The auth issue is not related to Prometheus, it is due to the apache setting.

Reply all
Reply to author
Forward
0 new messages