Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.
/ express-prometheus Public archive

Express middleware to expose basic metrics to Prometheus

Notifications You must be signed in to change notification settings

ApioLab/express-prometheus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Express middleware to expose basic metrics to Prometheus

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •