Re: [prometheus-developers] consul_exporter - Expose health statuses as values?

2021-09-02 Thread Matt Russi
The query syntax would not be drastically impacted (though I understand there is still a change). The significance would be a 75% reduction in the number of series generated by these metrics. Less to store and compute. *> "what fraction of nodes is down"* Current: count (consul_health_node_

Re: [prometheus-developers] Adding timestamps to Gauge Metric

2021-09-02 Thread Bjoern Rabenstein
On 31.08.21 04:27, Prince wrote: > > for NewMetricWithTimestamp(time.Time,metric) Is it compulsory that the > time should be in UTC? Short answer: No. The Go `time.Time` type includes the time zone. It can use any time zone. The library will then use the capabilities of the Go `time.Time` type