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=<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. > > Kind regards, > Christian > > > On 6/12/20 4:44 AM, 林浩 wrote: > > 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-pods%22%7D+%3D%3D+0&g0.tab=1" > > > > > > 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 > > > > -- > > 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] <javascript:> > > <mailto:[email protected] <javascript:>>. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/prometheus-users/76df5d08-4d28-47ff-9cc9-62725ee76aaco%40googlegroups.com > > > < > https://groups.google.com/d/msgid/prometheus-users/76df5d08-4d28-47ff-9cc9-62725ee76aaco%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/c5f166e0-de4a-4ff8-a035-241a7de9f586o%40googlegroups.com.

