Based on @trussle/tricorder
npm i @apio/express-prometheus
The module attaches a /metrics route to your app, this endpoint will output prometheus metrics
const expressPrometheus = require('@apio/express-prometheus')
const express = require('express')
// Setup your express app
const app = express()
// Instrument the app
expressPrometheus.instrument(app)