NAME

IO::K8s::PrometheusOperator::V1::ShardingStrategy - shardingStrategy defines the sharding strategy for distributing scraped targets across Prometheus shards.

VERSION

version 1.108

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.

topology

topology defines the configuration for topology-aware sharding. This field is only valid when mode is set to 'Topology'.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/pplu/io-k8s-p5/issues.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHORS

  • Torsten Raudssus <getty@cpan.org>

  • Jose Luis Martinez Torres <jlmartin@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018-2026 by Jose Luis Martinez Torres <jlmartin@cpan.org>.

This is free software, licensed under:

The Apache License, Version 2.0, January 2004