metric
zio.blocks.telemetry.metric
object metric
Global metrics entry point. Works without setup. Call install to wire production exporters.
App code uses this directly. Library code should accept Meter via DI.
Attributes
- Source
- metric.scala
- Graph
-
- Supertypes
- Self type
-
metric.type
Members list
Value members
Concrete methods
Creates a Counter on the default meter.
Creates a Gauge on the default meter.
Returns a named Meter for a specific instrumentation scope.
Creates a Histogram on the default meter.
Replaces the default MeterProvider with a user-configured one.
Returns the MetricReader for the current provider.
Remove the installed MeterProvider. After this, metrics use the default provider.
Remove the installed MeterProvider. After this, metrics use the default provider.
Attributes
- Source
- metric.scala
Creates an UpDownCounter on the default meter.
In this article