1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-12 02:28:07 +02:00
opentelemetry-go/exporters/jaeger
Robert Pająk d78820e905
Deprecate exporters/jaeger (#4423)
* Deprecate exporters/jaeger

* Delete jaeger example

* Remove jaeger exporter from docs

* Remove example from docs

* Update CHANGELOG.md

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Revert "Delete jaeger example"

This reverts commit 1a2b47bc9a.

* Revert "Remove example from docs"

This reverts commit 682db01075.

* Add nolint comment

* Remove Jaeger from main README

* Deprecate example/jaeger

* Apply suggestions from code review

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update go.mod

* Update main.go

* fix lint

---------

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
2023-08-15 08:54:50 -07:00
..
internal Generate internal/matchers (#4430) 2023-08-10 16:00:53 -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 Deprecate exporters/jaeger (#4423) 2023-08-15 08:54:50 -07:00
env_test.go Decouple use of otel/internal/internaltest (#4424) 2023-08-09 09:15:47 +02:00
env.go Handle empty env vars as it they were not set (#3764) 2023-02-28 12:43:48 -08:00
go.mod Deprecate exporters/jaeger (#4423) 2023-08-15 08:54:50 -07:00
go.sum dependabot updates Sun Aug 6 09:27:21 UTC 2023 (#4416) 2023-08-06 11:37:32 +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 Decouple use of otel/internal/internaltest (#4424) 2023-08-09 09:15:47 +02:00
jaeger.go Upgrade all use of semconv to v1.21.0 (#4408) 2023-08-07 09:30:40 -07:00
README.md Deprecate exporters/jaeger (#4423) 2023-08-15 08:54:50 -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

Deprecated: This module is no longer supported. OpenTelemetry dropped support for Jaeger exporter in July 2023. Jaeger officially accepts and recommends using OTLP. Use go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp or go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc instead.

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