Skip to content

Add JVM shutdown hook to report the metrics from the current TimeWindow. #22

@smrutilal2

Description

@smrutilal2

Currently all the TimeWindow based reporter has to wait for the next time window to report the metrics. To make it work from a batch job or from a Lambda function, client will have to sleep for at least the reporting frequency (60 seconds by default) at the end of the job.

Instead we need to add a JVM shutdown hook that would flush and report the metrics from the current time window.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions