Open Kami opened 6 years ago
Can you add st2.action.
We don't track such metric at the moment.
It's not a bad idea to track it, we just need to be careful in case there are many (many thousands) of unique actions in the systems.
None of the metrics systems (graphite, prometheus, etc.) were really designed for a large number of unique metrics so they would break down in case user had many thousand or tens of thousand of actions.
We had a similar issue recently - we tracked some metrics on per execution basis, but we dropped those metrics since they cause too big of a load on the metrics backend. Granted, user will probably never have as many action as there are executions, but still something we need to keep in mind.
Would it be possible to add some gauges for st2.action.executions.* specifically for intermediate states (i.e: scheduled and running)?
They are useful for graphic real time status of ongoing work being handled by st2.
4310 made a lot of improvements to the instrumentation and metrics code. This means we now have instrumentation and metrics in place for most of the critical code paths.
This will provide us and users with a much better insight into workings of a StackStorm cluster.
Having said that, there are still places for which we don't have any instrumentation and we should improve that in the future: