1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-24 20:14:40 +02:00
opentelemetry-go/exporters/jaeger
Tyler Yahn 87d09df346
Deprecate Array attribute in favor of *Slice types (#2162)
* Deprecate Array attribute in favor of *Slice types

* Use new attr types in Jaeger exporter

* Use slice attr types in otlpmetric

* Use slice attr types in otlptrace

* Use slice attr types in zipkin exporter

* Remove array attr test from deprectated oteltest func

* Use StringSlice for cmd arg resource attr

* Add changes to the changelog

* Remove use of deprecated Array func
2021-08-12 08:05:42 -07:00
..
internal Deprecate the exporters in the "trace" and "metric" sub-directories (#1993) 2021-06-12 11:39:22 -07:00
agent_test.go Deprecate the exporters in the "trace" and "metric" sub-directories (#1993) 2021-06-12 11:39:22 -07:00
agent.go Deprecate the exporters in the "trace" and "metric" sub-directories (#1993) 2021-06-12 11:39:22 -07:00
assertsocketbuffersize_test.go rename assertsocketbuffersize.go to *_test (#2136) 2021-07-27 08:29:22 -07:00
assertsocketbuffersize_windows_test.go rename assertsocketbuffersize.go to *_test (#2136) 2021-07-27 08:29:22 -07:00
doc.go Pre-release 1.0.0-RC1 (#2013) 2021-06-18 11:22:16 -04:00
env_test.go Deprecate the exporters in the "trace" and "metric" sub-directories (#1993) 2021-06-12 11:39:22 -07:00
env.go Fix Jaeger exporter agent port default value and docs (#2131) 2021-07-29 13:48:04 -04:00
go.mod Move OC bridge integration tests to own mod (#2165) 2021-08-09 09:24:43 -07:00
go.sum OS description attribute detector (#1840) 2021-07-08 13:35:27 -07:00
jaeger_benchmark_test.go Deprecate the exporters in the "trace" and "metric" sub-directories (#1993) 2021-06-12 11:39:22 -07:00
jaeger_test.go Deprecate Array attribute in favor of *Slice types (#2162) 2021-08-12 08:05:42 -07:00
jaeger.go Deprecate Array attribute in favor of *Slice types (#2162) 2021-08-12 08:05:42 -07:00
README.md Fix Jaeger exporter agent port default value and docs (#2131) 2021-07-29 13:48:04 -04:00
reconnecting_udp_client_test.go Deprecate the exporters in the "trace" and "metric" sub-directories (#1993) 2021-06-12 11:39:22 -07:00
reconnecting_udp_client.go Deprecate the exporters in the "trace" and "metric" sub-directories (#1993) 2021-06-12 11:39:22 -07:00
uploader.go Fix Jaeger exporter agent port default value and docs (#2131) 2021-07-29 13:48:04 -04:00

OpenTelemetry-Go Jaeger Exporter

Go Reference

OpenTelemetry span exporter for Jaeger implementation.

Installation

go get -u go.opentelemetry.io/otel/exporters/jaeger

Example

See ../../example/jaeger.

Configuration

The exporter can be used to send spans to:

Environment Variables

The following environment variables can be used (instead of options objects) to override the default configuration.

Environment variable Option Default value
OTEL_EXPORTER_JAEGER_AGENT_HOST WithAgentHost localhost
OTEL_EXPORTER_JAEGER_AGENT_PORT WithAgentPort 6831
OTEL_EXPORTER_JAEGER_ENDPOINT WithEndpoint http://localhost:14268/api/traces
OTEL_EXPORTER_JAEGER_USER WithUsername
OTEL_EXPORTER_JAEGER_PASSWORD WithPassword

Configuration using options have precedence over the environment variables.

Contributing

This exporter uses a vendored copy of the Apache Thrift library (v0.14.1) at a custom import path. When re-generating Thrift code in the future, please adapt import paths as necessary.

References