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

PublicDashboards: Dont support exemplars #54933

Merged
merged 7 commits into from Sep 14, 2022

Conversation

owensmallwood
Copy link
Contributor

Problem
Exemplars are handled within the Prometheus datasource on the frontend. There's a lot of code that handles those transformations, and currently, it's low priority to add exemplar support for our PublicDashboardDatasource.

Solution
When gathering queries on the backend for public dashboards, we remove the exemplar property if it exists.

Notes
I moved the dashboard_queries into the publicdashboards service because they're only used for public dashboards.

fixes #54035

…ey were exclusively made for it. When grouping dashboard queries, remove the exemplar property if it exists. We wont be supporting exemplars for pubdash right now since all the exemplar transformation happens within the prometheus datasource on the frontend.
@owensmallwood owensmallwood added no-backport Skip backport of PR no-changelog Skip including change in changelog/release notes labels Sep 8, 2022
@owensmallwood owensmallwood added this to the 9.1.4 milestone Sep 8, 2022
@owensmallwood owensmallwood self-assigned this Sep 8, 2022
@owensmallwood owensmallwood requested review from a team as code owners September 8, 2022 21:32
@owensmallwood owensmallwood requested review from sakjur, sh0rez, ying-jeanne, jdbaldry and alyssawada and removed request for a team September 8, 2022 21:32
@grafanabot
Copy link
Contributor

@grafanabot grafanabot removed this from the 9.1.4 milestone Sep 9, 2022
@grafanabot
Copy link
Contributor

This pull request was removed from the 9.1.4 milestone because 9.1.4 is currently being released.

@evictorero
Copy link
Contributor

nit related to the title: The area should be one word in camel case and the description should start with capital letter.
PublicDashboards: Dont support exemplars

@grafanabot
Copy link
Contributor

@owensmallwood owensmallwood added this to the 9.2.0 milestone Sep 13, 2022
@owensmallwood owensmallwood added add to changelog and removed no-changelog Skip including change in changelog/release notes labels Sep 13, 2022
@owensmallwood owensmallwood changed the title Public Dashboards: dont support exemplars PublicDashboards: dont support exemplars Sep 13, 2022
@owensmallwood owensmallwood changed the title PublicDashboards: dont support exemplars PublicDashboards: Dont support exemplars Sep 13, 2022
Copy link
Contributor

@evictorero evictorero left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@evictorero evictorero left a comment

Choose a reason for hiding this comment

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

LGTM!

@owensmallwood owensmallwood merged commit deb86e3 into main Sep 14, 2022
@owensmallwood owensmallwood deleted the owensmallwood/pubdash-dont-support-exemplars branch September 14, 2022 15:49
@dsotirakis dsotirakis modified the milestones: 9.2.0, 9.2.0-beta1 Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Public dashboards add "exemplar" metric to panels
4 participants