Skip to content

Set function counters to zero at startup #59

Open
@emschwartz

Description

@emschwartz

As discussed in https://github.com/orgs/autometrics-dev/discussions/31, we would like for the function call counter to be initialized to zero, at least in development mode. This is to enable UIs built on top of Autometrics + Prometheus to discover the names of the instrumented functions before the service has received any traffic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions