lenskit.config.PowerQueries =========================== .. py:class:: lenskit.config.PowerQueries :canonical: lenskit.config._schema.PowerQueries Bases: :py:obj:`TypedDict` Queries for requesting power consumption data from Prometheus. Each entry is a Python format string (for :meth:`str.format`), that will be used to format a dictionary ``{"elapsed": time_ms}``. The result should be a valid Prometheus query that returns the power consumption in Joules (watt seconds) over the last ``time_ms`` milliseconds. .. py:attribute:: system :type: str Total (chassis or system) power consumption. .. py:attribute:: cpu :type: str CPU power consumption. .. py:attribute:: gpu :type: str GPU power consumption.