My purpose is because there are so many indicators, I need to know that
some indicators suddenly decrease, hoping to know the specific indicator
name, so I use sum_over_time(isphone{name="qq",exname!~"test|test1"}[5m
])-sum_over_time(isphone{name="qq",exname!~"test|test1"}[5m])offset 5m)。

Brian Candler <[email protected]> 于2020年10月16日周五 下午3:05写道:

> The recommended way to do this is:
> - run your collection script every 5 minutes, e.g. as a cron job
> - write the results to a text file which is picked up by node_exporter
> textfile collector
>
> You can then scrape the data as often as you like, from as many prometheus
> servers as you like.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Prometheus Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/prometheus-users/yS43RBTGls4/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/c6aaaa78-2008-4fa1-9968-943d3256eef9o%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/c6aaaa78-2008-4fa1-9968-943d3256eef9o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAO63JBa7sPW8ZAc7%2BROEDV90wEbsyvzrcn2qipiUdVpJpyG6jw%40mail.gmail.com.

Reply via email to