Dashboards & Visualizations

Singal value - Jumping to 0 and then back to correct value on dashboard

robertlynch2020
Motivator

Hi 

I have a signal that I am updating every 5 seconds, but it jumps to 0 every now and again.

The issue is a user can read this and think all the processes are gone off the system

What it should look like

robertlynch2020_1-1627383060230.png

This happens every now and again, So how do I get it to wait for the job to be 100% finished before it updates the answer?

robertlynch2020_0-1627383035007.png

 

 <panel>
      <single>
        <search>
          <query>| mstats max("mx.process.cpu.utilization") as cpuPerc WHERE "index"="metrics_test" AND mx.env=http://mx20267vm:15000 span=2m BY pid cmd process.name service.type host.name service.name 
| table _time pid 
| stats count(pid) as Cnt by _time 
| table _time Cnt 
| timechart max(Cnt) span=2m</query>
          <earliest>-1h</earliest>
          <latest>now</latest>
          <sampleRatio>1</sampleRatio>
          <refresh>5s</refresh>
          <refreshType>delay</refreshType>
        </search>

 

Labels (1)
0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!