"Context deadline exceeded" would not stop prometheus from starting.  If 
the problem really is that the prometheus server is shutting down, then 
there will be some other error message logged.

The formatting of the config file you posted was lost, and in particular, 
the metrics_path is placed wrongly (it should align with job_name and 
static_configs).  Hence the "scrape_configs" section should look something 
like this:

  - job_name: 'prometheus'
    static_configs:
      - targets: ['localhost:9090']

  - job_name:'product' 
    static_configs: 
      - targets: ['localhost:4437'] 
    metrics_path: '/metrics-text'

-- 
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/800e7083-df8c-44f0-8184-240c8f7ba1c6o%40googlegroups.com.

Reply via email to