- Notifications
You must be signed in to change notification settings - Fork1.3k
How to expose ZIO executor metrics?#9257
-
I'm trying to expose the metrics of the ZIO executor (i.e.these ones) via prometheus so we can better understand how ZIO is performing. I can't see any reference to these anywhere, and even searching for code references can only see them being used by the now deprecatedZMX project. I realise they're internal, but are these intended to be used at all? I was expecting them to be exposed with Otherwise I'll likely have to use Micrometer's |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment 2 replies
-
They are not exposed as ZIO metrics, but you can access them by calling There are other internal metrics that are exposed:
|
BetaWas this translation helpful?Give feedback.
All reactions
-
Thanks, I'm using those other internal ones (they're exposed with Is there any plans to expose these executor metrics at all? For now I'm using Micrometer's |
BetaWas this translation helpful?Give feedback.
All reactions
-
There is no particular plan AFAIK. I think if someone did a PR to add them, it would be okay as long as it doesn't impact performance. |
BetaWas this translation helpful?Give feedback.