tracing: Replace deprecated jaeger exporter with otelhttp exporter (#14928)

* Update go.opentelemetry.io/otel to v1.34.0

* Update otel exporter to replace deprecated jaeger exporter

* Changelog

* Use WithEndpointURL

* Clarify potential breaking change
This commit is contained in:
Preston Van Loon
2025-02-15 11:26:57 -06:00
committed by GitHub
parent 3a1702e56f
commit 31044206b8
8 changed files with 160 additions and 76 deletions

View File

@@ -67,6 +67,7 @@ type ValidatorClient struct {
func NewValidatorClient(cliCtx *cli.Context) (*ValidatorClient, error) {
// TODO(#9883) - Maybe we can pass in a new validator client config instead of the cliCTX to abstract away the use of flags here .
if err := tracing.Setup(
cliCtx.Context,
"validator", // service name
cliCtx.String(cmd.TracingProcessNameFlag.Name),
cliCtx.String(cmd.TracingEndpointFlag.Name),