-
Notifications
You must be signed in to change notification settings - Fork 64
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
refactors metrics.clj #150
Conversation
src/ziggurat/metrics.clj
Outdated
tagged-metric (.tagged ^MetricName metric-name tags)] | ||
(.histogram ^MetricRegistry metrics-registry ^MetricName tagged-metric)))) | ||
(defstate statsd-reporter | ||
:start (metrics-lib/initialize (:datadog (ziggurat-config))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rebase?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes rebased it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh I mean get the config thru (config/statsd-config)
because this behavior was changed on the previous commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will dropwizard be the default metrics implementation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, sure, will fix that
Moves dropwizard-metrics out of metrics.clj.
Pulls in defstate into metrics.clj.
Attempts to make metrics.clj library agnostic.