# Why is the picture changing so much every time refresh?

**URL:** https://forums.percona.com/t/why-is-the-picture-changing-so-much-every-time-refresh/6810
**Category:** PMM 1.x
**Created:** [January 23, 2019, 1:02am UTC](https://forums.percona.com/t/why-is-the-picture-changing-so-much-every-time-refresh/6810 "2019-01-23T01:02:42Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Fan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/fan/32/40_2.png) [@Fan](https://forums.percona.com/u/Fan)
#### Post date: [January 23, 2019, 1:02am UTC](https://forums.percona.com/t/why-is-the-picture-changing-so-much-every-time-refresh/6810/1 "2019-01-23T01:02:42Z")

</div>

This problem was actually discovered in a very early version. I really can’t stand it today.  
see pic, refresh 3 times, 3 different grah

![photoid=53400](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/e/e9c1b52fa27286ed6512d2584356e0822dc1394a.png)

![photoid=53401](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/c/ca32950956f41987588aade56ddcca7a0270ce00.png)

![photoid=53402](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/2/24eec6ef2fd2f03f246edda94a9c3480be57c116.png)

![photoid=53403](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/c/c92de62565c30523494811f56caf776746aba7b2.png)

---

<div class="post-metadata">

### Author: ![Roma\_Novikov](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/roma_novikov/32/1161_2.png) [@Roma\_Novikov](https://forums.percona.com/u/Roma_Novikov)
#### Post date: [January 23, 2019, 2:18pm UTC](https://forums.percona.com/t/why-is-the-picture-changing-so-much-every-time-refresh/6810/2 "2019-01-23T14:18:13Z")

</div>

Hi [Fan](https://percona.vanillacommunities.com/profile/x/x/41523) !  
It’s good to see you again )  
Can you do our search simpler and let us know What Dashboard and Panel and what “interval” selected?

Thanks!

---

<div class="post-metadata">

### Author: ![Fan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/fan/32/40_2.png) [@Fan](https://forums.percona.com/u/Fan)
#### Post date: [January 23, 2019, 9:03pm UTC](https://forums.percona.com/t/why-is-the-picture-changing-so-much-every-time-refresh/6810/3 "2019-01-23T21:03:28Z")

</div>

> [@roma.novikov;53408](#):
>
> Hi [Fan](https://percona.vanillacommunities.com/profile/x/x/41523) !  
> It’s good to see you again )  
> Can you do our search simpler and let us know What Dashboard and Panel and what “interval” selected?
> 
> Thanks!

Hi [roma.novikov](https://percona.vanillacommunities.com/profile/x/x/33948) !  
Yesterday’s picture is my own dashboard, actually copying the mysql overview-\>mysql client thread acitivity json code,the interval is 5s, refresh every 10s.  
Today I intercepted a gif and you can see the curve change of the mysql question panal(from the mysql overview dashboard), interval is auto, refresh every 5s

![photoid=53410](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/f/f27b0af1f322270d8207e9e66605e807f2b79f40.gif)

---

<div class="post-metadata">

### Author: ![Fan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/fan/32/40_2.png) [@Fan](https://forums.percona.com/u/Fan)
#### Post date: [January 23, 2019, 9:11pm UTC](https://forums.percona.com/t/why-is-the-picture-changing-so-much-every-time-refresh/6810/4 "2019-01-23T21:11:26Z")

</div>

The picture is compressed, watch the video.  
[url][Sina Visitor System](http://t.cn/E5uRhEa?m=4331936409344895&u=1278787855%5B/url%5D)

---

<div class="post-metadata">

### Author: ![Roma\_Novikov](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/roma_novikov/32/1161_2.png) [@Roma\_Novikov](https://forums.percona.com/u/Roma_Novikov)
#### Post date: [January 24, 2019, 1:40am UTC](https://forums.percona.com/t/why-is-the-picture-changing-so-much-every-time-refresh/6810/5 "2019-01-24T01:40:58Z")

</div>

I can’t load the gif but can see what you are getting on [url][https://pmmdemo.percona.com/graph/d/MQWgroiiz/mysql-overview?refresh=10s&panelId=10&fullscreen&orgId=1&from=now-15m&to=now&var-interval=5s&var-host=ps57[/url]](https://pmmdemo.percona.com/graph/d/MQWgroiiz/mysql-overview?refresh=10s&panelId=10&fullscreen&orgId=1&from=now-15m&to=now&var-interval=5s&var-host=ps57%5B/url%5D)

The reason is - how Prometheus calculating and Grafana passing intervals. (this will be changed in future versions)  
SO every 10 sec 5 sec internal moved to 5 sec and max and average values are different

If you select 1 sec interval - everything will be better )  
or if you’ll have a longer interval

---

<div class="post-metadata">

### Author: ![Fan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/fan/32/40_2.png) [@Fan](https://forums.percona.com/u/Fan)
#### Post date: [January 26, 2019, 12:35am UTC](https://forums.percona.com/t/why-is-the-picture-changing-so-much-every-time-refresh/6810/6 "2019-01-26T00:35:31Z")

</div>

> [@roma.novikov;53412](#):
>
> I can’t load the gif but can see what you are getting on [https://pmmdemo.percona.com/graph/d/MQWgroiiz/mysql-overview?refresh=10s&panelId=10&fullscreen&orgId=1&from=now-15m&to=now&var-interval=5s&var-host=ps57](https://pmmdemo.percona.com/graph/d/MQWgroiiz/mysql-overview?refresh=10s&panelId=10&fullscreen&orgId=1&from=now-15m&to=now&var-interval=5s&var-host=ps57)
> 
> The reason is - how Prometheus calculating and Grafana passing intervals. (this will be changed in future versions)  
> SO every 10 sec 5 sec internal moved to 5 sec and max and average values are different
> 
> If you select 1 sec interval - everything will be better )  
> or if you’ll have a longer interval

I understand, Thank you [roma.novikov](https://percona.vanillacommunities.com/profile/roma-novikov)
