UNPKG

@opentelemetry/instrumentation-runtime-node

Version:
13 lines 594 B
import { MetricCollector } from '../types/metricCollector'; import { Meter } from '@opentelemetry/api'; import { RuntimeNodeInstrumentationConfig } from '../types'; export declare abstract class BaseCollector implements MetricCollector { protected _config: RuntimeNodeInstrumentationConfig; constructor(config?: RuntimeNodeInstrumentationConfig); disable(): void; enable(): void; abstract updateMetricInstruments(meter: Meter): void; protected abstract internalEnable(): void; protected abstract internalDisable(): void; } //# sourceMappingURL=baseCollector.d.ts.map