This repository was archived by the owner on Oct 8, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ available via the **GET**-only **/status** section of the
2020 * - Option
2121 - Description
2222
23+ * - **modules **
24+ - Object;
25+ list of currently loaded language modules.
26+
2327 * - **connections **
2428 - Object;
2529 lists per-instance connection statistics.
@@ -37,6 +41,19 @@ Example:
3741.. code-block :: json
3842
3943 {
44+ "modules" : {
45+ "python" : [
46+ {
47+ "version" : " 3.12.3" ,
48+ "lib" : " /opt/unit/modules/python.unit.so"
49+ },
50+ {
51+ "version" : " 3.12.1" ,
52+ "lib" : " /opt/unit/modules/python-3.12.1.unit.so"
53+ }
54+ ],
55+ },
56+
4057 "connections" : {
4158 "accepted" : 1067 ,
4259 "active" : 13 ,
@@ -63,6 +80,29 @@ Example:
6380 }
6481 }
6582
83+ Each item in the **modules ** object lists one of the currently loaded language
84+ modules, the installed version (or versions) of the module, and the path to the
85+ module file:
86+
87+ .. list-table ::
88+ :header-rows: 1
89+
90+ * - Option
91+ - Description
92+
93+ * - **name **
94+ - String;
95+ language module name.
96+
97+ * - **version **
98+ - String;
99+ language module version. If multiple versions are loaded,
100+ the list contains multiple items.
101+
102+ * - **lib **
103+ - String;
104+ path to the language module file.
105+
66106The **connections ** object offers the following Unit instance metrics:
67107
68108.. list-table ::
You can’t perform that action at this time.
0 commit comments