Replies: 2 comments 2 replies
-
Hey @estahn! So far, only 2 metrics are exposed by pools:
The number of worker goroutines currently executing a task can be calculated as It would be very useful to expose more metrics, such as:
If you think of any other metric that could be useful please let me know. I might send a PR to add these soon. |
Beta Was this translation helpful? Give feedback.
-
FYI @estahn, v1.5.0 is out and it adds a number of useful metrics to worker pools, see https://github.com/alitto/pond#metrics--monitoring for more info. I've also added an example to show how these can be exposed to Prometheus |
Beta Was this translation helpful? Give feedback.
-
I would like to expose some metrics about the state of the pool in my application, e.g. the number of items in the backlog, the number of workers, etc.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions