@vtex/api
Version:
VTEX I/O API client
15 lines (14 loc) • 546 B
TypeScript
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 {};