mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-06 21:06:28 +00:00
10 lines
317 B
JavaScript
10 lines
317 B
JavaScript
const client = require("prom-client");
|
|
|
|
const topuponline_metrics = new client.Histogram({
|
|
name: "topuponline",
|
|
help: "this is the metric for getting request data based on code status",
|
|
labelNames: ["route", "status_code", "issuer_name", "date", "month", "year"],
|
|
});
|
|
|
|
module.exports = { topuponline_metrics };
|