Skip to content

Invalid metrics causing Datadog to log errors #104

@jeremy-degroot

Description

@jeremy-degroot

It seems that Dropwizard considers values of negative infinity to be valid and attempts to report them to Datadog, which considers them invalid and throws errors. My syslog is filling up with lines like the one below.

Dogstatsd: error parsing metrics: invalid metric value for "dp.consumer-node-metrics.request-size-max:-∞

Our workaround has been to implement a filter with a blacklist for metrics known to produce invalid values, but it would be nice if the reporter would handle this case internally.

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