Skip to content

Persistant Metrics #737

@wymangr

Description

@wymangr

Is it possible to save the metrics in a way so they don't get reset every time my application restarts? My application is a flask api with each endpoint in their own container to keep them modular. I have it running in multiproc mode and each container is sharing a volume for the multiproc directory. Then I can aggregate all the metrics under one /metrics endpoint. The problem is I get errors when I restart one of the containers and then I need to delete the volume for it to work again, clearing out all the historic counters. It would be awesome if there was a way to keep all the metrics even after restarting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions