PrometheusAgent.spec.shardingStrategy.mode
mode defines the sharding mode. Can be 'Address' or 'Topology'. 'Address' is the default mode and distributes targets across shards based on a hash of the target address. 'Topology' enables zone-aware sharding where each shard is assigned to a specific topology zone and only scrapes targets in that zone. (Alpha) Using the 'Topology' mode requires the `PrometheusTopologySharding` feature gate to be enabled.
| Field / Type | Description |
|---|---|
PrometheusAgent.spec.shardingStrategy.mode | mode defines the sharding mode. Can be 'Address' or 'Topology'. 'Address' is the default mode and distributes targets across shards based on a hash of the target address. 'Topology' enables zone-aware sharding where each shard is assigned to a specific topology zone and only scrapes targets in that zone. (Alpha) Using the 'Topology' mode requires the `PrometheusTopologySharding` feature gate to be enabled.
|