Programmatic configuration of SdkMeterProvider
, a component of the
OpenTelemetry SDK. This namespace is for internal use only, except for
the function periodic-metric-reader
.
Programmatic configuration of `SdkMeterProvider`, a component of the OpenTelemetry SDK. This namespace is for internal use only, except for the function `periodic-metric-reader`.
(periodic-metric-reader {:keys [metric-exporter interval executor]})
Returns a PeriodicMetricReader
. Takes an option map as follows:
key | description |
---|---|
:metric-exporter | MetricExporter instance (required). |
:interval | Interval between each export. Value is either a Duration or a vector [amount ^TimeUnit unit] (default: 60s). |
:executor | ScheduledExecutorService instance for executing exports (default: thread pool with one daemon thread). |
Returns a `PeriodicMetricReader`. Takes an option map as follows: | key | description | |------------------|-------------| |`:metric-exporter`| `MetricExporter` instance (required). |`:interval` | Interval between each export. Value is either a `Duration` or a vector `[amount ^TimeUnit unit]` (default: 60s). |`:executor` | `ScheduledExecutorService` instance for executing exports (default: thread pool with one daemon thread).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close