open consoles/index.html.example: no such file or directory
Here is how I started the docker container:
docker run --net host -d -v /prometheus-data:/prometheus-data prom/prometheus -config.file=/prometheus-data/prometheus.yml -alertmanager.url http://localhost:9093 -storage.local.path /prometheus-data/data
Just to confirm, I checked the flags from the UI:
| web.console.libraries | console_libraries |
|---|---|
| web.console.templates | consoles |
Am I doing something wrong?
--
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 prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/a695932c-0d2a-4f81-8ff5-4f51a7ed4613%40googlegroups.com.
This works fine for me, at least when doing just:docker run -p 9090:9090 prom/prometheus:v1.6.1...I can reach http://localhost:9090/consoles/index.html.example just fine and it displays the console templates.On Fri, Apr 28, 2017 at 4:23 AM, <tbo...@nsone.net> wrote:Ummm, Ignore the title of the thread, I forgot to change that to reflect current reality.
On Thursday, April 27, 2017 at 10:23:07 PM UTC-4, tbo...@nsone.net wrote:Using the 1.6.1 docker image for prometheus, this is the error I'm seeing when trying to view the example console http:<hostname>:9090/consoles/index.html.example:open consoles/index.html.example: no such file or directoryHere is how I started the docker container:docker run --net host -d -v /prometheus-data:/prometheus-data prom/prometheus -config.file=/prometheus-data/prometheus.yml -alertmanager.url http://localhost:9093 -storage.local.path /prometheus-data/dataJust to confirm, I checked the flags from the UI:
web.console.libraries console_libraries web.console.templates consoles Am I doing something wrong?
--
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 prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/a695932c-0d2a-4f81-8ff5-4f51a7ed4613%40googlegroups.com.
docker run --net host -d -v /prometheus-data:/prometheus-data prom/prometheus -config.file=/prometheus-data/prometheus.yml -alertmanager.url http://localhost:9093 -storage.local.path /prometheus-data/data -web.console.templates /usr/share/prometheus/consoles/ -web.console.libraries /usr/share/prometheus/console_libraries
Thus, I add only "-web.console.templates /usr/share/prometheus/consoles/ -web.console.libraries /usr/share/prometheus/console_libraries"