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

refactors metrics.clj #150

Merged
merged 11 commits into from
Apr 20, 2020
Merged

refactors metrics.clj #150

merged 11 commits into from
Apr 20, 2020

Conversation

theanirudhvyas
Copy link
Contributor

@theanirudhvyas theanirudhvyas commented Apr 13, 2020

Moves dropwizard-metrics out of metrics.clj.
Pulls in defstate into metrics.clj.
Attempts to make metrics.clj library agnostic.

@theanirudhvyas theanirudhvyas marked this pull request as draft April 14, 2020 06:03
@theanirudhvyas theanirudhvyas marked this pull request as ready for review April 14, 2020 17:01
@theanirudhvyas theanirudhvyas changed the title WIP: refactors metrics.clj refactors metrics.clj Apr 14, 2020
tagged-metric (.tagged ^MetricName metric-name tags)]
(.histogram ^MetricRegistry metrics-registry ^MetricName tagged-metric))))
(defstate statsd-reporter
:start (metrics-lib/initialize (:datadog (ziggurat-config)))
Copy link
Contributor

Choose a reason for hiding this comment

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

rebase?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes rebased it.

Copy link
Contributor

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

Copy link
Contributor

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?

Copy link
Contributor Author

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

@theanirudhvyas theanirudhvyas merged commit 6cfb22e into gojek:master Apr 20, 2020
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.

None yet

3 participants