Skip to content

intermittent "No Data" in Graphana #116

Answered by David00
ejg3855 asked this question in Q&A
Discussion options

You must be logged in to vote

Looking a bit more closely at your API request, it could just be that the time range is too short:

"range": {
"from": "2023-11-13T19:30:16.435Z",
"to": "2023-11-13T19:30:21.435Z",
"raw": {
"from": "now-5s",
"to": "now"
}

I'm referring to the now-5s part specifically. The power monitor takes readings quicker than that, but it actually caches 25 readings and then writes them as a batch to reduce overheard and wear and tear on the microSD card. So, the actual database might not have any update for about 20-30 seconds, but when it gets updated, that 20-30 second gap will get filled in.

Can you try increasing the time range to now-30s? That will give you multiple results, so you might also wa…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@David00
Comment options

Answer selected by ejg3855
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants