mirror of
https://github.com/floci-io/floci.git
synced 2026-12-05 02:58:00 -05:00
Node-based Valkey replication groups emit the OpenTelemetry metrics of the ElastiCache user guide's metrics reference to CloudWatch, where PromQL reads them: the vended metrics every 60 seconds, and those a resource metrics configuration selects every 15 seconds as detailed. Each node's INFO is read straight from its server, as the backend's administrator once a user group has turned the default user off, and each command's type and category come from COMMAND INFO and COMMAND DOCS. The metric table is vendored from the reference page by regen_elasticache_otel_metrics.py, checked by aws-data-check and the drift workflow. VendedOtlpMetrics stores the export requests for the account and Region. Emission is off by default behind FLOCI_SERVICES_ELASTICACHE_OTEL_METRICS_ENABLED, since each node adds about 8 KB to the OTLP store every minute. Part of #7030.