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

Method ReadRange

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

ReadRange is for reading parts of large objects from the backend. cacheInfo contains information to make a caching decision

(ctx context.Context, name string, blockID uuid.UUID, tenantID string, offset uint64, buffer []byte, cacheInfo *CacheInfo)

Source from the content-addressed store, hash-verified

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
70 ReadRange(ctx context.Context, name string, blockID uuid.UUID, tenantID string, offset uint64, buffer []byte, cacheInfo *CacheInfo) error
71 // Tenants returns a list of all tenants in a backend
72 Tenants(ctx context.Context) ([]string, error)
73 // Blocks returns the blockIDs, compactedBlockIDs and an error from the backend.

Callers 1

TestReaderFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestReaderFunction · 0.76