UNPKG

@myrotvorets/opentelemetry-plugin-knex

Version:
11 lines (10 loc) 355 B
import { Attributes } from '@opentelemetry/api'; import type { Knex } from 'knex'; export declare class ConnectionAttributes { private readonly attributes; constructor(connection: Readonly<Knex.StaticConnectionConfig>); getAttributes(): Readonly<Attributes>; private parseConnection; private setDbName; private setNetAttributes; }