mirror of
https://github.com/floci-io/floci.git
synced 2026-12-06 03:28:18 -05:00
The ElastiCache metrics reference gives system.network.bandwidth.limit as a vended Gauge in By/s: "The baseline network bandwidth for the node's instance type. The limit is the same in each direction and applies to each direction separately." regen_elasticache_otel_metrics.py now also reads the user guide's "Supported node types" page. It copies the baseline bandwidth in Gbps of each node type its "Current Generation (Valkey)" tables list into the vendored file. Only that section is read: the Memcached section gives cache.r5.12xlarge 20 Gbps where the Valkey and Redis OSS sections give 12. The table converts each baseline to bytes a second, at 125000000 per Gbps. A node emits the baseline of its group's node type, with no attribute but valkey.role. A node type the page does not list for Valkey emits none. Closes #7030