[prometheus-users] Prometheus and metric_relabel_configs

2020-08-15 Thread Thomas Berger
Hello everybody, with the exporters i get a large number of metrics. However, I don't need all of them. I don't want to save these and remove them from the DB. This is described in the documentation with metric_relabel_configs. Example to remove all go:. * metrics: metric_relabel_configs:

Re: [prometheus-users] SNMP collected value shows up under label and not the metric value

2020-08-15 Thread Ben Kochie
Interesting, the OID is defined as a "DellPowerReading" drsWattsReading OBJECT-TYPE SYNTAX DellPowerReading ACCESS read-only STATUS mandatory DESCRIPTION "0004.0001.0001.0013 This attribute defines the instantaneous chassis power usage (in Watts)."

[prometheus-users] SNMP collected value shows up under label and not the metric value

2020-08-15 Thread Linkoid01
Hello, I am trying to collect the power consumption for a Dell chassis server. I have the following SNMP oid that I am using successfuly by performing an snmpwalk: oid: *1.3.6.1.4.1.674.10892.2.4.1.1.13* name: *drsWattsReading* This is what I get when performing a snmpwalk on the Dell chassis se

Re: [prometheus-users] the timestamp of data points in prometheus

2020-08-15 Thread Stuart Clark
Prometheus should take into account the time taken to complete the scrape. But for a very overloaded server anything could happen. Note that where you have multiple things to scrape Prometheus will try to spread things over the scrape period. For example with 10 targets being scraped every 2 mi

Re: [prometheus-users] Openstack exporter Query

2020-08-15 Thread Michael Wagner
Hey Saurabh, can you provide the exporter you use and its version? There are multiple openstack exporters and without a version it's hard to tell the exact solution. However, as I recently looked into the codebase the metric describes that the neutron service can't be reached. As I recall it is

Re: [prometheus-users] the timestamp of data points in prometheus

2020-08-15 Thread 何吉林
thanks a lot, another question, Assume the scrape interval is 2m. Prometheus should send GET at *0m, 2m, 4m*. if Prometheus server scrape data from many instance and promethes server is very busy, is it possible that the time the GET is sent is *15s, 2m30s, 4m35s*。 在 2020年8月15日星期六 UTC+8

Re: [prometheus-users] Prometheus generate status metric (Value: 0, 1, 2, 3)

2020-08-15 Thread Thomas Berger
I do that too. However, so far I've only ever copied the panel. I haven't created a template in Grafana yet. Whats the best way to do this? laurent...@gmail.com schrieb am Samstag, 15. August 2020 um 00:29:54 UTC+2: > You could use a templated tile. You have a variable that represents every > sy

Re: [prometheus-users] the timestamp of data points in prometheus

2020-08-15 Thread Ben Kochie
The timestamp Prometheus attaches to scrapes is the timestamp the start of the scrape, basically the time the GET is sent to the target. This eliminates the metric scrape latency from the system. On Sat, Aug 15, 2020 at 4:01 AM 何吉林 <1724010...@qq.com> wrote: > *dear all, I have a question. I woul