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

Support for default values in the Datasource configuration #329

Open
ledor473 opened this issue Jan 31, 2023 · 0 comments
Open

Support for default values in the Datasource configuration #329

ledor473 opened this issue Jan 31, 2023 · 0 comments
Labels
type/feature-request Requested new feature or enhancement

Comments

@ledor473
Copy link
Contributor

ledor473 commented Jan 31, 2023

We have an API that provides time-series data and while it's possible to query it using this plugin, it's pretty tedious and repetitive to have to configure every panel the same way.
It would be very nice if we could configure some fields as default values in the datasource configuration.

Currently, there's only a Query string configuration in the datasource level and it actually offer a higher priority rather than a default according to the document

Here's an example of the default values that I would like to set:

  • Fields:
    • 3 fields with their respective configuration (JSONPath/JSONata, type, name)
  • Params:
    • from and to set to $__unixEpochFrom() and $__unixEpochTo()
    • query set to empty (that way our users know where to put the query)
  • Experimental:
    • Group By and Metric to match the 3 fields that would be pre-populated

Thanks!

@gabor gabor added the type/feature-request Requested new feature or enhancement label May 24, 2024
@gabor gabor moved this to Backlog in OSS Big Tent May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request Requested new feature or enhancement
Projects
Status: Backlog
Development

No branches or pull requests

2 participants