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

Method Append

tempodb/backend/raw.go:57–57  ·  tempodb/backend/raw.go::RawWriter.Append

Append starts or continues an Append job. Pass nil to AppendTracker to start a job.

(ctx context.Context, name string, keypath KeyPath, tracker AppendTracker, buffer []byte)

Source from the content-addressed store, hash-verified

55 Write(ctx context.Context, name string, keypath KeyPath, data io.Reader, size int64, cacheInfo *CacheInfo) error
56 // Append starts or continues an Append job. Pass nil to AppendTracker to start a job.
57 Append(ctx context.Context, name string, keypath KeyPath, tracker AppendTracker, buffer []byte) (AppendTracker, error)
58 // CloseAppend closes any resources associated with the AppendTracker.
59 CloseAppend(ctx context.Context, tracker AppendTracker) error
60 // Delete deletes a file.

Callers 15

writeTraceToWalFunction · 0.65
testSameIDCompactionFunction · 0.65
TestSearchByShortTraceIDFunction · 0.65
TestTempoDBQueryRangeFunction · 0.65
testAppendBlockStartEndFunction · 0.65
testIngestionSlackFunction · 0.65
runWALTestWithAppendModeFunction · 0.65

Implementers 8

MockRawWritertempodb/backend/mocks.go
MockWritertempodb/backend/mocks.go
writertempodb/backend/raw.go
readerWritertempodb/backend/cache/cache.go
Azuretempodb/backend/azure/azure.go
readerWritertempodb/backend/gcs/gcs.go
readerWritertempodb/backend/s3/s3.go
Backendtempodb/backend/local/local.go

Calls

no outgoing calls

Tested by 15

writeTraceToWalFunction · 0.52
testSameIDCompactionFunction · 0.52
TestSearchByShortTraceIDFunction · 0.52
TestTempoDBQueryRangeFunction · 0.52
testAppendBlockStartEndFunction · 0.52
testIngestionSlackFunction · 0.52
runWALTestWithAppendModeFunction · 0.52