Re: [prometheus-users] generatorURL field in AlertManager

2020-06-16 Thread haowells
Thanks Christian! 在 2020年6月12日星期五 UTC+8下午3:44:02,Christian Hoffmann写道: > > Hi, > > sounds like you are looking for this command line parameter? > > --web.external-url= > The URL under which Prometheus is externally reachable (for example, if > Prometheus is served via a reverse proxy). U

Re: [prometheus-users] generatorURL field in AlertManager

2020-06-12 Thread Christian Hoffmann
Hi, sounds like you are looking for this command line parameter? --web.external-url= The URL under which Prometheus is externally reachable (for example, if Prometheus is served via a reverse proxy). Used for generating relative and absolute links back to Prometheus itself. If the URL has a

[prometheus-users] generatorURL field in AlertManager

2020-06-11 Thread 林浩
Hi, Is there is any way we can customize the field "generatorURL" , for example, replace pod name prometheus-84c7d47b68-t47m2 in the below example to a pod IP address? "generatorURL" : "http://prometheus-84c7d47b68-t47m2:9090/graph?g0.expr=ciaas_latest_pod_ready_time%7Bjob%3D%22assertion-po