All files / packages/telemetry/src/semconv events.ts

100% Statements 9/9
100% Branches 0/0
100% Functions 0/0
100% Lines 9/9

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26        5x 5x 5x 5x 5x                   5x     5x   5x 5x  
// Point-in-time event names (first argument to `span.addEvent`) and the
// attribute keys those events carry. Namespaced by component so the driver's
// connection pool can't be confused with the query service's session pool.
 
export let EVENT_YDB_DRIVER_CONNECTION_ADDED = 'ydb.driver.connection.added'
export let EVENT_YDB_DRIVER_CONNECTION_PESSIMIZED = 'ydb.driver.connection.pessimized'
export let EVENT_YDB_DRIVER_CONNECTION_UNPESSIMIZED = 'ydb.driver.connection.unpessimized'
export let EVENT_YDB_DRIVER_CONNECTION_RETIRED = 'ydb.driver.connection.retired'
export let EVENT_YDB_DRIVER_CONNECTION_REMOVED = 'ydb.driver.connection.removed'
 
/**
 * @deprecated The endpoints engine has no fixed pessimization timer, so
 * `ydb:driver.connection.pessimized` no longer carries `until`. This attribute
 * is no longer emitted; kept only so existing dashboards don't fail to resolve
 * the symbol.
 * unix seconds
 */
export let ATTR_YDB_DRIVER_CONNECTION_PESSIMIZATION_UNTIL =
	'ydb.driver.connection.pessimization.until'
/** seconds */
export let ATTR_YDB_DRIVER_CONNECTION_PESSIMIZATION_DURATION =
	'ydb.driver.connection.pessimization.duration'
 
export let ATTR_YDB_DRIVER_CONNECTION_RETIRE_REASON = 'ydb.driver.connection.retire.reason'
export let ATTR_YDB_DRIVER_CONNECTION_REMOVE_REASON = 'ydb.driver.connection.remove.reason'