UNPKG

@opentelemetry/instrumentation-cassandra-driver

Version:

OpenTelemetry instrumentation for `cassandra-driver` database client library for Apache Cassandra

18 lines 828 B
import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation'; import { CassandraDriverInstrumentationConfig } from './types'; export declare class CassandraDriverInstrumentation extends InstrumentationBase<CassandraDriverInstrumentationConfig> { private _netSemconvStability; private _dbSemconvStability; constructor(config?: CassandraDriverInstrumentationConfig); private _setSemconvStabilityFromEnv; protected init(): InstrumentationNodeModuleDefinition; private _getMaxQueryLength; private _shouldIncludeDbStatement; private _getPatchedExecute; private _getPatchedSendOnConnection; private _getPatchedBatch; private _getPatchedStream; private startSpan; private _callResponseHook; } //# sourceMappingURL=instrumentation.d.ts.map