UNPKG

arvo-core

Version:

The core Arvo package which provides application tier core primitives and contract system for building production-grade event-driven application. Provides ArvoEvent (CloudEvents-compliant), ArvoContract for type-safe service interfaces, event factories, O

18 lines (17 loc) 882 B
/** * Represents the available log levels for telemetry. * - DEBUG: Used for detailed information, typically of interest only when diagnosing problems. * - INFO: Used for general information about program execution. * - WARNING: Indicates an unexpected event or a potential problem that doesn't prevent the program from working. * - ERROR: Used for more serious problems that prevent a specific function or feature from working correctly. * - CRITICAL: Used for very serious errors that might prevent the entire program from running. */ export type TelemetryLogLevel = 'DEBUG' | 'INFO' | 'WARNING' | 'ERROR' | 'CRITICAL'; /** * Represents the context for telemetry. * See reference standard documentation [here](https://www.w3.org/TR/trace-context/#design-overview) */ export type OpenTelemetryHeaders = { traceparent: string | null; tracestate: string | null; };