Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DefaultShards is the default number of shards to use.
DefaultShards = 1
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Strategy ¶
type Strategy struct {
// Configures the number of series needed to add a new shard. Computation is number of series / ScaleUpSeriesCount
ScaleUpSeriesCount float64
// Percentage of needed series based on ScaleUpSeriesCount to scale down agents
ScaleDownPercentage float64
}
func (Strategy) ComputeShards ¶
We want to start with 1 alloy metrics for each 1M time series with a scale down 20% threshold.
Click to show internal directories.
Click to hide internal directories.