Observability schema definitions and utilities for structured telemetry data. Current stable version is 264.70.0, released with high frequency (minor/patch updates daily). Provides JSON Schema and TypeScript types for logs, metrics, and traces. Differentiated by versioned, opinionated schemas for multi-vendor interoperability and strict validation. No official documentation available; primarily a dependency for observability toolchains.
npm install o11y_schemaNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Imports the default schema object and validates a log entry against the LogSchema.
Upgrade Node.js to v18+
Replace MetricSchema with MetricsSchema in imports
Use SpanSchema instead of TraceSchema
Import specific submodules: import { mergeSchemas } from 'o11y_schema/utils'Run npm install o11y_schema
Use schema.LogSchema.validate(data) correctly or import Validator separately
No dependency data recorded yet.