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

Colon in annotation grafana/dashboard-selector not accepted #75

Open
marians opened this issue Aug 18, 2023 · 0 comments
Open

Colon in annotation grafana/dashboard-selector not accepted #75

marians opened this issue Aug 18, 2023 · 0 comments

Comments

@marians
Copy link

marians commented Aug 18, 2023

Found this plugin and gave it a test run. The goal:

On a Group entity page, list the dashboards owned by the group.

First I added simple tag selectors like this:

apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
  name: team-atlas
  annotations:
    grafana/dashboard-selector: "owner:team-atlas"

Result:

Unexpected ":" at character 5

However this worked:

apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
  name: team-atlas
  annotations:
    grafana/dashboard-selector: "tags @> 'owner:team-atlas'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant