Software /
code /
prosody-modules
Annotate
mod_measure_lua/README.md @ 6111:ffd0184cd478
mod_compliance_latest: New module that depends on and therefore loads the latest compliance tester mod.
diff --git a/mod_compliance_latest/README.md b/mod_compliance_latest/README.md
new file mode 100644
--- /dev/null
+++ b/mod_compliance_latest/README.md
@@ -0,0 +1,25 @@
+---
+summary: XMPP Compliance Suites self-test
+labels:
+- Stage-Beta
+rockspec:
+ dependencies:
+ - mod_compliance_2023
+...
+
+# Introduction
+
+This module will always require and load to the lastest compliance tester we have in the community modules.
+Currently this is [mod_compliance_2023].
+
+# Configuration
+
+Just load this module as any other module and it will automatically install [mod_compliance_2023] if you use the Prosody plugin installer.
+See the linked module for further details.
+
+# Compatibility
+
+ Prosody-Version Status
+ --------------- ----------------------
+ trunk Works as of 2024-12-22
+ 0.12 Works
diff --git a/mod_compliance_latest/mod_compliance_latest.lua b/mod_compliance_latest/mod_compliance_latest.lua
new file mode 100644
--- /dev/null
+++ b/mod_compliance_latest/mod_compliance_latest.lua
@@ -0,0 +1,1 @@
+module:depends("compliance_2023");
author | Menel <menel@snikket.de> |
---|---|
date | Sun, 22 Dec 2024 18:12:42 +0100 |
parent | 5584:2ac5f459e097 |
rev | line source |
---|---|
5584 | 1 This module provides two [metrics][doc:statistics]: |
2 | |
3 `lua_heap_bytes` | |
4 : Bytes of memory as reported by `collectgarbage("count")`{.lua} | |
5 | |
6 `lua_info` | |
7 : Provides the current Lua version as a label | |
8 | |
9 ``` openmetrics | |
10 # HELP lua_info Lua runtime version | |
11 # UNIT lua_info | |
12 # TYPE lua_info gauge | |
13 lua_info{version="Lua 5.4"} 1 | |
14 # HELP lua_heap_bytes Memory used by objects under control of the Lua | |
15 garbage collector | |
16 # UNIT lua_heap_bytes bytes | |
17 # TYPE lua_heap_bytes gauge | |
18 lua_heap_bytes 8613218 | |
19 ``` |