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

Function annotateStartTs

edgraph/server.go:571–573  ·  view source on GitHub ↗
(span trace.Span, ts uint64)

Source from the content-addressed store, hash-verified

569}
570
571func annotateStartTs(span trace.Span, ts uint64) {
572 span.SetAttributes(attribute.String("startTs", fmt.Sprintf("%d", ts)))
573}
574
575func (s *Server) doMutate(ctx context.Context, qc *queryContext, resp *api.Response) error {
576 if len(qc.gmuList) == 0 {

Callers 2

doQueryMethod · 0.85
CommitOrAbortMethod · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected