
strapi-prometheus is a simple plugin that exposes a metrics url for prometheus to scrape.
released October 13, 2026
npm install strapi-prometheusA powerful middleware plugin that adds comprehensive Prometheus metrics to your Strapi application using @prometheus-io/client ๐. Monitor your API performance, track system resources, and gain valuable insights into your application's behavior with just a few lines of configuration! ๐
127.0.0.1:9000, isolated from your main application and not reachable from outside the host until you opt innpm install strapi-prometheus
# or
yarn add strapi-prometheus
# or
pnpm add strapi-prometheus// config/plugins.js
module.exports = {
prometheus: {
enabled: true,
},
};Start Strapi and metrics are served at http://127.0.0.1:9000/metrics ๐. See Configuration for custom labels, server settings, and path normalization.
[!CAUTION] The metrics endpoint is not authenticated. Read the security policy before exposing it beyond localhost.
| Strapi Version | Plugin Version | Node.js | Status |
|---|---|---|---|
| v5.57+ | v3.x.x | โฅ 22 | โ Fully Supported โญ |
| v5.x | v2.x.x | โฅ 18 | ๐ Security fixes only |
| v4.x | v1.x.x | โ | โ EOL ๐ง |
Upgrading? See the migration guides for v2 โ v3 and v1 โ v2.
This project is licensed under the MIT License - see the LICENSE file for details.
Xander Denecker (@XanderD99)
โญ If this plugin helps you, please consider giving it a star on GitHub!
Share your work with the community and get it listed in the Strapi ecosystem for everyone to discover and use.
Submit
