mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 03:10:48 +00:00
fix pasta in telemetry config
This commit is contained in:
parent
25ed5a0e4f
commit
0367acc253
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ func Setup(ctx context.Context, endpoint string, sampleRatio float64) (*Telemetr
|
|||
|
||||
// If no parent span is available, then sampleRatio of traces are sampled;
|
||||
// otherwise, inherit the parent's sampling decision.
|
||||
sampler := sdktrace.ParentBased(sdktrace.ParentBased(sdktrace.TraceIDRatioBased(sampleRatio)))
|
||||
sampler := sdktrace.ParentBased(sdktrace.TraceIDRatioBased(sampleRatio))
|
||||
|
||||
// Create resource with service and client information
|
||||
res := resource.NewWithAttributes(
|
||||
|
|
|
|||
Loading…
Reference in a new issue