1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/exporters/jaeger
bryan-aguilar b51c22123a
Integrate go-build-tools crosslink (#2886)
* Add crosslink build tool to makefile

* Execute crosslink prune

* Remove internal crosslink tool

* Add go-build-tools crosslink

* Fix crosslink target

* Execute make crosslink to clean up go.mod files

* Update CHANGELOG

* Misc go.sum update from make precommit

* Update CHANGELOG PR number

* Update crosslink target to include prune
2022-05-06 07:40:59 -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 emitBatchOverhead should only be used for splitting spans into batches (#2512) 2022-01-18 08:42:24 -08:00
agent.go Add godot linter to golangci (#2845) 2022-04-25 13:22:49 -07:00
assertsocketbuffersize_test.go Add go-1.17-compatible build directives. (#2263) 2021-09-28 09:08:14 -07:00
assertsocketbuffersize_windows_test.go rename assertsocketbuffersize.go to *_test (#2136) 2021-07-27 08:29:22 -07:00
doc.go Prerelease v1.0.0 (#2250) 2021-09-20 13:02:46 -07: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 Add godot linter to golangci (#2845) 2022-04-25 13:22:49 -07:00
go.mod Integrate go-build-tools crosslink (#2886) 2022-05-06 07:40:59 -07:00
go.sum Bump github.com/google/go-cmp from 0.5.7 to 0.5.8 (#2875) 2022-05-02 08:19:09 -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 Add semconv/v1.10.0 (#2842) 2022-04-22 07:41:28 -07:00
jaeger.go Add semconv/v1.10.0 (#2842) 2022-04-22 07:41:28 -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 Add godot linter to golangci (#2845) 2022-04-25 13:22:49 -07:00
uploader.go Add godot linter to golangci (#2845) 2022-04-25 13:22:49 -07: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