Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for custom DISTRIBUTION metric #3

Merged
merged 2 commits into from
Apr 25, 2024

Conversation

dustinfarris
Copy link
Member

No description provided.

dnlserrano and others added 2 commits April 25, 2024 15:40
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
@dustinfarris dustinfarris merged commit c4ea2ad into master Apr 25, 2024
3 checks passed
@dustinfarris dustinfarris deleted the support-erlang-26-2 branch April 25, 2024 22:41
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