Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Dedup resolve series requests #1794

Merged
merged 3 commits into from
Apr 24, 2020
Merged

Conversation

shanson7
Copy link
Collaborator

Pretty small change to reduce the number of round trips for requests that have duplicate metric pattern queries / seriesByTarget requests.

Looking at our logs for all of yesterday, my company sees that about 1/3 of all requests with 2 or more seriesByTag expressions have a duplicate.

api/graphite.go Outdated Show resolved Hide resolved
Copy link
Contributor

@replay replay left a comment

Choose a reason for hiding this comment

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

LGTM, just one comment

Copy link
Contributor

@replay replay left a comment

Choose a reason for hiding this comment

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

👍

@Dieterbe
Copy link
Contributor

looks great! thanks sean.

@Dieterbe Dieterbe merged commit 2ace110 into grafana:master Apr 24, 2020
@shanson7 shanson7 deleted the dedup_series branch April 24, 2020 16:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants