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

annotations: fetch all grafana annotations when no tags or dashboard ID is specified #29033

Closed
wants to merge 1 commit into from

Conversation

kevingessner
Copy link

What this PR does / why we need it:

There's currently no way to have a dashboard/panel display all Grafana-stored annotations -- you can either show them just on the panel where they were created, or by tag. This changes the behavior of the Tags type with no tags specified: it now fetches all annotations, instead of none. This enables showing all annotations, instead of an otherwise unuseful behavior.

Special notes for your reviewer:

I ran the go and jest tests and they pass.

@kevingessner kevingessner requested review from a team, hugohaggmark and peterholmberg and removed request for a team November 11, 2020 15:58
@CLAassistant
Copy link

CLAassistant commented Nov 11, 2020

CLA assistant check
All committers have signed the CLA.

…ID is specified

This makes the Tags type more useful without removing existing behavior or adding another option.
Copy link
Contributor

@hugohaggmark hugohaggmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kevingessner I'm sorry, but we rarely take contributions without a feature request that has a reasonable amount of feedback/upvotes. We'll probably have a look next week.

All the best

@hugohaggmark hugohaggmark added pr/external This PR is from external contributor area/annotations labels Nov 12, 2020
@hugohaggmark hugohaggmark added this to In Review in Frontend Platform Backlog via automation Nov 12, 2020
@kevingessner
Copy link
Author

@hugohaggmark Would it be helpful if I created a feature request issue to go along with this?

@hugohaggmark
Copy link
Contributor

@hugohaggmark Would it be helpful if I created a feature request issue to go along with this?

Yes, that would be a great start, still that doesn't mean we'll accept this PR. It depends on popular demand like feedback/upvotes, complexity e.t.c. Thank you

@kevingessner
Copy link
Author

I've submitted #29105 for this! Thanks for taking a look.

@stale
Copy link

stale bot commented Nov 27, 2020

This pull request has been automatically marked as stale because it has not had activity in the last 2 weeks. It will be closed in 30 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@stale stale bot added the stale Issue with no recent activity label Nov 27, 2020
@kevingessner
Copy link
Author

bump -- issue is in the backlog of feature requests

@stale stale bot removed the stale Issue with no recent activity label Nov 30, 2020
@stale
Copy link

stale bot commented Dec 20, 2020

This pull request has been automatically marked as stale because it has not had activity in the last 2 weeks. It will be closed in 30 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@stale stale bot added the stale Issue with no recent activity label Dec 20, 2020
@kevingessner
Copy link
Author

(bump)

@stale stale bot removed the stale Issue with no recent activity label Dec 22, 2020
@hugohaggmark
Copy link
Contributor

We've looked at this and having it to default to fetch all annotations is not a great experience for users that have a lot of annotations. There should be an explicit choice in the UI somehow, so users know that making this choice will cause fetching all annotations.

@stale
Copy link

stale bot commented Jan 6, 2021

This pull request has been automatically marked as stale because it has not had activity in the last 2 weeks. It will be closed in 30 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@stale stale bot added the stale Issue with no recent activity label Jan 6, 2021
@torkelo
Copy link
Member

torkelo commented Jan 7, 2021

Closing this as I think fetching all annotations without any filter feels like a bad idea

@torkelo torkelo closed this Jan 7, 2021
Frontend Platform Backlog automation moved this from In Review to Done Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/annotations pr/external This PR is from external contributor stale Issue with no recent activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants