instana / instana-grafana-datasource

🔭 Grafana datasource plugin for Instana
https://grafana.com/plugins/instana-datasource
Apache License 2.0
38 stars 20 forks source link

Call count (total) only consistent when rollup=1000 #3

Closed julia-leyton closed 6 years ago

julia-leyton commented 6 years ago

Instana datasource version: 1.0.1

Expected result: Singlestat widget displaying Call Count (Total) for a WebService

Result: Total calls for a period of time only works if queries use rollup=1000

Example:

I think there's a factor missing (for rollup=1000 the factor is 1 so it is still consistent)

When multiplying the other results for the number of seconds: (385x5) and (360x60) the results are consistent.

Could you please check this? Thanks in advance!

Julia

JeroenSoeters commented 6 years ago

Hi Julia,

Can you please check how the dashboard is configured? In the options tab of the SingleStat widget you can specify an aggregation function under "Stat" (the first option). Can you verify that this is set to "Total" and possible make a screenshot of your dashboard configuration? It looks like it's displaying an average instead of a total.

Jeroen

julia-leyton commented 6 years ago

Hi Jeroen,

Sure, I just checked and it is set to total.

Here the screenshots and also the json(as txt, I only replaced the entityQuery value), please let me know if i'm missing something

Pruebas Datasource-1523408514396.txt screen shot 2018-04-10 at 22 00 04 screen shot 2018-04-10 at 22 00 50 screen shot 2018-04-10 at 22 01 24

I also tried with other tenants and observed the same behaviour.

Best! Julia

JeroenSoeters commented 6 years ago

Thanks for this info, I will investigate and get back to you.

Jeroen

julia-leyton commented 6 years ago

This was fixed in 1.0.2 Thanks again!