Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upweb.console.templates is not overridden by passed argument #1700
Comments
This comment has been minimized.
This comment has been minimized.
|
This is working correctly for me on 0.18.0 and 0.19.2. Are you sure you're talking to the Prometheus you think you're talking to? |
This comment has been minimized.
This comment has been minimized.
|
Strange... I am using the docker and deployments scripts for kubernetes cluster. For web.console.libraries flag I do not have any problems. Dockerfile COPY prometheus.yaml /etc/prometheus/prometheus.yml VOLUME [ "/prometheus" ] EXPOSE 9090 Container |
This comment has been minimized.
This comment has been minimized.
|
Hi, Maybe it will sound stupid by changed the order of passed parameters and after that web.console.templates flag has been overridden. Sorry for raising not necessary ticket. |
anioool
closed this
Jun 3, 2016
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
anioool commentedJun 2, 2016
Hi,
I planed to add node extractor and use the default templates for that. I tried to call the template but I am receiving the same error - files don't exist. I checked the command line flags and I found that flag web.console.templates contains default value instead of value which i passed in command line.
I am executing prometheus by using following commad:
/bin/prometheus -config.file=/etc/prometheus/prometheus.yml \ -storage.local.path=/prometheus \ -alertmanager.url=http://localhost:9093 \ -web.console.libraries=/etc/prometheus/console_libraries \ -web.console.templates=/etc/prometheus/consoles \ -logtostderrTested with versions : 0.18.0 and 0.19.2