Skip to content

Commit

Permalink
docs: add note about endpoint config option (#1234)
Browse files Browse the repository at this point in the history
Co-authored-by: Mayur Kale <[email protected]>
  • Loading branch information
danielmbarlow and mayurkale22 authored Jun 24, 2020
1 parent 21fae0a commit 66f49a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/opentelemetry-exporter-jaeger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,11 @@ import { JaegerExporter } from '@opentelemetry/exporter-jaeger';
const options = {
serviceName: 'my-service',
tags: [], // optional
// You can use the default UDPSender
host: 'localhost', // optional
port: 6832, // optional
// OR you can use the HTTPSender as follows
// endpoint: 'http://localhost:14268/api/traces',
maxPacketSize: 65000 // optional
}
const exporter = new JaegerExporter(options);
Expand Down

0 comments on commit 66f49a7

Please sign in to comment.