Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Show timestamp on SingleStat #6710

Closed
PaulGrimshaw opened this issue Nov 25, 2016 · 11 comments
Closed

[Feature request] Show timestamp on SingleStat #6710

PaulGrimshaw opened this issue Nov 25, 2016 · 11 comments
Labels
area/panel/singlestat help wanted prio/low It's a good idea, but not scheduled for any release type/feature-request
Milestone

Comments

@PaulGrimshaw
Copy link

PaulGrimshaw commented Nov 25, 2016

image

We use Grafana for displaying weather measurements offshore. However these measurements commonly fall behind due to date collection issues. We show the latest recorded values using the SingleStat component, but what would be really useful is to see the timestamp that this value was recorded at, or even better a smart duration ("4min ago").

Our charts also show future data (forecasts) so it is hard to pick up whether the measurement has fallen behind or not.

Our datasource is influxdb

@inselbuch
Copy link

This is an excellent idea. And this could be implemented fairly easily. Where you can currently select the stat as "min,max,avg, etc." you could simply add another stat which is timestamp.

@aabrodskiy
Copy link

This would be awesome to have!

@geckogecko
Copy link

+1

1 similar comment
@neilchalk
Copy link

+1

@royemmerich
Copy link

Being able to alert if the time difference is greater than a certain period would be great to have too.

@torkelo torkelo added prio/low It's a good idea, but not scheduled for any release help wanted labels Aug 28, 2017
@torkelo
Copy link
Member

torkelo commented Sep 21, 2017

Implemented in #9298

You can now select "Time of last point" as Stat (ops there is no check that the last point is null, this needs to be filtered out in the query).

3 new unit date formats are available (no custom date formats)

image

@torkelo torkelo closed this as completed Sep 21, 2017
@torkelo torkelo added this to the 4.6/5.0 milestone Sep 21, 2017
@bergquist bergquist modified the milestones: 4.6/5.0, 4.6 Oct 12, 2017
@voiprodrigo
Copy link

Can this be used to define a threshold on the elapsed time since the time of the value?
I can use the From now date format, and that seems to translate fine, but I to have red/green/yellow depending on the number of seconds elapsed (now - time of value)

@inselbuch
Copy link

inselbuch commented Nov 19, 2017 via email

@alrghods
Copy link

+1

@vcandeau
Copy link

Hi,

Did you find some solution to get working threshold on (now - time of value)

Best regards,

@liamdiprose
Copy link

@vcandeau I think the plan is to rework the conditional formatting, which mentions support for "date and duration" values. #11418

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/panel/singlestat help wanted prio/low It's a good idea, but not scheduled for any release type/feature-request
Projects
None yet
Development

No branches or pull requests