Skip to content

Expose state transition times to prometheus #88

Description

@PeterJCLaw

It would be really useful to have the duration which was taken to get a label from one state to the next in Prometheus.
This somewhat be worked out from the history entries post-hoc for analysis, however having them in Prometheus would allow the data to be used for monitoring etc. of both Routemaster itself as well as for whatever is represented by the state machine it is operating.

My current thinking is that each state transition A → B would form a label in a histogram of durations.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions