Skip to content

Conversation

@ttstarck
Copy link
Contributor

@ttstarck ttstarck commented Mar 25, 2019

Currently there are over a dozen metrics that get sent out for every timer stat that comes in. Being able to filter on the specific aggregated metrics you want for a timer at the config level will allow for drastic reduction in the data sent out from statsd and stored.

The config that I've added is calculated_timer_metrics which by default will send all metrics, however once any other value(s) are added, it will only send those specified. This also allows for the not sending percentile metrics as well.

Currently running these changes in production has reduced our Carbon/whisper load by ~20%.

Related to this issue:
#235

If disabled, it is up to the backends to sanitize keynames
as appropriate per their storage requirements.
calculated_timer_metrics: List of timer metrics that will be sent. Default will send all metrics.

Choose a reason for hiding this comment

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

Doesn't follow casing style. Should be calculatedTimerMetrics

@ttstarck
Copy link
Contributor Author

ttstarck commented Apr 2, 2019

Switched branches to merge a non-master branch:
#672

@ttstarck ttstarck closed this Apr 2, 2019
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.

2 participants