Hi next1009
If anything I believe the jagged lines in the graph will be due to the interval you set. For example you’re asking Grafana to retrieve from Prometheus the last 30 minutes of history at a 5 second resolution level. The tighter the resolution then the more data points and thus the more jagged your graph will look. If you set the interval to something higher, for example 1m or 5m does it smooth the line? Here is my 1s view:
Hi next1009 , sorry for the delay in response. I checked in our 1.7.0 release on your scrape frequency question and it appears that we are scraping
in our Low Resolution scrape interval, which is every 60 seconds by default.
[michael.coburn@pmmdemo ~]$ for s in lr mr hr ; do echo "Resolution: $s" ;curl -sk https://10.91.136.32:42002/metrics-${s} | grep thread_concurrency; done
Resolution: lr
# HELP mysql_global_variables_innodb_thread_concurrency Generic gauge metric from SHOW GLOBAL VARIABLES.
# TYPE mysql_global_variables_innodb_thread_concurrency gauge
mysql_global_variables_innodb_thread_concurrency 0
Resolution: mr
Resolution: hr
[michael.coburn@pmmdemo ~]$