Module otel/helpers/common

🛠️ OpenTelemetry Common Helper Functions

Essential utility functions for working with OpenTelemetry data structures. These helpers make it easy to create, convert, and manipulate telemetry data while maintaining type safety and following OpenTelemetry conventions.

Type Aliases

EmptyJsonArray
Nanos

Variables

emptyJsonArray

Functions

createAnyValue
createAttributes
createInstrumentationScope
createKeyValue
createResource
extractAnyValue
extractAttributes
getCurrentTimeNanos
msToNanos
nanosToMs