Mercurial > prosody-hg
comparison util/statistics.lua @ 12975:d10957394a3c
util: Prefix module imports with prosody namespace
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 17 Mar 2023 16:23:16 +0100 |
| parents | 7d985e5bc1fb |
| children |
comparison
equal
deleted
inserted
replaced
| 12974:ba409c67353b | 12975:d10957394a3c |
|---|---|
| 1 local time = require "util.time".now; | 1 local time = require "prosody.util.time".now; |
| 2 local new_metric_registry = require "util.openmetrics".new_metric_registry; | 2 local new_metric_registry = require "prosody.util.openmetrics".new_metric_registry; |
| 3 local render_histogram_le = require "util.openmetrics".render_histogram_le; | 3 local render_histogram_le = require "prosody.util.openmetrics".render_histogram_le; |
| 4 | 4 |
| 5 -- BEGIN of Metric implementations | 5 -- BEGIN of Metric implementations |
| 6 | 6 |
| 7 -- Gauges | 7 -- Gauges |
| 8 local gauge_metric_mt = {} | 8 local gauge_metric_mt = {} |
