Thanks, very much. I got it. On Tue, Jan 17, 2023 at 11:10 AM Brian Candler <[email protected]> wrote:
> Prometheus doesn't care what IP address it listens on, and as far as I > know nor does Grafana. If they are running in the same VM, and Grafana is > pointing to http://127.0.0.1:9090 to query Prometheus, then it won't even > notice the change. > > The things which will will make a difference are: > - if you change the IP addresses of the targets that are being scraped > - if the targets are using firewall rules or ACLs to accept scrapes only > from a particular IP address > - if the targets are configured to use Remote Write to connect actively to > the Prometheus server on its IP address (this is a relatively unusual > configuration) > - if anything else connects to Prometheus to query it > > Issues about Grafana specifically would best be addressed to the Grafana > community <https://community.grafana.com/>. > > On Tuesday, 17 January 2023 at 10:04:46 UTC [email protected] wrote: > >> Hi Lads, >> >> I am a bit new in this field. I have implemented a grafana server with >> prometheus and alertmanager install and all works fine. But now we are >> thinking of moving from the subnet where the grafana and prometheus are >> installed to a new subnet (to change IP address). >> >> my question is does anybody have an idea on this or Does the changing IP >> address affect the operation of prometheus and grafana? >> >> (all prometheus and grafana are install in one vm) >> >> >> Thanks in advance >> > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/b3bddde6-0970-4f58-8061-579d54b0d905n%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/b3bddde6-0970-4f58-8061-579d54b0d905n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAKEk2g02_hLgidzD3mVR_Tun9sOhYFSAjfC-zJxOz9F36f21iQ%40mail.gmail.com.

