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/engine/internal/executor/stats.go

15 lines
518 B

package executor
import "github.com/grafana/loki/v3/pkg/xcap"
// xcap statistics used in executor pkg.
var (
// Common statistics tracked for all pipeline nodes.
statRowsOut = xcap.NewStatisticInt64("rows_out", xcap.AggregationTypeSum)
statReadCalls = xcap.NewStatisticInt64("read_calls", xcap.AggregationTypeSum)
statReadDuration = xcap.NewStatisticInt64("read_duration_ns", xcap.AggregationTypeSum)
// [ColumnCompat] statistics.
statCompatCollisionFound = xcap.NewStatisticFlag("collision_found")
)