Documentation ¶
Index ¶
Constants ¶
This section is empty.
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 prometheus-agent for each 1M time series with a scale down 20% threshold.
Click to show internal directories.
Click to hide internal directories.