Skip to content

Commit

Permalink
s#grpc#@grpc/grpc-js#
Browse files Browse the repository at this point in the history
  • Loading branch information
lizthegrey committed Apr 21, 2021
1 parent 1975f3f commit c6dd0d4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/opentelemetry-exporter-collector-grpc/README.md
Expand Up @@ -44,8 +44,7 @@ By default, plaintext connection is used. In order to use TLS in Node.js, provid

```js
const fs = require('fs');
// Must be 'grpc', _not_ '@grpc/grpc-js'
const grpc = require('grpc');
const grpc = require('@grpc/grpc-js');
const Graceful = require('node-graceful');

const { BasicTracerProvider, SimpleSpanProcessor } = require('@opentelemetry/tracing');
Expand Down Expand Up @@ -84,8 +83,7 @@ To generate credentials for mutual authentication, you can refer to the script u
The exporter can be configured to send custom metadata with each request as in the example below:

```js
// Must be 'grpc', _not_ '@grpc/grpc-js'
const grpc = require('grpc');
const grpc = require('@grpc/grpc-js');
const Graceful = require('node-graceful');

const { BasicTracerProvider, SimpleSpanProcessor } = require('@opentelemetry/tracing');
Expand Down

0 comments on commit c6dd0d4

Please sign in to comment.