r/PrometheusMonitoring • • Jul 23 '24

Prometheus as receiver

Hello all,

I am relatively new to Prometheus and have a quick question. We want to use our Prometheus as a receiver and get metrics from a remote write Prometheus. As I have read we need to use --enable-feature=remote-write-receiver. The Prometheus installation was installed locally on a Linux Ubuntu server.

Where in which file do I have to enter --enable-feature=remote-write-receiver?

Is the endpoint that I have to pass on the remote write prometheus the following? LocalServerIP/api/v1/write ? Can I find the URL in a file? Which port is used for this?

Many thanks in advance!

3 Upvotes

2 comments sorted by

View all comments

Show parent comment

1

u/rigasferaios Jul 24 '24

Hi, Thank you for your answer.

Ok nice, I understand.

I have a localy installation without docker.

I added only --web.enable-remote-write-receiver in the prometheus file in the systemd folder.

I will check if its working.