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

Regression in query by propertyAlias for unmodeled data #185

Closed
diehbria opened this issue May 9, 2023 · 7 comments
Closed

Regression in query by propertyAlias for unmodeled data #185

diehbria opened this issue May 9, 2023 · 7 comments
Labels
datasource/Sitewise type/bug Something isn't working

Comments

@diehbria
Copy link

diehbria commented May 9, 2023

What happened:

Query by propertyAlias fails in grafana9 (but works in grafana8) for data that is unassociated to any SiteWise models.

Getting return error:

failed to fetch query data: InvalidRequestException: Entries size failed to satisfy constraint: Must be at least 1 entry per request.

What you expected to happen:

Query by propertyAlias to return succesfully

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

I'm speculating that this regression is related to the introduction of the batch API

@diehbria diehbria added datasource/Sitewise type/bug Something isn't working labels May 9, 2023
@sparkgene
Copy link

I met the same problem too. Same settings worked with Managed Grafana v8.4 + Sitewise Plugin v1.5.1.

@kevinwcyu
Copy link
Contributor

Hi, can you try v1.9.0 of the SiteWise Plugin to see if the property alias query works?

@jhoulihan
Copy link

Hi kevinwcyu, is there a way to use the new plugin, in AWS managed grafana for me to test functionality?
If it helps, using an unmodelled data stream and querying for interpolated data produces a time series, but not the other query types currently, using AMG grafana v9. As above comment by sparkgene, using unmodelled...or (using AWS sitewise terms) disassociated data streams , all queries work in AMG grafana v8

@sparkgene
Copy link

I'm using AMG v9.4. And the installed SiteWise plugin is 1.7.0. Can we update the plugin to the latest version?

@sarahzinger
Copy link
Member

@jhoulihan @sparkgene are you all able to upgrade the sitewise plugin by following these steps: https://grafana.com/docs/grafana/latest/administration/plugin-management/#update-a-plugin

@jhoulihan
Copy link

@sarahzinger thank you for reverting! I don't appear to be able to with Amazon Managed Grafana. I can see the updated plugin listed, evidencing the hard work the developers put in (Thank you all!) I'll follow up with my supportive local associate.

@sarahzinger
Copy link
Member

Great, I'll close this issue for now then but feel free to open a new one if after upgrading the bug does not go away. Thanks again for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datasource/Sitewise type/bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

6 participants