Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@opentelemetry/plugin-grpc
Advanced tools
This module provides automatic instrumentation for grpc
. Currently, version 1.x
of the Node.js gRPC library is supported.
For automatic instrumentation see the @opentelemetry/node package.
npm install --save @opentelemetry/plugin-grpc
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.
To load a specific plugin (gRPC in this case), specify it in the Node Tracer's configuration.
const { NodeTracerProvider } = require('@opentelemetry/node');
const provider = new NodeTracerProvider({
plugins: {
grpc: {
enabled: true,
// You may use a package name or absolute path to the file.
path: '@opentelemetry/plugin-grpc',
// gRPC plugin options
}
}
});
To load all of the supported plugins, use below approach. Each plugin is only loaded when the module that it patches is loaded; in other words, there is no computational overhead for listing plugins for unused modules.
const { NodeTracerProvider } = require('@opentelemetry/node');
const provider = new NodeTracerProvider();
See examples/grpc for a short example.
gRPC plugin accepts the following configuration:
Options | Type | Description |
---|---|---|
ignoreGrpcMethods | IgnoreMatcher[] | gRPC plugin 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. |
Apache 2.0 - See LICENSE for more information.
0.13.0
opentelemetry-api
, opentelemetry-exporter-collector-grpc
, opentelemetry-exporter-collector-proto
, opentelemetry-exporter-collector
, opentelemetry-exporter-prometheus
, opentelemetry-metrics
, opentelemetry-sdk-node
opentelemetry-api
, opentelemetry-exporter-collector-grpc
, opentelemetry-exporter-collector-proto
, opentelemetry-exporter-collector
, opentelemetry-exporter-jaeger
, opentelemetry-exporter-zipkin
, opentelemetry-grpc-utils
, opentelemetry-plugin-grpc-js
, opentelemetry-plugin-grpc
, opentelemetry-plugin-http
, opentelemetry-plugin-https
, opentelemetry-shim-opentracing
, opentelemetry-tracing
opentelemetry-core
, opentelemetry-exporter-collector-proto
, opentelemetry-exporter-collector
, opentelemetry-exporter-jaeger
, opentelemetry-exporter-prometheus
, opentelemetry-exporter-zipkin
, opentelemetry-metrics
, opentelemetry-tracing
opentelemetry-api
, opentelemetry-core
, opentelemetry-plugin-fetch
, opentelemetry-plugin-xml-http-request
, opentelemetry-propagator-b3
, opentelemetry-web
opentelemetry-api
, opentelemetry-core
, opentelemetry-plugin-fetch
, opentelemetry-plugin-grpc-js
, opentelemetry-plugin-grpc
, opentelemetry-shim-opentracing
opentelemetry-resource-detector-aws
opentelemetry-api
, opentelemetry-exporter-collector-grpc
, opentelemetry-exporter-collector-proto
, opentelemetry-exporter-collector
, opentelemetry-exporter-prometheus
, opentelemetry-metrics
, opentelemetry-sdk-node
opentelemetry-tracing
opentelemetry-semantic-conventions
opentelemetry-exporter-collector-grpc
, opentelemetry-exporter-collector-proto
, opentelemetry-exporter-collector
, opentelemetry-exporter-prometheus
, opentelemetry-metrics
opentelemetry-exporter-collector-proto
, opentelemetry-exporter-collector
opentelemetry-instrumentation-xml-http-request
opentelemetry-instrumentation-xml-http-request
, opentelemetry-instrumentation
, opentelemetry-web
opentelemetry-core
, opentelemetry-tracing
opentelemetry-exporter-zipkin
opentelemetry-api
, opentelemetry-node
, opentelemetry-plugin-fetch
, opentelemetry-tracing
opentelemetry-exporter-zipkin
, opentelemetry-plugin-http
, opentelemetry-tracing
opentelemetry-api
, opentelemetry-core
, opentelemetry-tracing
opentelemetry-api
, opentelemetry-core
, opentelemetry-plugin-http
, opentelemetry-plugin-https
, opentelemetry-propagator-b3
opentelemetry-plugin-xml-http-request
, opentelemetry-tracing
opentelemetry-api
, opentelemetry-core
opentelemetry-tracing
opentelemetry-exporter-collector-grpc
, opentelemetry-exporter-collector-proto
, opentelemetry-exporter-collector
opentelemetry-context-zone-peer-dep
, opentelemetry-context-zone
, opentelemetry-instrumentation-xml-http-request
opentelemetry-api
opentelemetry-context-zone-peer-dep
, opentelemetry-web
FAQs
OpenTelemetry grpc automatic instrumentation package.
The npm package @opentelemetry/plugin-grpc receives a total of 190 weekly downloads. As such, @opentelemetry/plugin-grpc popularity was classified as not popular.
We found that @opentelemetry/plugin-grpc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.