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

Timer Value (question) #104

Open
AndyPook opened this issue Oct 9, 2015 · 0 comments
Open

Timer Value (question) #104

AndyPook opened this issue Oct 9, 2015 · 0 comments

Comments

@AndyPook
Copy link

AndyPook commented Oct 9, 2015

If you use "var timer = Metric.Timer("x", Unit.Items)" and use it to time some stuff...
How do I get the value from "timer"?

The internals will always create a TimerImplementaion so I can just cast to that.
I can go all the way via a Reporter.
Both seem, convoluted.

https://github.com/etishor/Metrics.NET/wiki/Timers says " the output of the timer in text format looks like this:". How is that done (without a reporter)?

@AndyPook AndyPook changed the title Timer Value Timer Value (question) Oct 9, 2015
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

No branches or pull requests

1 participant