Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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: Query time shift / specify time interval #50

Closed
p4block opened this issue Mar 22, 2021 · 1 comment
Closed

Feature request: Query time shift / specify time interval #50

p4block opened this issue Mar 22, 2021 · 1 comment
Labels
type/feature-request Requested new feature or enhancement

Comments

@p4block
Copy link

p4block commented Mar 22, 2021

In our old data visualization system (a bunch of JS and HighCharts) we split the time series into multiple ones by their year, so we could plot a year-over-year chart

image
Like this

I'm thinking how I could replicate a similar thing in Grafana and the built-in timeshift feature was implemented by the datasource. I would probably try stacking multiple -1y, -2y, -3y etc queries. It would be manual, but it would work.

Outputting multiple time series directly by a specified time interval would be best but I don't know if that would be outside scope of this plugin.

(The new Grafana time series transformations could have something like this but as far I can see, they don't in their current featureset. In fact, they seem to be made with the opposite idea: merging series. )

@marcusolsson
Copy link
Contributor

Splitting query results into multiple series is something that's been requested for my other data source as well. This will definitely happen as soon as I figure out the UX for it. Ideally I'd like for the data sources to work for any data—not only time series.

When it comes to time shifts, I believe this is a generic feature to all data sources which means there's a chance we'll see improved support in Grafana itself. While I recognize that it would be a useful feature, I probably will be prioritizing feature that are more specific to this plugin. I might reconsider if this turns out to be frequented requested.

@marcusolsson marcusolsson added the type/feature-request Requested new feature or enhancement label Apr 4, 2021
@marcusolsson marcusolsson added this to Triage in Grafana Plugins via automation Apr 4, 2021
@grafana grafana locked and limited conversation to collaborators Mar 7, 2022
@marcusolsson marcusolsson converted this issue into discussion #176 Mar 7, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
type/feature-request Requested new feature or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants