On 05/01/2023 18:12, Gaurav Nagarkoti wrote:
hi everyone,

w.r.t. Prometheus stateful set deployment I'm receiving the following error within logs

/*level=error msg="Error loading config (--config.file=/etc/prometheus-shared/prometheus.yaml)" file=/etc/prometheus-shared/prometheus.yaml err="open /etc/prometheus-shared/prometheus.yaml: no such file or directory"*/
/*
*/

  * would like to know the probable cause for the same
      o places to check
  * troubleshooting steps forĀ  resolving the same
  * any workaround

As the error message says the file prometheus.yaml in the directory /etc/prometheus-shared doesn't exist, which is the configuration file for Prometheus.

You need to either ensure the file does exist at that location or adjust the command line to give the correct location if different.

--
Stuart Clark

--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/17b0538a-5c8d-6964-3032-fb0a8589d64b%40Jahingo.com.

Reply via email to