InstrumentedThreadFactory

constructor(delegate: ThreadFactory, name: String, help: String)

Parameters

delegate

the underlying ThreadFactory to delegate thread creation to.

name

the base name for the Prometheus metrics (suffixed with _threads_created, _threads_running, _threads_terminated).

help

the base help text for the Prometheus metrics.