@sperax/observability-otel
v0.2.2
Published
OpenTelemetry tracing and metrics for SperaxOS, with GenAI semantic conventions
Maintainers
Readme
@sperax/observability-otel
Install
npm install @sperax/observability-otel@sperax/observability-otel
OpenTelemetry tracing and metrics for SperaxOS, with GenAI semantic conventions
Usage
Source-first workspace package — there is no build step. TypeScript resolves it through
workspace:*, so importing it is all that is required:
import { ATTR_GEN_AI_OPERATION_NAME, ATTR_GEN_AI_REQUEST_MODEL, attributesCommon } from '@sperax/observability-otel';Exports
@sperax/observability-otel
ATTR_GEN_AI_OPERATION_NAME · ATTR_GEN_AI_REQUEST_MODEL · attributesCommon · buildUpstashWorkflowAttributes · context · Context · Counter · Histogram · layerEntriesHistogram · memoryTracer · processedDurationHistogram · processedSourceCounter · Span · SpanOptions · SpanStatusCode · Tracer · workflowTracer
@sperax/observability-otel/api
context · Context · Counter · Histogram · Span · SpanOptions · SpanStatusCode · Tracer
@sperax/observability-otel/attributes
attributesCommon
@sperax/observability-otel/gen-ai
ATTR_GEN_AI_OPERATION_NAME · ATTR_GEN_AI_REQUEST_MODEL
@sperax/observability-otel/modules/memory-user-memory
gateKeeperCallDurationHistogram · gateKeeperCallsCounter · layerCallDurationHistogram · layerEntriesHistogram · layersCallsCounter · processedDurationHistogram · processedSourceCounter · tracer
@sperax/observability-otel/modules/upstash-workflow
buildUpstashWorkflowAttributes · tracer
Development
This package has no tests yet. New tests go in packages/observability-otel/src/__tests__/, with the basename matching the source file.
Source: packages/observability-otel
Part of SperaxOS — the open-source AI agent workspace for DeFi. See CONTRIBUTING.md before opening a pull request.
License
observability-otel is released under the Apache-2.0 license.
