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

Instrumentation: Add histogram for request duration on gRPC client to Ingesters #3409

Merged
merged 2 commits into from
Mar 1, 2021

Conversation

gotjosh
Copy link
Contributor

@gotjosh gotjosh commented Mar 1, 2021

What this PR does / why we need it:

To provide more visibility on gRPC requests from distributor -> ingesters.

Which issue(s) this PR fixes:
N/A

Special notes for your reviewer:

The function from Cortex grpcclient.Instrument already takes care of setting the tracing headers. It also accepts a histogram metric to record request durations. Hence, the replacement of the code below with the function - I made sure there was no difference between the function and the code removed.

Checklist

  • N/A Documentation added
  • N/A Tests updated

@CLAassistant
Copy link

CLAassistant commented Mar 1, 2021

CLA assistant check
All committers have signed the CLA.

… Ingesters

Signed-off-by: gotjosh <josue@grafana.com>
@gotjosh gotjosh force-pushed the instrument-grpc-to-ingesters branch from f862314 to 5bd2bf4 Compare March 1, 2021 18:12
Copy link
Collaborator

@slim-bean slim-bean left a comment

Choose a reason for hiding this comment

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

LGTM! thanks @gotjosh

@slim-bean slim-bean merged commit 144786e into grafana:master Mar 1, 2021
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.

None yet

3 participants