UNPKG

@vtex/api

Version:
15 lines (14 loc) 546 B
import { InstrumentationBase, InstrumentationConfig } from "@opentelemetry/instrumentation"; import { MeterProvider } from '@opentelemetry/api'; interface HostMetricsInstrumentationConfig extends InstrumentationConfig { name?: string; meterProvider?: MeterProvider; } export declare class HostMetricsInstrumentation extends InstrumentationBase<HostMetricsInstrumentationConfig> { private hostMetrics?; constructor(config?: HostMetricsInstrumentationConfig); init(): void; enable(): void; disable(): void; } export {};