Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose state transition times to prometheus #88

Open
PeterJCLaw opened this issue Sep 18, 2019 · 0 comments
Open

Expose state transition times to prometheus #88

PeterJCLaw opened this issue Sep 18, 2019 · 0 comments

Comments

@PeterJCLaw
Copy link
Contributor

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.

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

No branches or pull requests

1 participant