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
OpenTelemetry Bot e3f547fedd
dependabot updates Tue Jun 20 09:20:10 UTC 2023 (#4240)
Bump google.golang.org/grpc from 1.55.0 to 1.56.0 in /bridge/opentracing/test
Bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0 in /example/view
Bump github.com/golangci/golangci-lint from 1.53.2 to 1.53.3 in /internal/tools
Bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0 in /exporters/prometheus
Bump golang.org/x/tools from 0.9.3 to 0.10.0 in /internal/tools
Bump google.golang.org/grpc from 1.55.0 to 1.56.0 in /exporters/otlp/otlpmetric/otlpmetricgrpc
Bump google.golang.org/grpc from 1.55.0 to 1.56.0 in /exporters/otlp/otlpmetric
Bump google.golang.org/grpc from 1.55.0 to 1.56.0 in /exporters/otlp/otlptrace/otlptracegrpc
Bump google.golang.org/grpc from 1.55.0 to 1.56.0 in /exporters/otlp/otlptrace
Bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0 in /example/prometheus
Bump google.golang.org/grpc from 1.55.0 to 1.56.0 in /example/otel-collector
Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /sdk
2023-06-20 11:38:28 +02:00
..
internal Use strings.Cut() instead of string.SplitN() (#4049) 2023-05-17 09:28:44 -07:00
agent_test.go feat(exporter): Jaeger and Zipkin exporter use logr as the logging interface (#3500) 2022-12-08 08:04:43 -08:00
agent.go feat(exporter): Jaeger and Zipkin exporter use logr as the logging interface (#3500) 2022-12-08 08:04:43 -08: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 Handle empty env vars as it they were not set (#3764) 2023-02-28 12:43:48 -08:00
go.mod dependabot updates Tue Jun 20 09:20:10 UTC 2023 (#4240) 2023-06-20 11:38:28 +02:00
go.sum dependabot updates Tue Jun 20 09:20:10 UTC 2023 (#4240) 2023-06-20 11:38:28 +02: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 Use semconv creation functions (#3683) 2023-02-07 13:42:47 -08:00
jaeger.go Use semconv creation functions (#3683) 2023-02-07 13:42:47 -08:00
README.md [chore] Pin otel-specification hyperlinks (#4033) 2023-05-09 08:45:39 -07:00
reconnecting_udp_client_test.go docs(typos): Run codespell to fix typos (#3980) 2023-04-11 17:28:13 -07:00
reconnecting_udp_client.go feat(exporter): Jaeger and Zipkin exporter use logr as the logging interface (#3500) 2022-12-08 08:04:43 -08:00
uploader.go feat(exporter): Jaeger and Zipkin exporter use logr as the logging interface (#3500) 2022-12-08 08:04:43 -08: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