mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 21:38:05 -05:00
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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user