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

New metric for relayed lines #434

Merged

Conversation

pedro-stanaka
Copy link
Contributor

@pedro-stanaka pedro-stanaka commented May 6, 2022

Summary

I am adding a new metric to address issue #427, it counts how many lines were buffered to be relayed.

Changes

  • Adding new simple test to relay package
  • Adding new metric to relay struct
  • Adding new test section to check on metrics
  • Adding license headers on file

@pedro-stanaka pedro-stanaka force-pushed the relay-new-line-count-metric branch 3 times, most recently from 16e75a2 to 23ecab8 Compare May 6, 2022 11:05
* Adding new simple test to relay package
* Adding metric testing on relay
* Adding new metric to relay
* Adding new test section to check on metrics
* Fixing linting problems on new code
* Adding license headers on file

Signed-off-by: Pedro Tanaka <[email protected]>
@pedro-stanaka pedro-stanaka force-pushed the relay-new-line-count-metric branch from 23ecab8 to 0de518d Compare May 6, 2022 11:06
@pedro-stanaka
Copy link
Contributor Author

@matthiasr here is the new PR. I somehow missed that header as well. Thx for the patience.

Copy link
Contributor

@matthiasr matthiasr left a comment

Choose a reason for hiding this comment

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

Just one more tiny thing 😅

pkg/relay/relay_test.go Outdated Show resolved Hide resolved
@matthiasr matthiasr merged commit dcddbc4 into prometheus:master May 6, 2022
matthiasr added a commit that referenced this pull request May 6, 2022
just in time for 0.22.5 :)

Signed-off-by: Matthias Rampke <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants