Grafana with Infinity and server api
-
Hi,
Started migrating our Grafana to Infinity and new server api.
Saw the techtalk video on youtube and the blog post nice work.One thing i noticed was that you use $__from/1000 and $__to/1000 for seconds and was having issue it not working, found that Grafana has these variables i guess they are cleaner to use ${__from
seconds} and ${__to
seconds}Also trying to get relative time to work, i have dashboard on last 30min beacuse they are used on TV screens but some DCI just collects once a day and i have 12h relative on them, tried ${__from
seconds}-43200 but does not seem to work i get all 3 days that are in history.is it supposed to calc before query or send it to api? URL is ?timeFrom=1760509472-43200&timeTo=1760511272
Running 5.2.6 and latest Inifinity
-
Actually when i think about it would be great if there is a parameter for objects history that just returns latest value regardless of time. That would solve a lot of time related challenges we have in Grafana for dashboards with lots of values with first calculation option.
Edit:
found it maxRows=1
-
-
You can issue a token from Users and groups by right-clicking on a user.
-
-
I've checked (but on 5.2.8) - token survived server restart. You can check if your token appears in auth_tokens DB table.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login