MCPcopy
hub / github.com/grafana/tempo / mockSpan

Struct mockSpan

pkg/traceql/ast_test.go:942–949  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

940var _ Span = (*mockSpan)(nil)
941
942type mockSpan struct {
943 id []byte
944 startTimeUnixNanos uint64
945 durationNanos uint64
946 attributes map[Attribute]Static
947
948 parentID, left, right int
949}
950
951func newMockSpan(id []byte) *mockSpan {
952 return &mockSpan{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected