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

Provide A "Connect Null Values" Option In State Timeline Visualization #36616

Open
lux4rd0 opened this issue Jul 9, 2021 · 2 comments
Open

Comments

@lux4rd0
Copy link

lux4rd0 commented Jul 9, 2021

What would you like to be added:

I would like to see an option added that allows for connecting null values as "Never, Always, Threshold" similar to how the Time series visualization works.

Why is this needed:

When dealing with event-based data sources like Grafana Loki, there can be gaps between states since there's potentially no "polling" being done by the collector to refresh a state within the $__interval Group By. In this example of viewing "Device On" or "Device Off" states - I want to connect each of the states rather than visible gaps (null values) between events.

Nulls:

nulls

Connected:

connected

Another example is where I'm mapping floats to integers for temperatures (one day we'll be able to round up floats to ints! :) )

(Here I've had to do a 6h LogQL interval but it's not accurate)

Loki Event Data - State Timeline

(Here with a more normal $interval usage in LogQL)

Loki Event Data - State Timeline (1m)

Would like to see this (all values connected mapped to values/colors):

connected_2

connected_3

Thanks!

@ryantxu
Copy link
Member

ryantxu commented Jul 9, 2021

Would be nice if we can reuse the same control we have in timeseries:
image

Copy link
Contributor

This issue has been automatically marked as stale because it has not had activity in the last year. It will be closed in 30 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!

@github-actions github-actions bot added the stale Issue with no recent activity label Jan 28, 2024
@leeoniya leeoniya removed the stale Issue with no recent activity label Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants