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
statsd source not supporting Dogstatsd distribution type of metrics #2603
Comments
This comment has been minimized.
This comment has been minimized.
There is one more small improvements that can be made for |
@ktff thanks.
Right. Isn't that the problem though? According to @lukesteensen in #2913 (comment), we can't send this data to DataDog. They are using an undocumented API for sending |
@binarylogic by changing the aggregates that we send. That mostly means adding more percentile aggregations than the histogram does. But it seams better to wait for #3130 than add this. |
@jamtur01 @binarylogic the opening comment has been changed to reflect the current state and direction. |
Thanks. The checklist looks good. I assume you’ll continue work on those? Are you blocked on any of that? |
Yes, and
no. |
Ref #2603 Second part of documentation updates. First part https://github.com/timberio/vector-website/pull/128 <!-- **Your PR title must conform to the conventional commit spec!** <type>!?(<scope>): <description> * `type` = chore, docs, enhancement, newfeat, perf * `!` = signals a breaking change * `scope` = https://github.com/timberio/vector/blob/master/.github/semantic.yml#L4 * `description` = short description of the change Examples: * enhancement(file source): Added `sort` option to sort discovered files * feat(new source): Initial `statsd` source * fix(file source): Fixed a bug discovering new files * perf(observability): Improved logging performance * docs: Clarified `batch_size` option -->
This will be done with merger of timberio/vector-website#128 |
…ev#4301) Ref vectordotdev#2603 Second part of documentation updates. First part https://github.com/timberio/vector-website/pull/128 <!-- **Your PR title must conform to the conventional commit spec!** <type>!?(<scope>): <description> * `type` = chore, docs, enhancement, newfeat, perf * `!` = signals a breaking change * `scope` = https://github.com/timberio/vector/blob/master/.github/semantic.yml#L4 * `description` = short description of the change Examples: * enhancement(file source): Added `sort` option to sort discovered files * feat(new source): Initial `statsd` source * fix(file source): Fixed a bug discovering new files * perf(observability): Improved logging performance * docs: Clarified `batch_size` option --> Signed-off-by: Brian Menges <brian.menges@anaplan.com>
https://docs.datadoghq.com/developers/metrics/dogstatsd_metrics_submission/?tab=python#distribution
https://docs.datadoghq.com/developers/metrics/types/?tab=distribution#definition
All tested on latest nightly.
Simple example script in python
Will produce for distribution emit data this in Vector logs for statsd source
Implementation
DataDog distribution type of metrics will be supported by expanding Vector
distribution
metric to, besideshistogram
statistic, supportsummary
statistic. In sinks, this statistic differs only in two things fromhistogram
:distribution
metric #2913.summary
to Datadog distribution metric. Sending distributions to DataDog #3130While we accept it through:
statsd
source tagged withd
which corresponds to Datadog distribution metric tag. enhancement: Add DataDog'sdistribution
metric #2913.log_to_metric
transform. enhancement(log_to_metric transform): Add support forsummary
metric #3726Originally I thought we could reduce the amount of work by making
summary
to only differ fromhistogram
indatadog metric
sink, but that would make this feature inconsistent.Alternatives
Support the metric only in datadog metric' sink and
statsd
source/sink, while in other places default to histogram behavior. In documentation we would only add that we supportd
tag instatsd
source/sink which is passed todatadog metric
sink.Todo
Support of Dogstatsd distribution type of metrics
Add support to
log_to_metric
transform enhancement(log_to_metric transform): Add support forsummary
metric #3726Update
influxdb_metrics
sink. enhancement(influxdb_metrics sink): Supportsummary
statistic #3846Update
prometheus
sink. enhancement(prometheus sink): Add support forsummary
metric #4032Update docs. Waiting for implementations to be done.
log_to_metric
transformdatadog_metrics
sinkinfluxdb_metrics
sinkprometheus
sinkThe text was updated successfully, but these errors were encountered: