New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@vymalo/opencode-core-otel

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vymalo/opencode-core-otel

Shared OpenTelemetry engine (exporters, recorder, resource, token-source seam) for the @vymalo OpenCode plugin suite.

latest
Source
npmnpm
Version
0.17.0
Version published
Maintainers
1
Created
Source

@vymalo/opencode-core-otel

Shared OpenTelemetry engine for the @vymalo OpenCode plugin suite. Holds the exporter wiring, resource building, the telemetry recorder, and the token-source seam in one place so @vymalo/opencode-otel (and any future OTEL-aware plugin) can share it instead of forking it.

Extracted from @vymalo/opencode-otel.

What it provides

  • config.ts — resolveOtelConfig and the env/command parsing it depends on.
  • providers.ts — createProviders / buildResource, the OTLP exporter and SDK provider wiring for traces, metrics and logs.
  • recorder.ts — TelemetryRecorder, the OpenCode-hook-to-OTEL-signal mapper.
  • instruments.ts — the counters/histograms the recorder writes through.
  • token-source.ts — bearer-token injection for authenticated OTLP exporters.
  • export-logging.ts — failure-logging wrapper around exporters.
  • propagation.ts — W3C trace-context propagation into provider fetch.
  • vcs.ts — git remote/branch detection for resource attributes.
  • deferred.ts — bounded-wait resource attributes for late-arriving events.
  • logging.ts — structured logger with level filtering.
  • types.ts — the shared config/option types.

Usage

import { resolveOtelConfig, createProviders, TelemetryRecorder } from "@vymalo/opencode-core-otel";

For the full surface import from @vymalo/opencode-core-otel/lib.

Development

pnpm --filter @vymalo/opencode-core-otel build
pnpm --filter @vymalo/opencode-core-otel typecheck
pnpm --filter @vymalo/opencode-core-otel test
pnpm --filter @vymalo/opencode-core-otel coverage

Keywords

opencode

FAQs

Package last updated on 04 Sep 2026

Related posts