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: Support selecting columns from resulting data in query #290

Open
joeblubaugh opened this issue Feb 16, 2024 · 0 comments
Open
Labels
type/feature-request Requested new feature or enhancement

Comments

@joeblubaugh
Copy link

I'd like to use the Grafana expression language to write alerting rules based on the output of the Github Datasource. Right now I can't because:

Currently, the only non-time series format (number) is supported when you’re using data frames and you have a table response that returns a data frame with no time, string columns, and one number column

Queries for Issues and Pull Requests return at least one numeric field, and several other fields that aren't appropriate for labels. I'd like to be able to get data equivalent to this SQL call:

SELECT pull_request.open_time, pull_request.author FROM pull_request WHERE pull_request.open is TRUE;

Perhaps this could be done in the plugin by dropping fields from the data frames until only the requested fields remain?

@joeblubaugh joeblubaugh added the type/feature-request Requested new feature or enhancement label Feb 16, 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

1 participant