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

Method Read

tempodb/backend/backend.go:66–66  ·  view source on GitHub ↗

Read is for reading entire objects from the backend. cacheInfo contains information to make a caching decision

(ctx context.Context, name string, blockID uuid.UUID, tenantID string, cacheInfo *CacheInfo)

Source from the content-addressed store, hash-verified

64type Reader interface {
65 // Read is for reading entire objects from the backend. cacheInfo contains information to make a caching decision
66 Read(ctx context.Context, name string, blockID uuid.UUID, tenantID string, cacheInfo *CacheInfo) ([]byte, error)
67 // StreamReader is for streaming entire objects from the backend. It is expected this will _not_ be cached.
68 StreamReader(ctx context.Context, name string, blockID uuid.UUID, tenantID string) (io.ReadCloser, int64, error)
69 // ReadRange is for reading parts of large objects from the backend. cacheInfo contains information to make a caching decision

Callers 3

FindTraceByIDMethod · 0.95
FindTraceByIDMethod · 0.95
TestReaderFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestReaderFunction · 0.76