Skip to content

[codex] Remove OpenTelemetry npm dependencies#2

Merged
philcunliffe merged 1 commit into
masterfrom
codex/remove-opentelemetry
May 21, 2026
Merged

[codex] Remove OpenTelemetry npm dependencies#2
philcunliffe merged 1 commit into
masterfrom
codex/remove-opentelemetry

Conversation

@philcunliffe
Copy link
Copy Markdown
Contributor

Summary

  • Remove all direct @opentelemetry npm dependencies and prune the lockfile.
  • Replace the previous OpenTelemetry SDK wiring with a small local observability runtime that preserves spans, active context, logs, metrics, JSONL dev telemetry, and OTLP/HTTP export.
  • Update plugin and core call sites to use the local observability facade instead of importing @opentelemetry/api directly.

Impact

The package no longer installs the OpenTelemetry npm stack. The developer telemetry contract remains available through the existing HypAware observability helpers.

Validation

  • rg "@opentelemetry" package.json package-lock.json src hypaware-core collectivus --glob "!node_modules/**"
  • npm ls --all
  • node --check src/core/observability/runtime.js
  • node --check src/core/observability/otlp_exporters.js
  • node --check src/core/cli/dispatch.js
  • node --check hypaware-core/plugins-workspace/format-jsonl/src/index.js
  • node --check hypaware-core/plugins-workspace/format-parquet/src/index.js
  • node --check hypaware-core/plugins-workspace/otel/src/collector.js
  • npm run smoke -- core_boot_noop
  • npm run smoke -- command_dispatch
  • npm run smoke -- local_parquet_export
  • npm run smoke -- otel_loopback_capture
  • npm run smoke -- ai_gateway_passthrough
  • npm run smoke -- blob_sink_parquet_local_fs

@philcunliffe philcunliffe marked this pull request as ready for review May 21, 2026 16:55
@philcunliffe philcunliffe merged commit a230594 into master May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant