Skip to main content
Module

x/observability/mod.ts>DenoRuntimeInstrumentation

WIP module for transmitting common metrics to multiple destinations
Go to Latest
class DenoRuntimeInstrumentation
extends InstrumentationBase
import { DenoRuntimeInstrumentation } from "https://deno.land/x/observability@v0.4.0/mod.ts";

Constructors

new
DenoRuntimeInstrumentation(config?: InstrumentationConfig)

Properties

private
gatherMemoryUsage: (x: ObservableResult<Attributes>) => unknown
private
gatherOpenResources: (x: ObservableResult<Attributes>) => unknown
private
gatherOps: (x: BatchObservableResult<Attributes>) => unknown
readonly
component: string
metrics: { openResources: ObservableUpDownCounter<Attributes>; memoryUsage: ObservableGauge<Attributes>; dispatchedCtr: ObservableCounter<Attributes>; inflightCtr: ObservableUpDownCounter<Attributes>; }
moduleName