mirror of
https://github.com/status-im/status-go.git
synced 2025-01-11 07:07:24 +00:00
eeca435064
Update vendor Integrate rendezvous into status node Add a test with failover using rendezvous Use multiple servers in client Use discovery V5 by default and test that node can be started with rendezvous discovet Fix linter Update rendezvous client to one with instrumented stream Address feedback Fix test with updated topic limits Apply several suggestions Change log to debug for request errors because we continue execution Remove web3js after rebase Update rendezvous package
35 lines
929 B
Go
35 lines
929 B
Go
package loggabletracer
|
|
|
|
import (
|
|
"time"
|
|
|
|
opentracing "github.com/opentracing/opentracing-go"
|
|
)
|
|
|
|
// RawSpan encapsulates all state associated with a (finished) Span.
|
|
type RawSpan struct {
|
|
// Those recording the RawSpan should also record the contents of its
|
|
// SpanContext.
|
|
Context SpanContext
|
|
|
|
// The SpanID of this SpanContext's first intra-trace reference (i.e.,
|
|
// "parent"), or 0 if there is no parent.
|
|
ParentSpanID uint64
|
|
|
|
// The name of the "operation" this span is an instance of. (Called a "span
|
|
// name" in some implementations)
|
|
Operation string
|
|
|
|
// We store <start, duration> rather than <start, end> so that only
|
|
// one of the timestamps has global clock uncertainty issues.
|
|
Start time.Time
|
|
Duration time.Duration
|
|
|
|
// Essentially an extension mechanism. Can be used for many purposes,
|
|
// not to be enumerated here.
|
|
Tags opentracing.Tags
|
|
|
|
// The span's "microlog".
|
|
Logs []opentracing.LogRecord
|
|
}
|