stacks-blockchain-api icon indicating copy to clipboard operation
stacks-blockchain-api copied to clipboard

Create a dashboard/bar chart for tracking improvements to event-replays/syncs over time

Open BLuEScioN opened this issue 2 years ago • 1 comments

https://hiropbc.slack.com/archives/C03UFUA5Q65/p1667598495593179

Add timing to event-replay command and have the time reported to Prometheus. Create a chart on Grafana

BLuEScioN avatar Nov 04 '22 22:11 BLuEScioN

Not sure this is something ideal for Prometheus to track since running an event replay and running the API normally are typically two separate instantiations of the API. So after the event replay finishes, the process exits. It might be feasible to track this by grepping through logs, but it would be limited by how long the logs are kept.

I'll need to think on this a bit, there might be a metric in k8s which tracks the length of time a container ran for before exiting.

CharlieC3 avatar Nov 04 '22 22:11 CharlieC3