Gathering detailed insights and metrics for @opentelemetry/instrumentation-grpc
Gathering detailed insights and metrics for @opentelemetry/instrumentation-grpc
Gathering detailed insights and metrics for @opentelemetry/instrumentation-grpc
Gathering detailed insights and metrics for @opentelemetry/instrumentation-grpc
@opentelemetry/plugin-grpc
OpenTelemetry grpc automatic instrumentation package.
@opentelemetry/plugin-grpc-js
OpenTelemetry @grpc/grpc-js automatic instrumentation package.
@codeparrot/instrumentation-grpc
Dependency of @codeparrot/js-agent
nice-grpc-opentelemetry
OpenTelemetry instrumentation for nice-grpc
OpenTelemetry JavaScript Client
npm install @opentelemetry/instrumentation-grpc
Typescript
Module System
Min. Node Version
Node Version
NPM Version
94.1
Supply Chain
89.9
Quality
89.6
Maintenance
100
Vulnerability
99.3
License
semconv/v1.33.0
Updated on May 07, 2025
semconv/v1.32.0
Updated on Apr 10, 2025
semconv/v1.31.0
Updated on Apr 09, 2025
experimental/v0.200.0
Updated on Mar 17, 2025
v2.0.0
Updated on Mar 17, 2025
experimental/v0.57.2
Updated on Feb 13, 2025
TypeScript (96.82%)
JavaScript (3%)
Jinja (0.1%)
Shell (0.08%)
Total Downloads
145,514,847
Last Day
377,528
Last Week
2,106,492
Last Month
9,110,391
Last Year
85,393,271
Apache-2.0 License
2,956 Stars
2,646 Commits
884 Forks
53 Watchers
9 Branches
531 Contributors
Updated on May 09, 2025
Minified
Minified + Gzipped
Latest Version
0.200.0
Package Id
@opentelemetry/instrumentation-grpc@0.200.0
Unpacked Size
134.22 kB
Size
30.04 kB
File Count
36
NPM Version
lerna/6.6.2/node@v18.20.7+x64 (linux)
Node Version
18.20.7
Published on
Mar 17, 2025
Cumulative downloads
Total Downloads
Last Day
33.2%
377,528
Compared to previous day
Last Week
3.1%
2,106,492
Compared to previous week
Last Month
-2.7%
9,110,391
Compared to previous month
Last Year
101.8%
85,393,271
Compared to previous year
1
20
Note: This is an experimental package under active development. New releases may include breaking changes.
This module provides automatic instrumentation for @grpc/grpc-js
. Currently, version 1.x
of @grpc/grpc-js
is supported.
For automatic instrumentation see the @opentelemetry/sdk-trace-node package.
1npm install --save @opentelemetry/instrumentation-grpc
@grpc/grpc-js
versions ^1.0.0
OpenTelemetry gRPC Instrumentation allows the user to automatically collect trace data and export them to the backend of choice, to give observability to distributed systems when working with (grpc-js).
To load a specific instrumentation (gRPC in this case), specify it in the Node Tracer's configuration.
1const { NodeTracerProvider } = require('@opentelemetry/sdk-trace-node'); 2const { GrpcInstrumentation } = require('@opentelemetry/instrumentation-grpc'); 3const { registerInstrumentations } = require('@opentelemetry/instrumentation'); 4 5const provider = new NodeTracerProvider({ 6 spanProcessors: [new SimpleSpanProcessor(new ConsoleSpanExporter())] 7}); 8 9provider.register(); 10 11registerInstrumentations({ 12 instrumentations: [new GrpcInstrumentation()] 13}); 14
See examples/grpc-js for examples.
gRPC instrumentation accepts the following configuration:
Options | Type | Description |
---|---|---|
ignoreGrpcMethods | IgnoreMatcher[] | gRPC instrumentation will not trace any methods that match anything in this list. You may pass a string (case-insensitive match), a RegExp object, or a filter function. |
metadataToSpanAttributes | object | List of case insensitive metadata to convert to span attributes. Client and server (outgoing requests, incoming responses) metadata attributes will be converted to span attributes in the form of rpc.{request\response}.metadata.metadata_key , e.g. rpc.response.metadata.date |
Apache 2.0 - See LICENSE for more information.
No vulnerabilities found.
Reason
update tool detected
Details
Reason
30 commit(s) and 18 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
all changesets reviewed
Reason
no binaries found in the repo
Reason
SAST tool is run on all commits
Details
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
30 out of 30 merged PRs checked by a CI test -- score normalized to 10
Reason
project has 44 contributing companies or organizations
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
Project has not signed or included provenance with any releases.
Details
Reason
project is not fuzzed
Details
Reason
11 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-05-08T22:17:45Z
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