Skip to content

Comments

go-kit/metrics/provider/librato: add CardinalityCounter wrapper type#45

Merged
benburkert merged 3 commits intomasterfrom
librato-card-counter-wrapper
Jul 9, 2018
Merged

go-kit/metrics/provider/librato: add CardinalityCounter wrapper type#45
benburkert merged 3 commits intomasterfrom
librato-card-counter-wrapper

Conversation

@benburkert
Copy link
Contributor

Add a librato.CardinalityCounter struct that wraps the (github.com/heroku/x/go-kit/metrics).HLLCounter type. The wrapper type tracks usage to avoid submitting unused metrics, and handles tags added via With method calls.

@benburkert benburkert requested review from apg and cyx July 9, 2018 19:21
Copy link
Contributor

@apg apg left a comment

Choose a reason for hiding this comment

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

Looks fine to me.

@benburkert benburkert merged commit 305b6e5 into master Jul 9, 2018
@benburkert benburkert deleted the librato-card-counter-wrapper branch July 9, 2018 23:17
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