2.1.1 • Published 1 year ago

grpc-opentracing v2.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
1 year ago

grpc-opentracing

npm version npm downloads

Interceptors for client and server to track calls through opentracing

Install

npm i grpc-opentracing

Usage

const { clientInterceptor, serverInterceptor } = require("grpc-opentracing");

/*...*/

const server = new GrpcHostBuilder()
  /*...*/
  .addInterceptor(serverInterceptor)
  /*...*/
  .bind(grpcBind)
  .build();

/*...*/
const client = new ServerClient(grpcBind, grpc.credentials.createInsecure(), { interceptors: [clientInterceptor] });
2.1.1

1 year ago

2.1.0

2 years ago

2.0.0

3 years ago

1.0.0

4 years ago