
Research
TeamPCP-Linked Supply Chain Attack Hits SAP CAP and Cloud MTA npm Packages
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.
nitro-prometheus-middleware
Advanced tools
This is a middleware for nitro, that expose metrics for prometheus.
This is a middleware for nitro, that expose metrics for prometheus.
npm install nitro-prometheus-middleware
nitro-prometheus-middleware to the plugins section of nitro.config.tsimport { defineNitroConfig } from 'nitropack'
export default defineNitroConfig({
plugins: [
'node_modules/nitro-prometheus-middleware/dist/index.mjs'
]
})
nitro-prometheus-middleware to the nitro.plugins section of nuxt.config.tsimport { resolve } from 'path';
export default defineNuxtConfig({
nitro: {
plugins: [
resolve('node_modules/nitro-prometheus-middleware/dist/index.mjs')
]
}
})
/metrics| Metric Name | Description |
|---|---|
| http_requests_total | Counter for total requests received |
There some default metrics exported from Prom-Client
FAQs
This is a middleware for nitro, that expose metrics for prometheus.
The npm package nitro-prometheus-middleware receives a total of 4 weekly downloads. As such, nitro-prometheus-middleware popularity was classified as not popular.
We found that nitro-prometheus-middleware demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.

Research
/Security News
Socket is tracking cloned Open VSX extensions tied to GlassWorm, with several updated from benign-looking sleepers into malware delivery vehicles.