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

Disassociated Data Stream alias cannot be longer than 64 characters #237

Closed
alexhegg-aws opened this issue Oct 24, 2023 · 1 comment · Fixed by #239
Closed

Disassociated Data Stream alias cannot be longer than 64 characters #237

alexhegg-aws opened this issue Oct 24, 2023 · 1 comment · Fixed by #239

Comments

@alexhegg-aws
Copy link

What happened:
Using a disassociated data stream where the alias is longer than 64 characters results in an error

What you expected to happen:
Data should be returned. Associating the stream with an asset allows it to be queried.

How to reproduce it (as minimally and precisely as possible):
Create 2 disassociated data streams named:
/123456789/123456789/123456789/123456789/123456789/123456789/s
/123456789/123456789/123456789/123456789/123456789/123456789/long

Create 2 queries of type "Get property history value"

Enter both property aliases. The first (62 characters) returns data, the second returns an eror:
failed to fetch query data: InvalidRequestException: 1 validation error detected: Value '_123456789_123456789_123456789_123456789_123456789_123456789_long' at 'entries.1.member.entryId' failed to satisfy constraint: Member must have length less than or equal to 64

Screenshots
image

Anything else we need to know?:

Environment:

  • Grafana version: 10.1.5
  • Plugin version: 1.11.1
  • OS Grafana is installed on: Linux
  • User OS & Browser: MacOS + Chrome
  • Others:
@TheEvilDev
Copy link

Additional Context:

This is also happening in a customer's account, preventing an upgrade to Amazon Managed Grafana. AMG version 8.4, and plugin version 1.9 - 1.12.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
4 participants