Nutmeg Plundering Muse

    @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)
    

    Install

    npm i @apio/express-prometheus

    DownloadsWeekly Downloads

    156

    Version

    2.0.2

    License

    MIT

    Unpacked Size

    15.9 kB

    Total Files

    8

    Last publish

    Collaborators

    • fatmatto
    • matteodisabatino