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.

Support for scheduled metrics reporting

See original GitHub issue

This came up during Spring Boot 1.5 to 2.0 and dropwizard + metrics-coursera to micrometer migration. The former couple uses ScheduledReporter so metrics, even though they are sent immediately by java-dogstatsd-client, are not reported immediately but rather by a schedule like every 5 or 10 seconds. This creates a room to breathe for the agent. Micrometer floods the agent with immediate reporting as my service generates about 10-15K metrics per second as a part of request tracking. Right now there’s a 20% toll when metrics are collected in such scenario consumed by datadog agent.

There seem to be a few options:

  1. Adopt scheduled reporting as a configurable option
  2. datadog-agent v6 supports batch reporting

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jkschneidercommented, Oct 15, 2018

The statsd registry now buffers statsd lines together using @breun’s implementation based on Nagle’s algorithm. This happens by default without any configuration. This is really a better approach than a regular scheduled push, as infrequent timings are emitted immediately, and frequent timings get batched up.

The same approach is not relevant to other registry types. Only statsd requires emission on a per timing basis. Most other registries do scheduled reporting on a predefined interval.

0reactions
breuncommented, Aug 14, 2018

I’ve talked to Reactor committers and am working on an implementation of Nagle’s algorithm, at least for the StatsD registry, which is actually not trivial using the currently available Reactor operators. I don’t think there is a generic way to implement this for all meter registries by the way.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Schedule a historical metrics report - Amazon Connect
Before you schedule a historical metrics report, here are a few things you need to know: Others can access the report. Scheduling a...
Read more >
5 Steps to Mastering Scheduled Reports for Your Contact Center
Step 2: Choose Your Metrics​​ The next step to mastering scheduled reports built from your contact center data is to decide which metrics...
Read more >
Scheduled Reports - Datadog Docs
Scheduled dashboard reports automatically send a visual summary of a dashboard to selected recipients on a schedule. The generated reports display images of ......
Read more >
Scheduling Reports - Church Metrics Support
Scheduling reports is a quick and easy way to get your data delivered to yourself automatically each week. You can set them to...
Read more >
Understanding Schedule Metrics - Oracle Help Center
The Schedule Completion Metrics report (R48327) is run after orders on the schedule are completed. The report updates the Completed Scheduled Hours and ......
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