OTEL
v0.1.0 — OpenTelemetry tracing + SLO histograms for Hyper.
$ hyper add otel
Copies 2 files into src/hyper/otel/ and updates hyper.lock.json.
DEPS
- registry: core
FILES
- otel/index.ts
- otel/slo.ts
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
- /r/otel.json — latest
- /r/otel@0.1.0.json — immutable