Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/pkg/bloombuild/planner/task.go

29 lines
678 B

package planner
import (
"context"
"time"
v1 "github.com/grafana/loki/v3/pkg/storage/bloom/v1"
"github.com/grafana/loki/v3/pkg/storage/stores/shipper/bloomshipper"
"github.com/grafana/loki/v3/pkg/storage/stores/shipper/indexshipper/tsdb"
)
// TODO: Extract this definiton to a proto file at pkg/bloombuild/protos/protos.proto
type GapWithBlocks struct {
bounds v1.FingerprintBounds
blocks []bloomshipper.BlockRef
}
type Task struct {
table string
tenant string
OwnershipBounds v1.FingerprintBounds
tsdb tsdb.SingleTenantTSDBIdentifier
gaps []GapWithBlocks
// Tracking
queueTime time.Time
ctx context.Context
}