# @metrics/process

> Module for collecting different process and system metrics and providing them as a metric stream

Latest version **2.2.2** (published 2025-01-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @metrics/process
pnpm add @metrics/process
yarn add @metrics/process
bun add @metrics/process
```

## Health

**Score 40/100 (D)** — status: stable.

Positive: no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; no esm support.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 2.2.2 |
| Published | 2025-01-19 |
| First published | 2019-01-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 32.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Trygve Lie |
| Maintainers | digitalsadhu, trygve-lie, leftiefriele |
| Keywords | server-statistics, server-stats, statistics, metrics, monitoring, process |

## Links

- npm: https://www.npmjs.com/package/@metrics/process
- Repository: https://github.com/metrics-js/process
- Homepage: https://github.com/metrics-js/process#readme
- Issues: https://github.com/metrics-js/process/issues
- npm.io page: https://npm.io/package/@metrics/process

## Dependencies (3)

- [@metrics/metric](https://npm.io/package/@metrics/metric.md) 2.3.4
- [readable-stream](https://npm.io/package/readable-stream.md) 3.6.2
- [deferred-interval](https://npm.io/package/deferred-interval.md) 2.0.0

## Recent versions

- 2.2.2 (latest) — 2025-01-19
- 2.2.1 — 2023-11-08
- 2.2.0 — 2020-02-26
- 2.1.1 — 2020-02-25
- 2.1.0 — 2020-02-24
- 2.0.1 — 2019-10-03
- 2.0.0 — 2019-01-18
- 1.0.0 — 2019-01-02

## README

# @metrics/process

[![GitHub Actions status](https://github.com/metrics-js/process/workflows/Run%20Lint%20and%20Tests/badge.svg)](https://github.com/metrics-js/process/actions?query=workflow%3A%22Run+Lint+and+Tests%22)
[![Known Vulnerabilities](https://snyk.io/test/github/metrics-js/process/badge.svg?targetFile=package.json)](https://snyk.io/test/github/metrics-js/process?targetFile=package.json)

Module for collecting different process and system metrics providing them as a metric stream.

## Usage

- [Getting started with MetricsJS](https://metrics-js.github.io/introduction/getting-started/).
- [Reference documentaiton for `@metrics/process`](https://metrics-js.github.io/reference/process/).

## Attribution

Most of the metric collectors in this module originate in the process collectors in [prom-client](https://github.com/siimon/prom-client). prom-client is licensed under a Apache License 2.0, which
is included in our [license](https://github.com/metrics-js/process/blob/master/LICENSE).

Due to the above fact, most metrics in this module bear the same name as the process metrics in
prom-client. If one uses this module to provide metrics to Prometheus, these metrics will provide
the same metrics as by prom-client.

---
_Source: https://npm.io/package/@metrics/process · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
