Gathering detailed insights and metrics for @pw-tech/instrumentation-hyper-express
Gathering detailed insights and metrics for @pw-tech/instrumentation-hyper-express
Gathering detailed insights and metrics for @pw-tech/instrumentation-hyper-express
Gathering detailed insights and metrics for @pw-tech/instrumentation-hyper-express
OpenTelemetry instrumentation for JavaScript modules
npm install @pw-tech/instrumentation-hyper-express
Typescript
Module System
Min. Node Version
Node Version
NPM Version
49.9
Supply Chain
80.6
Quality
82.7
Maintenance
100
Vulnerability
98.9
License
instrumentation-restify: v0.48.1
Updated on Jun 12, 2025
instrumentation-redis: v0.49.1
Updated on Jun 12, 2025
instrumentation-net: v0.46.1
Updated on Jun 12, 2025
instrumentation-mongodb: v0.55.1
Updated on Jun 12, 2025
instrumentation-koa: v0.50.1
Updated on Jun 12, 2025
instrumentation-hapi: v0.49.0
Updated on Jun 12, 2025
TypeScript (97.58%)
JavaScript (2.42%)
Shell (0.01%)
Total Downloads
6,067
Last Day
1
Last Week
14
Last Month
490
Last Year
5,639
Apache-2.0 License
805 Stars
2,357 Commits
584 Forks
16 Watchers
8 Branches
293 Contributors
Updated on Jul 02, 2025
Minified
Minified + Gzipped
Latest Version
2.0.0-beta.1
Package Id
@pw-tech/instrumentation-hyper-express@2.0.0-beta.1
Unpacked Size
75.42 kB
Size
19.23 kB
File Count
30
NPM Version
10.9.0
Node Version
22.11.0
Published on
Mar 05, 2025
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
-61.1%
14
Compared to previous week
Last Month
-38.4%
490
Compared to previous month
Last Year
1,217.5%
5,639
Compared to previous year
4
1
20
[![NPM Published Version][npm-img]][npm-url] [![Apache License][license-image]][license-image]
This module provides automatic instrumentation for the hyper-express
module, which may be loaded using the @opentelemetry/sdk-trace-node
package and is included in the @opentelemetry/auto-instrumentations-node
bundle. It allows the user to automatically collect trace data and export them to their backend of choice.
If total installation size is not constrained, it is recommended to use the @opentelemetry/auto-instrumentations-node
bundle with @opentelemetry/sdk-node for the most seamless instrumentation experience.
Compatible with OpenTelemetry JS API and SDK 1.0+
.
1npm install --save @pw-tech/instrumentation-hyper-express
>=6.0.0
1const { HyperExpressInstrumentation } = require('@pw-tech/instrumentation-hyper-express'); 2const { ConsoleSpanExporter, SimpleSpanProcessor } = require('@opentelemetry/sdk-trace-base'); 3const { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node'); 4const { registerInstrumentations } = require('@opentelemetry/instrumentation'); 5 6const provider = new NodeTracerProvider(); 7 8provider.addSpanProcessor(new SimpleSpanProcessor(new ConsoleSpanExporter())); 9provider.register(); 10 11registerInstrumentations({ 12 instrumentations: [ 13 new HyperExpressInstrumentation() 14 ], 15}); 16
1let service = "your-service"; 2 3const tracer = require('dd-trace').init({ 4 service, 5}) 6const { TracerProvider } = tracer; 7const provider = new TracerProvider(); 8provider.register(); 9 10import HyperExpressInstrumentation from "@pw-tech/instrumentation-hyper-express"; 11const { 12 getNodeAutoInstrumentations 13} = require('@opentelemetry/auto-instrumentations-node'); 14 15new HyperExpressInstrumentation(); 16 17
For instrumenting Datadog set below in env
APM_TYPE=DD
For instrumenting Elastic (Default) - APM_TYPE=ELASTIC no need to set in env separately
This package uses @opentelemetry/semantic-conventions
version 1.22+
, which implements Semantic Convention Version 1.7.0
Attributes collected:
Attribute | Short Description |
---|---|
http.route | The matched route (path template). |
Apache 2.0 - See [LICENSE][license-url] for more information.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
all changesets reviewed
Reason
30 commit(s) and 13 issue activity found in the last 90 days -- score normalized to 10
Reason
update tool detected
Details
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
SAST tool is run on all commits
Details
Reason
30 out of 30 merged PRs checked by a CI test -- score normalized to 10
Reason
project has 42 contributing companies or organizations
Details
Reason
branch protection is not maximal on development and all release branches
Details
Reason
dependency not pinned by hash detected -- score normalized to 5
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
13 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-02T21:47:05Z
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More