<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.memcp.org/index.php?action=history&amp;feed=atom&amp;title=Dashboard_Metrics</id>
	<title>Dashboard Metrics - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.memcp.org/index.php?action=history&amp;feed=atom&amp;title=Dashboard_Metrics"/>
	<link rel="alternate" type="text/html" href="https://www.memcp.org/index.php?title=Dashboard_Metrics&amp;action=history"/>
	<updated>2026-08-29T08:21:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://www.memcp.org/index.php?title=Dashboard_Metrics&amp;diff=299&amp;oldid=prev</id>
		<title>Wikiservice: Refresh MemCP documentation: accuracy, operational guidance, performance profile and maintained API reference</title>
		<link rel="alternate" type="text/html" href="https://www.memcp.org/index.php?title=Dashboard_Metrics&amp;diff=299&amp;oldid=prev"/>
		<updated>2026-08-28T09:59:18Z</updated>

		<summary type="html">&lt;p&gt;Refresh MemCP documentation: accuracy, operational guidance, performance profile and maintained API reference&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- Copyright (C) 2026 Carl-Philip Haensch --&amp;gt;&lt;br /&gt;
&amp;lt;!-- SPDX-License-Identifier: GPL-3.0-or-later --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;dashboard-metrics&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
= Dashboard Metrics =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Generated from MemCP c42e19eba on 2026-08-27; do not edit manually. --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-message-box mw-message-box-notice&amp;quot;&amp;gt;Generated from MemCP commit &amp;lt;code&amp;gt;c42e19eba&amp;lt;/code&amp;gt; on 27 August 2026. See [[Full SCM API documentation]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Dashboard Metrics&amp;#039;&amp;#039;&amp;#039; module exposes process-local observations used by operational displays and diagnostics. Metrics cover CPU activity, active connections, recent connection peaks, and request rate.&lt;br /&gt;
&lt;br /&gt;
Values describe the current MemCP process and recent in-memory sampling windows; they are not durable monitoring history and do not aggregate a multi-node cluster. Export or poll them through an external monitoring system when long-term retention and alerting are required.&lt;br /&gt;
&lt;br /&gt;
== cpu_usage ==&lt;br /&gt;
&lt;br /&gt;
Returns current CPU usage as a percentage (0-100)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 0–0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;parameters&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;This function has no parameters.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;returns&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Returns ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
== active_connections ==&lt;br /&gt;
&lt;br /&gt;
Returns the current number of active HTTP connections&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 0–0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;parameters-1&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;This function has no parameters.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;returns-1&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Returns ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;int&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
== max_connections ==&lt;br /&gt;
&lt;br /&gt;
Returns the maximum number of HTTP connections over the last 10 minutes&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 0–0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;parameters-2&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;This function has no parameters.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;returns-2&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Returns ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;int&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
== requests_per_second ==&lt;br /&gt;
&lt;br /&gt;
Returns the average number of HTTP requests per second over the last 10 seconds&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 0–0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;parameters-3&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;This function has no parameters.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;returns-3&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Returns ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
== newcachemap ==&lt;br /&gt;
&lt;br /&gt;
Creates a new cachemap. Returns a threadsafe key-value function with LRU eviction under memory pressure: (cachemap key value) sets, (cachemap key) gets, (cachemap) lists keys, (cachemap &amp;amp;quot;get_or_compute&amp;amp;quot; key producer) computes one value for concurrent misses of the same key.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 0–0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;parameters-4&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;This function has no parameters.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span id=&amp;quot;returns-4&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
=== Returns ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;cachemap&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;func&amp;lt;/code&amp;gt;): thread-safe cache accessor&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Parameters&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*** &amp;#039;&amp;#039;&amp;#039;key_or_operation&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;any&amp;lt;/code&amp;gt;): cache key, or get_or_compute &amp;#039;&amp;#039;(optional)&amp;#039;&amp;#039;&lt;br /&gt;
*** &amp;#039;&amp;#039;&amp;#039;value_or_key&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;any&amp;lt;/code&amp;gt;): value to store, or key for get_or_compute &amp;#039;&amp;#039;(optional)&amp;#039;&amp;#039;&lt;br /&gt;
*** &amp;#039;&amp;#039;&amp;#039;producer&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;func&amp;lt;/code&amp;gt;): zero-argument value producer used by get_or_compute &amp;#039;&amp;#039;(optional)&amp;#039;&amp;#039;&lt;br /&gt;
**** &amp;#039;&amp;#039;&amp;#039;Returns&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
***** &amp;#039;&amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;any&amp;lt;/code&amp;gt;)&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;Returns&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*** &amp;#039;&amp;#039;&amp;#039;result&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;any&amp;lt;/code&amp;gt;): cached value, previous value, or key list depending on the operation&lt;/div&gt;</summary>
		<author><name>Wikiservice</name></author>
	</entry>
</feed>