Gathering detailed insights and metrics for @opentelemetry/instrumentation-nestjs-core
Gathering detailed insights and metrics for @opentelemetry/instrumentation-nestjs-core
Gathering detailed insights and metrics for @opentelemetry/instrumentation-nestjs-core
Gathering detailed insights and metrics for @opentelemetry/instrumentation-nestjs-core
OpenTelemetry instrumentation for JavaScript modules
npm install @opentelemetry/instrumentation-nestjs-core
Typescript
Module System
Min. Node Version
Node Version
NPM Version
86.5
Supply Chain
94
Quality
88.5
Maintenance
100
Vulnerability
99.6
License
instrumentation-pg: v0.51.0
Published on 28 Jan 2025
instrumentation-mysql2: v0.45.1
Published on 28 Jan 2025
instrumentation-cucumber: v0.14.0
Published on 28 Jan 2025
auto-instrumentations-node: v0.56.0
Published on 28 Jan 2025
instrumentation-fastify: v0.44.1
Published on 20 Jan 2025
instrumentation-aws-lambda: v0.50.2
Published on 20 Jan 2025
TypeScript (97.91%)
JavaScript (2.08%)
Shell (0.01%)
Total Downloads
104,792,633
Last Day
600,234
Last Week
2,685,353
Last Month
11,305,036
Last Year
81,527,541
741 Stars
2,212 Commits
545 Forks
17 Watching
16 Branches
455 Contributors
Minified
Minified + Gzipped
Latest Version
0.44.0
Package Id
@opentelemetry/instrumentation-nestjs-core@0.44.0
Unpacked Size
50.51 kB
Size
12.45 kB
File Count
21
NPM Version
lerna/6.6.2/node@v18.20.5+x64 (linux)
Node Version
18.20.5
Publised On
18 Dec 2024
Cumulative downloads
Total Downloads
Last day
-2%
600,234
Compared to previous day
Last week
-12.2%
2,685,353
Compared to previous week
Last month
14.5%
11,305,036
Compared to previous month
Last year
321%
81,527,541
Compared to previous year
1
This module provides automatic instrumentation for the Nest framework module, which may be loaded using the @opentelemetry/sdk-trace-node
package and is included in the @opentelemetry/auto-instrumentations-node
bundle.
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 @opentelemetry/instrumentation-nestjs-core
@nestjs/core
versions >=4.0.0 <11
OpenTelemetry Nest Instrumentation allows the user to automatically collect trace data from the controller handlers and export them to the backend of choice.
To load a specific instrumentation (Nest in this case), specify it in the registerInstrumentations' configuration.
1const { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node'); 2const { NestInstrumentation } = require('@opentelemetry/instrumentation-nestjs-core'); 3const { registerInstrumentations } = require('@opentelemetry/instrumentation'); 4 5const provider = new NodeTracerProvider(); 6provider.register(); 7 8registerInstrumentations({ 9 instrumentations: [ 10 new NestInstrumentation(), 11 ], 12});
Name | nestjs.type | Description | Included attributes |
---|---|---|---|
Create Nest App | app_creation | Traces the bootup for the Nest App. The NestFactory(Static).create call. | nestjs.module |
<ControllerName>.<memberName> | request_context | Traces the whole request context. | http.* , nestjs.callback |
<memberName> | handler | Traces the work of a specific controller member function. | nestjs.callback |
This package uses @opentelemetry/semantic-conventions
version 1.22+
, which implements Semantic Convention Version 1.7.0
Attributes collected:
Attribute | Short Description |
---|---|
component * | "@nestjs/core" |
nestjs.version * | Version of instrumented @nestjs/core package |
nestjs.type * | See NestType |
nestjs.module | Nest module class name |
nestjs.controller | Nest controller class name |
nestjs.callback | The function name of the member in the controller |
http.method | HTTP method |
http.url | Full request URL |
http.route | Route assigned to handler. Ex: /users/:id |
* included in all of the spans.
Apache 2.0 - See LICENSE for more information.
No vulnerabilities found.
Reason
all changesets reviewed
Reason
30 commit(s) and 15 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
security policy file detected
Details
Reason
SAST tool is run on all commits
Details
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
project is not fuzzed
Details
Reason
22 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-01-27
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