{"library":"express-prom-bundle","type":"library","category":null,"description":"express-prom-bundle is an Express.js middleware designed to integrate popular Prometheus metrics into an application with minimal configuration. It bundles essential metrics, notably `up` and `http_request_duration_seconds`, which can be configured as either a histogram or a summary and labeled with HTTP status codes, methods, and paths. The current stable version is 8.0.0, which requires Express.js v5 and `prom-client` v15 or higher. The library maintains a steady release cadence, incorporating dependabot updates and new features, with major versions typically aligning with peer dependency updates. A key differentiator is its focus on ease of use, providing a consolidated solution for common Express metric needs, as well as features like path normalization and custom label support. Its middleware order dependency allows for selective metric collection, and it explicitly supports both CommonJS and ESM environments, shipping with TypeScript type definitions.","language":"javascript","status":"active","version":"8.0.0","tags":["javascript","prometheus","metrics","express","path","method","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install express-prom-bundle","imports":["import promBundle from 'express-prom-bundle';","import { register } from 'prom-client';","import type { PromBundleOptions } from 'express-prom-bundle';"]},{"cmd":"yarn add express-prom-bundle","imports":[]},{"cmd":"pnpm add express-prom-bundle","imports":[]}],"homepage":null,"github":"https://github.com/jochen-schweizer/express-prom-bundle","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/express-prom-bundle","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/express-prom-bundle/compatibility"}}