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

Replace ':'s in metric name by '_' #26

Merged
merged 2 commits into from
May 15, 2020

Conversation

roberth
Copy link
Contributor

@roberth roberth commented May 11, 2020

This allows ekg-statsd to be used with servant-ekg, which generates metrics like

servant.path.accounts.:accountId.GET.time_ms.max:113.571281|g

So, having a colon in the metric name, terminating the name part too early.
Both StatsD and Dogstatsd behave like this.

This allows ekg-statsd to be used with servant-ekg, which generates
metrics like

    servant.path.accounts.:accountId.GET.time_ms.max:113.571281|g

So, having a colon in the metric name, terminating the name part too early.
Both StatsD and Dogstatsd behave like this.
@23Skidoo
Copy link
Collaborator

Shouldn't this be documented somewhere?

@roberth
Copy link
Contributor Author

roberth commented May 11, 2020

One would hope to find documentation about such a format, but I had to look at the source to determine the behavior. As for documenting it here, I guess that would be nice. I'll add something to the module haddock.

@roberth
Copy link
Contributor Author

roberth commented May 15, 2020

This PR is ready for review.

@23Skidoo 23Skidoo merged commit 56b5cc0 into haskell-github-trust:master May 15, 2020
@23Skidoo
Copy link
Collaborator

Merged, thanks!

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