Metrics( this will send me back to http://servername/(9090 or 9100)/metrics. Is this correct. Shouldnt i see the data that i am collecting instead.
i have also tested with port 9116
Thx for your help in advance
Hi,Below is my prometheus.yml file. I have the metrics_path set to /node and /snmp.scrape_configs:- job_name: 'prometheus'scrape_interval: 5sstatic_configs:- targets: ['localhost:9090']metrics_path: /node
- job_name: 'node_exporter'scrape_interval: 5sstatic_configs:- targets: ['localhost:9100']- job_name: 'floor_switches'scrape_interval: 1mstatic_configs:- targets: ['192.168.2'.45, '192.168.2'.46']metrics_path: /snmpparams:module: [if_mib,cisco_wlc]relabel_configs:- source_labels: [__address__]target_label: __param_target- source_labels: [__param_target]target_label: instance- target_label: __address__replacement: 127.0.0.1:9116 # SNMP exporterWhen i go to http://servername/(9090 or 9100)/(node or snmp) i get a page that says.Metrics( this will send me back to http://servername/(9090 or 9100)/metrics. Is this correct. Shouldnt i see the data that i am collecting instead.
i have also tested with port 9116
Thx for your help in advance
--
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/dd67a53d-ed64-41d5-a3ec-417e6990d9d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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/dd67a53d-ed64-41d5-a3ec-417e6990d9d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ok i set it back to /metrics. thx for clarifying that.what is the point of setting the metrics path /something . i thought it was so you can see the metrics being collected by the jobs
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/986af4a7-a445-4b43-bdf7-c46d923eaf84%40googlegroups.com.