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

Add metrics to relay #393

Merged
merged 1 commit into from
Sep 10, 2021
Merged

Add metrics to relay #393

merged 1 commit into from
Sep 10, 2021

Conversation

SuperQ
Copy link
Member

@SuperQ SuperQ commented Sep 2, 2021

Add some metrics to the statsd relay.

  • The number of StatsD packets relayed.
  • The number lines that were too long to relay.

Also convert main.go to use promauto for metric registration.

Signed-off-by: SuperQ [email protected]

Add some metrics to the statsd relay.
* The number of StatsD packets relayed.
* The number lines that were too long to relay.

Also convert main.go to use promauto for metric registration.

Signed-off-by: SuperQ <[email protected]>
@SuperQ SuperQ requested a review from matthiasr September 2, 2021 09:58
@SuperQ SuperQ merged commit 884a8c0 into master Sep 10, 2021
@SuperQ SuperQ deleted the superq/relay_metrics branch September 10, 2021 08:26
SuperQ added a commit that referenced this pull request Sep 10, 2021
* [ENHANCEMENT] Add metrics to relay ([#393](#393))

Signed-off-by: SuperQ <[email protected]>
@SuperQ SuperQ mentioned this pull request Sep 10, 2021
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