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

Fix metrics for GRPC streams do not correctly include tags when stream ends #3746

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cchamplin
Copy link

What?

Update the grpc stream being call to pass tags and params that include custom tags and method information

Why?

Addresses #3745

Checklist

  • I have performed a self-review of my code.
  • I have added tests for my changes.
  • I have run linter locally (make lint) and all checks pass.
  • I have run tests locally (make tests) and all tests pass.
  • I have commented on my code, particularly in hard-to-understand areas.

Related PR(s)/Issue(s)

#3745

Closes #3745

@cchamplin cchamplin requested a review from a team as a code owner May 17, 2024 03:27
@cchamplin cchamplin requested review from oleiade and olegbespalov and removed request for a team May 17, 2024 03:27
@CLAassistant
Copy link

CLAassistant commented May 17, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@olegbespalov olegbespalov left a comment

Choose a reason for hiding this comment

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

Hi @cchamplin

Good catch! Thank you for your contribution!

The change looks good to me, but it is also essential to introduce the test for it. It could be similar to something from the cmd_run_grpc_test.go, and the getSampleValues could be used to extract metrics/tags.

Do you think you could address this, or should we consider splitting a test into a separate issue or pull request?

@olegbespalov olegbespalov added awaiting user waiting for user to respond area: grpc labels May 23, 2024
@olegbespalov olegbespalov added this to the v0.52.0 milestone May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: grpc awaiting user waiting for user to respond
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Metrics for GRPC streams do not correctly include tags when stream ends.
3 participants