Skip to content

Commit 1826a4b

Browse files
committed
Add opentelemetry bridge - add tests
1 parent 10df8dc commit 1826a4b

File tree

5 files changed

+1234
-314
lines changed

5 files changed

+1234
-314
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# lightstep-otel-bridge tracer
2+
3+
As with [other tracers](https://pkg.go.dev/github.com/zalando/skipper/tracing), the lightstep-otel-bridge tracer is configured by setting
4+
`-opentracing="lightstep-otel-bridge OPTIONS"`. Valid options are:
5+
6+
* `component-name` - set component name instead of `skipper`
7+
* `access-token` - Access token for the lightstep satellites (REQUIRED)
8+
* `protocol` - sets `UseGRPC` option to true if set to `"grpc"`, defaults to `"grpc"`, but can be set to `"http"`
9+
* `tag` - key-value pairs (`key=value`) separated by commas (`,`) to set as tags
10+
in every span
11+
* `environment` - set the environment tag, defaults to `dev`
12+
* `service-name` - set the service name tag, defaults to `skipper`
13+
* `service-version` - set the service version tag, defaults to `unknown`
14+
* `batch-size` - maximum number of spans to send in a batch
15+
* `batch-timeout` - maximum time ms to wait before sending spans to the satellites
16+
* `processor-queue-size` - maximum number of spans to queue before sending to the satellites
17+
* `export-timeout` - maximum time to wait in ms for a batch to be sent
18+
* `collector` - hostname (+port) - (e.g. `lightstep-satellites.example.org:4443`) to send the
19+
spans to, i.e. your lightstep satellites
20+
* `insecure-connection` (boolean) - force plaintext communication with satellites
21+
* `propagators` - set propagators to use (i.e. format of http headers used for tracing). This can be used
22+
to pick up traces from / to applications which only understand the B3 format (e.g. grafana where the
23+
jaeger instrumentation can be switched to use the B3 format). This can be combined, e.g. `ottrace,b3`
24+
should be used to pick up both formats (attempted in that order).
25+
* `ottrace` - use the standard lightstep headers (default)
26+
* `b3` - use the B3 propagation format
27+
* `baggage` - use the baggage propagation format
28+
* `tracecontext` - use the tracecontext propagation format

0 commit comments

Comments
 (0)