Skip to content

Allow a user to add a JVM shutdown hook to drain metrics queue #1296

Closed

Description

@millems

Metrics published asynchronously are sometimes lost when the JVM shuts down, which can happen relatively often in serverless environments. This usually is not a problem, because there is usually little impact from the loss of a few metrics, but in some cases the user would want to make sure the metrics are fully released before the JVM shutdown finishes. A shutdown hook (or similar mechanism) should be introduced to allow this.

Activity

  1. debora-ito commented on Dec 31, 2019

    @debora-ito
    Member

    Closing this, will be considered for SDK for Java V2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions