-
What Grafana version and what operating system are you using?
Grafana v10.4.1 -
What are you trying to achieve?
One panel showing total transactions since 00:00h today, one panel showing Transactions per Second. Both time series panels I suppose. -
How are you trying to achieve it?
The payment application is sending data to telegraf, telegraf does aggregation and then telegraf sends that data to grafana (opentelemetry to mimir I think). -
What happened?
I initiated 160 transactions from my payment application. Then I checked my telegraf (which was on debug) where aggregation happens every 15 seconds, and the data output stream there looked good to me: -
count=12
-
count=31
-
count=29
-
count=31
-
count=29
-
count=28
Then I checked in Grafana table view, but there I see this:
The last value received keeps repeating.
-
What did you expect to happen?
I expected it to show no values or 0 values for all timestamps that have no data. -
Can you copy/paste the configuration(s) that you are having problems with?
n.a. -
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
no -
Did you follow any online instructions? If so, what is the URL?
no, just tried it on my own. -
My questions
I could configure telegraf so that it sends 0 values for all clients for all statistics every 15 seconds if there are no values, but that feels like a suboptimal solution. I don’t know whether the last value actually keeps getting replicated or whether Grafana is just showing me the last value because there are no values for these data points. I’m really just looking for two panels that show the values I’m expecting so I have a starting point. My questions are:
- How would you create a panel to show the total number of transactions processed today? Ideally it shows the progression over time.
- How would you create a panel that shows the latest known Transaction Per Second? Again, ideally one that shows historical data as well. Is it maybe just taking the last value and dividing it by 15?
Thanks for your time!