I'm monitoring a Cisco ASR9000 with snmp-exporter, and I'm getting the following weird oddity in my monitoring via grafana with a prometheus backend.
The queries aren't anything special
irate(ifHCInOctets{job="cisco",alias=~"Physical-WAN.*", instance="172.16.0.136"}[2m])*8
and
irate(ifHCOutOctets{job="cisco",alias=~"Physical-WAN.*", instance="172.16.0.136"}[2m])*8*-1
What could be causing this and is their anyway to smooth it out (i normally have a lower resolution set 1/4, but set it to 1/1 cause then the peaks and valleys are next to each other at 1/4 they are spaced separate.
--
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/c352ba99-b196-4a42-a921-7db72452fb07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On 18 July 2018 at 16:45, <cch...@gmail.com> wrote:I'm monitoring a Cisco ASR9000 with snmp-exporter, and I'm getting the following weird oddity in my monitoring via grafana with a prometheus backend.
The queries aren't anything special
irate(ifHCInOctets{job="cisco",alias=~"Physical-WAN.*", instance="172.16.0.136"}[2m])*8
and
irate(ifHCOutOctets{job="cisco",alias=~"Physical-WAN.*", instance="172.16.0.136"}[2m])*8*-1
What could be causing this and is their anyway to smooth it out (i normally have a lower resolution set 1/4, but set it to 1/1 cause then the peaks and valleys are next to each other at 1/4 they are spaced separate.
When using irate you need to be careful that you are fully zoomed in so that you don't miss data points. For the graph below I doubt this is the case, so you probably should be using rate() instead.These are true spikes from the Prometheus standpoint, but seem a bit odd so either you've a regular spike that's aligning with the step here so you're seeing it correctly or the device is doing some caching. I'd suggest zooming in to help see exactly what's causing it.Brian
--
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-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/c352ba99-b196-4a42-a921-7db72452fb07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Switching to rate, got rid of the spikes, but i still see dips, just not as insanely big, when you say "completely zoomed in" what do you mean exactly?
On Wed, 18 Jul 2018 at 11:52, Brian Brazil <brian.brazil@robustperception.io> wrote:
On 18 July 2018 at 16:45, <cch...@gmail.com> wrote:I'm monitoring a Cisco ASR9000 with snmp-exporter, and I'm getting the following weird oddity in my monitoring via grafana with a prometheus backend.
The queries aren't anything special
irate(ifHCInOctets{job="cisco",alias=~"Physical-WAN.*", instance="172.16.0.136"}[2m])*8
and
irate(ifHCOutOctets{job="cisco",alias=~"Physical-WAN.*", instance="172.16.0.136"}[2m])*8*-1
What could be causing this and is their anyway to smooth it out (i normally have a lower resolution set 1/4, but set it to 1/1 cause then the peaks and valleys are next to each other at 1/4 they are spaced separate.
When using irate you need to be careful that you are fully zoomed in so that you don't miss data points. For the graph below I doubt this is the case, so you probably should be using rate() instead.These are true spikes from the Prometheus standpoint, but seem a bit odd so either you've a regular spike that's aligning with the step here so you're seeing it correctly or the device is doing some caching. I'd suggest zooming in to help see exactly what's causing it.Brian
--
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/c352ba99-b196-4a42-a921-7db72452fb07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On 18 July 2018 at 18:12, Chris C. <cch...@gmail.com> wrote:Switching to rate, got rid of the spikes, but i still see dips, just not as insanely big, when you say "completely zoomed in" what do you mean exactly?That your step is no greater than your scrape interval.Brian
On Wed, 18 Jul 2018 at 11:52, Brian Brazil <brian....@robustperception.io> wrote:
On 18 July 2018 at 16:45, <cch...@gmail.com> wrote:I'm monitoring a Cisco ASR9000 with snmp-exporter, and I'm getting the following weird oddity in my monitoring via grafana with a prometheus backend.
The queries aren't anything special
irate(ifHCInOctets{job="cisco",alias=~"Physical-WAN.*", instance="172.16.0.136"}[2m])*8
and
irate(ifHCOutOctets{job="cisco",alias=~"Physical-WAN.*", instance="172.16.0.136"}[2m])*8*-1
What could be causing this and is their anyway to smooth it out (i normally have a lower resolution set 1/4, but set it to 1/1 cause then the peaks and valleys are next to each other at 1/4 they are spaced separate.
When using irate you need to be careful that you are fully zoomed in so that you don't miss data points. For the graph below I doubt this is the case, so you probably should be using rate() instead.These are true spikes from the Prometheus standpoint, but seem a bit odd so either you've a regular spike that's aligning with the step here so you're seeing it correctly or the device is doing some caching. I'd suggest zooming in to help see exactly what's causing it.Brian
--
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-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/c352ba99-b196-4a42-a921-7db72452fb07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.