You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
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?
I'm asking this is because I hope I can click on this URL and quickly switch over to Prometheus graph, but since it uses pod name, our DNS can't resolve it and so link can't open the link
Christian Hoffmann
unread,
Jun 12, 2020, 3:44:02 AM6/12/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haow...@gmail.com, promethe...@googlegroups.com
Hi,
sounds like you are looking for this command line parameter?
--web.external-url=<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 path
portion, it will be used to prefix all HTTP endpoints served by
Prometheus. If omitted, relevant URL components will be derived
automatically.