Provides Zipkin distributed tracing instrumentation for gRPC applications using the SASDN framework. Version 0.1.5 is the latest stable release. It wraps gRPC clients and server middleware to automatically propagate trace context and record spans. Differentiators: tightly integrated with SASDN ecosystem, supports both server middleware and client proxy patterns, and allows custom tracer configuration. Compared to general-purpose Zipkin libraries, this package is purpose-built for SASDN-based microservices, offering a simple API for adding tracing without manual instrumentation.
npm install sasdn-middleware-grpc-zipkinNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to set up the Zipkin middleware for a SASDN gRPC server.
Ensure 'tracer' is either a valid Tracer instance or explicit 'false'; do not omit entirely.
Use 'GrpcInstrumentation.proxyClient()' only with valid 'grpc.Client' instances.
Replace 'import * as grpc from 'grpc'' with 'import * as grpc from '@grpc/grpc-js''.
Install compatible 'zipkin' version as per package.json peerDependencies.
Use '{ GrpcInstrumentation }' in the import statement.Run 'npm install sasdn-middleware-grpc-zipkin' and ensure TypeScript can resolve the module.
Pass a valid 'zipkin.Tracer' instance in the options object.
Instantiate the client correctly, e.g., 'new MyServiceClient('address', grpc.credentials.createInsecure())'.No dependency data recorded yet.