Skip to content

Initial commit #1

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

Merged
merged 8 commits into from
Mar 17, 2016
Merged

Initial commit #1

merged 8 commits into from
Mar 17, 2016

Conversation

jrodbeta
Copy link
Contributor

No description provided.

* this percentage of the time. Performed by external
* service if provided.
*/
def timing(key: String, value: Int, rate: Double = 1.0): Unit = {
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be great of we could represent time as a FiniteDuration. In the past I think we've woobled a bit over a few metrics being recorded with seconds vs milliseconds because of the ambiguous type of Int, I feel like FiniteDuration represents a span of time better.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds like a feature ask ;-) Open up a PR you!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also for now I've documented that it's in milliseconds.

Copy link
Contributor

Choose a reason for hiding this comment

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

pssh. Look out for flying ninja pr star's

jrodbeta added a commit that referenced this pull request Mar 17, 2016
@jrodbeta jrodbeta merged commit 6133a77 into master Mar 17, 2016
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.

4 participants