statix icon indicating copy to clipboard operation
statix copied to clipboard

Add support for custom DISTRIBUTION metric

Open dnlserrano opened this issue 5 years ago • 4 comments

Example of usage follows:

iex> MyApp.Statix.distribution("rendering", 12, [])
:ok

From the Datadog documentation:

Unlike the HISTOGRAM metric type, which aggregates on the Agent during a given time interval, a DISTRIBUTION metric sends all the raw data during a time interval to Datadog, and aggregations occur server-side. Because the underlying data structure represents raw, unaggregated data, distributions provide two major features:

  • Calculation of percentile aggregations
  • Customization of tagging

https://docs.datadoghq.com/developers/metrics/types/?tab=distribution#definition

Closes #46

dnlserrano avatar Jun 28 '20 12:06 dnlserrano

Can you please review @lexmag? 🙏 Thanks for the library, btw. 😄

dnlserrano avatar Jun 29 '20 16:06 dnlserrano

@dnlserrano I've incorporated this PR into my fork here: https://github.com/keathley/statix. I'm planning on maintaining that fork going forward.

keathley avatar Jul 15 '21 17:07 keathley

Great news, thanks @keathley! 🥳

dnlserrano avatar Jul 16 '21 15:07 dnlserrano

Any chance to have this integrated & released?

mtrudel avatar Mar 13 '24 19:03 mtrudel