- Support cluster
- Support multiple clusters via
broadcast-channel
- Aggregate metrics automatically
import Prometheus from 'connect-prometheus'
import Express from 'express'
const app = Express()
app.use(Prometheus())
app.get('/metrics', (req, res, next) => {
req
.getMetrics()
.then(metrics => res.send(metrics))
.catch(next)
})