Re: [prometheus-users] Invalid duration in Prometheus rules

2021-01-26 Thread Tom Gregory
you probably just > need to upgrade :) > > Regards, > Julius > > On Mon, Jan 25, 2021 at 1:30 PM Tom Gregory wrote: > >> To keep things clean, I want to use the duration format suggested in this >> article >> <https://prometheus.io/docs/prometheus/latest/

[prometheus-users] Invalid duration in Prometheus rules

2021-01-25 Thread Tom Gregory
To keep things clean, I want to use the duration format suggested in this article in my Prometheus rule configuration e.g. 1h30m My complete rule configuration then looks like this: groups: - name: general

Re: [prometheus-users] Uptime when no up metric is available

2021-01-15 Thread Tom Gregory
Thanks Stuart. I switched to relabel_config and now all good. On Thu, 14 Jan 2021, 21:05 Stuart Clark, wrote: > On 13/01/2021 20:31, Tom Gregory wrote: > > Hi Stuart. The metrics are coming from different scrapes. Each service is > a different endpoint. > > I'm doing the

Re: [prometheus-users] Uptime when no up metric is available

2021-01-13 Thread Tom Gregory
Hi Stuart. The metrics are coming from different scrapes. Each service is a different endpoint. I'm doing the relabelling using *metric_relabel_configs.* Is this the right approach? Regards, *Tom Gregory* On Wed, 13 Jan 2021 at 17:28, Stuart Clark wrote: > On 2021-01-13 16:11,

Re: [prometheus-users] Uptime when no up metric is available

2021-01-13 Thread Tom Gregory
ally important using visualisation tools like Grafana (imagine a *service *drop down box). On Wednesday, 13 January 2021 at 14:13:27 UTC Stuart Clark wrote: > On 2021-01-13 13:55, Tom Gregory wrote: > > I'm using Prometheus federation i.e. I'm ingesting metrics from one > > Prometh

[prometheus-users] Uptime when no up metric is available

2021-01-13 Thread Tom Gregory
I'm using Prometheus federation i.e. I'm ingesting metrics from one Prometheus to another. To do some relabelling I'm using *metric_relabel_configs*. According to the docs : *Metric relabelling