Skip to content

Conversation

@dnlserrano
Copy link

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

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 lexmag#46
@dnlserrano dnlserrano force-pushed the distribution-custom-metric branch from 46b4a70 to 8946383 Compare June 28, 2020 12:49
@dnlserrano
Copy link
Author

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

@keathley
Copy link

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

@dnlserrano
Copy link
Author

Great news, thanks @keathley! 🥳

@mtrudel
Copy link

mtrudel commented Mar 13, 2024

Any chance to have this integrated & released?

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.

Support custom metric types (e.g. datadog "distributions")

3 participants