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

Method ReadRange

tempodb/backend/raw.go:215–217  ·  view source on GitHub ↗

ReadRange implements backend.Reader

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

Source from the content-addressed store, hash-verified

213
214// ReadRange implements backend.Reader
215func (r *reader) ReadRange(ctx context.Context, name string, blockID uuid.UUID, tenantID string, offset uint64, buffer []byte, cacheInfo *CacheInfo) error {
216 return r.r.ReadRange(ctx, name, KeyPathForBlock(blockID, tenantID), offset, buffer, cacheInfo)
217}
218
219// Tenants implements backend.Reader
220func (r *reader) Tenants(ctx context.Context) ([]string, error) {

Callers

nothing calls this directly

Calls 2

KeyPathForBlockFunction · 0.85
ReadRangeMethod · 0.65

Tested by

no test coverage detected