npm.io
0.0.6 • Published 12h ago

@forklaunch/opentelemetry-instrumentation-hyper-express

Licence
Apache-2.0
Version
0.0.6
Deps
3
Size
45 kB
Vulns
0
Weekly
0

opentelemetry-instrumentation-hyper-express

An OpenTelemetry Instrumentation for HyperExpress, specifically built for forklaunch.

What this does:

  • Wraps apis in spans that give debugging information and tracks middleware execution as well.

How can it be improved:

  • Integrate with uwebsockets instrumentation to capture lower level telemetry as part of the instrumentation,
  • Conform more to the style laid out in other instrumentation libraries,
  • Tests.

What makes it unique to forklaunch:

  • Certain metadata is added in a first party way; this can be added via the requestHook pattern,
  • Does not make use of safeExecute functions from OTLP libraries, due to how forklaunch handles errors.

Keywords