mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-06 23:16:28 +00:00
15 lines
323 B
JavaScript
15 lines
323 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",
|
|
"method",
|
|
],
|
|
});
|
|
|
|
module.exports = { topuponline_metrics };
|