Skip to content

Metric Value List can go above MetricDefinition limits, causing CW missing metrics #72

Closed
@axeliux

Description

@axeliux

Apparently if you call MetricsLogger.putMetric() more than 100 times, it will keep adding values to the metric causing to reach out of it's limits. This would cause missing metrics as the log entry would not be processed.

Reference:

Metrics— An array of MetricDefinition objects. This array MUST NOT contain more than 100 MetricDefinition objects.

https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Embedded_Metric_Format_Specification.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions