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

Prometheus: Fix exemplar fill color to match series color in time series. #59908

Merged
merged 40 commits into from Dec 8, 2022

Conversation

gtk-grafana
Copy link
Contributor

@gtk-grafana gtk-grafana commented Dec 6, 2022

What is this feature?
Matching exemplar color to the color of the series.

Why do we need this feature?
Current exemplar UX is difficult to differentiate exemplars from different labels within a single metric.

Who is this feature for?
Customers with exemplars that want to build more complicated graphs.

Which issue(s) does this PR fix?:
Fixes #59499

Debug log:
histogram_quantile(0.90, sum by(le, job, status_code) (rate(tns_request_duration_seconds_bucket[$__rate_interval])))
debug-Exemplar 1 metric 10 labels-2022-12-07 16_00_31.json.txt

Special notes for your reviewer:

@gtk-grafana gtk-grafana requested review from a team, zoltanbedi and mdvictor and removed request for a team December 6, 2022 17:27
@gtk-grafana gtk-grafana marked this pull request as draft December 6, 2022 17:27
@gtk-grafana
Copy link
Contributor Author

image

image

image

image

image

@grafanabot
Copy link
Contributor

Hello @gtk-grafana!
Backport pull requests need to be either:

  • Pull requests which address bugs,
  • Urgent fixes which need product approval, in order to get merged,
  • Docs changes.

Please, if the current pull request addresses a bug fix, label it with the type/bug label.
If it already has the product approval, please add the product-approved label. For docs changes, please add the type/docs label.
If none of the above applies, please consider removing the backport label and target the next major/minor release.
Thanks!

@gtk-grafana gtk-grafana added the product-approved Pull requests that are approved by product/managers and are allowed to be backported label Dec 8, 2022
Copy link
Contributor

@itsmylife itsmylife left a comment

Choose a reason for hiding this comment

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

LGTM

@gtk-grafana gtk-grafana changed the title Prometheus: Color code exemplars to match legend Prometheus: Fix exemplar fill color to match series color in time series. Dec 8, 2022
Base automatically changed from gtk-grafana/issues/59678/exemplars-not-filtering-from-legend to main December 8, 2022 17:46
@gtk-grafana gtk-grafana requested a review from a team December 8, 2022 17:46
@gtk-grafana gtk-grafana merged commit dfc1516 into main Dec 8, 2022
@gtk-grafana gtk-grafana deleted the gtk-grafana/issues/59499/exemplar-colors branch December 8, 2022 20:15
grafanabot pushed a commit that referenced this pull request Dec 8, 2022
…ies. (#59908)

* Implementing new optional color property to ExemplarMarker component
* Refactor some changes from #59743

(cherry picked from commit dfc1516)
gtk-grafana added a commit that referenced this pull request Dec 8, 2022
… time series. (#60054)

Prometheus: Fix exemplar fill color to match series color in time series. (#59908)

* Implementing new optional color property to ExemplarMarker component
* Refactor some changes from #59743

(cherry picked from commit dfc1516)

Co-authored-by: Galen Kistler <109082771+gtk-grafana@users.noreply.github.com>
GuYounes pushed a commit to paul-wurth/BIXpert that referenced this pull request Feb 8, 2023
… time series. (grafana#60054)

Prometheus: Fix exemplar fill color to match series color in time series. (grafana#59908)

* Implementing new optional color property to ExemplarMarker component
* Refactor some changes from grafana#59743

(cherry picked from commit dfc1516)

Co-authored-by: Galen Kistler <109082771+gtk-grafana@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prometheus: Exemplars not color coding
3 participants