Liking cljdoc? Tell your friends :D

steffan-westcott.clj-otel.sdk.meter-provider

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`.
raw docstring

periodic-metric-readerclj

(periodic-metric-reader {:keys [metric-exporter interval executor]})

Returns a PeriodicMetricReader. Takes an option map as follows:

keydescription
:metric-exporterMetricExporter instance (required).
:intervalInterval between each export. Value is either a Duration or a vector [amount ^TimeUnit unit] (default: 60s).
:executorScheduledExecutorService 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).
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close