@apio/express-prometheus
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

express-prometheus

Based on @trussle/tricorder

Installation

npm i @apio/express-prometheus

Usage

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)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.2
    48
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.2
    48
  • 2.0.1
    0
  • 2.0.0
    0
  • 1.0.0
    88

Package Sidebar

Install

npm i @apio/express-prometheus

Weekly Downloads

136

Version

2.0.2

License

MIT

Unpacked Size

15.9 kB

Total Files

8

Last publish

Collaborators

  • fatmatto
  • matteodisabatino