import { InstrumentationConfig } from '@opentelemetry/instrumentation'; import { GrpcInstrumentationConfig } from './types'; import * as api from '@opentelemetry/api'; import { MeterProvider } from '@opentelemetry/api-metrics'; /** The metadata key under which span context is stored as a binary value. */ export declare const GRPC_TRACE_KEY = "grpc-trace-bin"; export declare class GrpcInstrumentation { protected _config: GrpcInstrumentationConfig & InstrumentationConfig; private _grpcNativeInstrumentation; private _grpcJsInstrumentation; readonly instrumentationName: string; readonly instrumentationVersion: string; constructor(_config?: GrpcInstrumentationConfig & InstrumentationConfig); setConfig(config?: GrpcInstrumentationConfig & InstrumentationConfig): void; /** * @internal * Public reference to the protected BaseInstrumentation `_config` instance to be used by this * plugin's external helper functions */ getConfig(): GrpcInstrumentationConfig & InstrumentationConfig; init(): void; enable(): void; disable(): void; /** * Sets MeterProvider to this plugin * @param meterProvider */ setMeterProvider(meterProvider: MeterProvider): void; /** * Sets TraceProvider to this plugin * @param tracerProvider */ setTracerProvider(tracerProvider: api.TracerProvider): void; }