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

Method Write

tempodb/backend/raw.go:55–55  ·  tempodb/backend/raw.go::RawWriter.Write

Write is for in memory data. shouldCache specifies whether or not caching should be attempted.

(ctx context.Context, name string, keypath KeyPath, data io.Reader, size int64, cacheInfo *CacheInfo)

Source from the content-addressed store, hash-verified

53type RawWriter interface {
54 // Write is for in memory data. shouldCache specifies whether or not caching should be attempted.
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.

Callers 15

CopyBlockFunction · 0.65
writeBlockMetaFunction · 0.65
AppendTraceMethod · 0.65
AddMethod · 0.65
CopyBlockFunction · 0.65
writeBlockMetaFunction · 0.65
makeTestFileFunction · 0.65
AppendTraceMethod · 0.65
AddMethod · 0.65
CopyBlockFunction · 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

makeTestFileFunction · 0.52
TestReadWriteFunction · 0.52
TestHedgeFunction · 0.52
fakeServerFunction · 0.52
TestObjectWithPrefixFunction · 0.52
TestDeleteFunction · 0.52
TestListBlocksWithPrefixFunction · 0.52
TestHedgeFunction · 0.52