mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
20 lines
356 B
JavaScript
20 lines
356 B
JavaScript
/**
|
|
* Dummy implementation of metrics.
|
|
*/
|
|
"use strict";
|
|
|
|
plugin.consumes = [];
|
|
plugin.provides = ["metrics"];
|
|
|
|
module.exports = plugin;
|
|
|
|
function plugin(options, imports, register) {
|
|
|
|
register(null, {
|
|
"metrics": {
|
|
log: function() {},
|
|
increment: function() {},
|
|
timing: function() {}
|
|
}
|
|
});
|
|
} |