HYPERJS.AI

OTEL

v0.1.0OpenTelemetry tracing + SLO histograms for Hyper.

$ hyper add otel

Copies 2 files into src/hyper/otel/ and updates hyper.lock.json.

DEPS

FILES

README

@hyper/otel

OpenTelemetry tracing + SLO histograms for Hyper.

Install

Components are installed as source into your repo, not pulled from npm:

bunx hyper add otel

Wires the alias @hyper/otel to src/hyper/otel/ (configurable in hyper.config.json). See hyperjs.ai for the full registry.

Usage

import { Hyper } from "@hyper/core"
import { otelMiddleware } from "@hyper/otel"

export default new Hyper()
  .use(otelMiddleware())
  .listen(3000)

Docs

See the main README and docs/ for guides and integration recipes.

License

MIT

MANIFEST