otel4s
otel4s copied to clipboard
Draft integration with IORuntimeMetrics
trafficstars
The dirty implementation based on https://github.com/typelevel/cats-effect/pull/3317.
The output is:
// compute
active-thread-count = value=1
worker-thread-count = value=8
blocker-worker-thread-count = value=6
local-queue-fiber-count = value=0
searching-thread-count = value=0
suspended-fiber-count = value=9
// starvation
cpu-starvation-count = value=0
current-clock-drift-ms = value=0
max-clock-drift-ms = value=0
Once I come up with a more reasonable workload idea, the data should look better.
The MBean version (JVM only) is available here - https://github.com/typelevel/otel4s-experimental?tab=readme-ov-file#1-iometrics---cats-effect-runtime-metrics.