Skip to content

Cap the number of samples in node-datadog-metrics #19

@dbader

Description

@dbader

// The number of samples recorded is unbounded at the moment.
// If this becomes a problem we might want to limit how many
// samples we keep.
this.samples.push(val);

If ddog is down this will hog a lot of memory.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions