question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Timer counts not published to Stackdriver

See original GitHub issue

The Micrometer documentation recommends

Never count something you can time with a Timer or summarize with a DistributionSummary! Both Timer and DistributionSummary always publish a count of events in addition to other measurements.

However, the Stackdriver backend doesn’t seem to publish timer counts. I can’t find them in Stackdriver and I don’t see where they would be created in the code.

Can we add an additional Stackdriver metric (my.timer.count) when we publish timer durations?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
shakuzencommented, Jun 14, 2019

Thanks to the pull request from @ormanli, a separate count will be published for Timers from version 1.1.5. Feel free to try out snapshots in the meantime, though the release should be coming very soon.

0reactions
joshfermincommented, May 16, 2019

Bummer, I guess the workaround for now is to add a separate count metric in addition to my timer. Thanks for the update though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot the Ops Agent | Operations Suite - Google Cloud
Go to the Agent is installed but not running section first to fix that condition.
Read more >
Micrometer stackdriver registry. Understanding distribution
What I don't understand is that if micrometer publishes separate metrics for count and max then why dont they do that for mean...
Read more >
Stackdriver System Logs-based Metrics | by Daz Wilkin | Medium
In this case “system” means not “user-defined” — they're metrics provided by ... This feature permits us to, among other things measure the...
Read more >
Timer (micrometer-core 1.0.3 API) - javadoc.io
The count of all events less than or equal to the bucket. If valueNanos does not match a preconfigured bucket boundary, returns NaN....
Read more >
Operating Serverless Apps with Google Stackdriver ... - YouTube
For a complete serverless solution you need to be able to monitor your serverless apps, learn when they are not functioning correctly, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found