MCPcopy
hub / github.com/dgraph-io/dgraph / annotateNamespace

Function annotateNamespace

edgraph/server.go:567–569  ·  view source on GitHub ↗
(span trace.Span, ns uint64)

Source from the content-addressed store, hash-verified

565}
566
567func annotateNamespace(span trace.Span, ns uint64) {
568 span.SetAttributes(attribute.String("ns", fmt.Sprintf("%d", ns)))
569}
570
571func annotateStartTs(span trace.Span, ts uint64) {
572 span.SetAttributes(attribute.String("startTs", fmt.Sprintf("%d", ts)))

Callers 2

doQueryMethod · 0.85
CommitOrAbortMethod · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected