Add support for AggregatedHistogram metrics to the AWS CloudWatch Sink #21895
Labels
sink: aws_cloudwatch_metrics
Anything `aws_cloudwatch_metrics` sink related
type: feature
A value-adding code addition that introduce new functionality.
A note for the community
Use Cases
The end goal is for the AWS CloudWatch sink to support sending AggregatedHistogram
MetricValue
types to CloudWatch. An example such metric ishttp_client_rtt_seconds
, which right now when attempting to send through the CloudWatch Sink is dropped, with no error messages or logging to reveal why.Attempted Solutions
I have not attempted to solve this. It may be possible by attempting to restructure the emitted metric in a transform step but I'm not sure and have not tested it.
Proposal
We need to add support for that
MetricValue
type here:vector/src/sinks/aws_cloudwatch_metrics/mod.rs
Lines 271 to 308 in 3d7f06d
Stealing from @jszwedko as we discussed here: #21851
References
This was discussed here: #21851
Version
0.37.1
The text was updated successfully, but these errors were encountered: