{"library":"zipkin-instrumentation-grpc","type":"library","category":null,"description":"Interceptor for instrumenting gRPC calls with Zipkin distributed tracing. Version 0.0.8 is the latest and only stable release. It provides explicit manual instrumentation hooks for client and server sides, supporting both Node.js and Go gRPC servers. Unlike automatic wrappers, this library requires developers to call methods like beforeClientDoGrpcCall, uponServerRecvGrpcCall, uponServerFinishRespond, and afterGrpcCallFinish manually. It depends on zipkin, zipkin-context-cls, and optionally zipkin-transport-http. It uses a global variable ZIPKIN_GRPC_INTCP to hold the interceptor instance. The library is part of the official OpenZipkin JavaScript project.","language":"javascript","status":"active","version":"0.0.8","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install zipkin-instrumentation-grpc","imports":["const ZipkinGrpcInterceptor = require('zipkin-instrumentation-grpc'); const interceptor = new ZipkinGrpcInterceptor(tracer);","global.ZIPKIN_GRPC_INTCP = new (require('zipkin-instrumentation-grpc'))(tracer);","const CLSContext = require('zipkin-context-cls'); const ctxImpl = new CLSContext('zipkin');"]},{"cmd":"yarn add zipkin-instrumentation-grpc","imports":[]},{"cmd":"pnpm add zipkin-instrumentation-grpc","imports":[]}],"homepage":"https://github.com/openzipkin/zipkin-js#readme","github":"https://github.com/openzipkin/zipkin-js","docs":null,"changelog":null,"pypi":null,"npm":"zipkin-instrumentation-grpc","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}