# @boxyhq/metrics

> Internal SDK for OTel instrumentation

Latest version **0.3.0** (published 2026-09-17) · Apache-2.0 license · 0 weekly downloads

## Install

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

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2026-09-17 |
| First published | 2023-04-06 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 28.4 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1 |
| Maintainers | deepakp, aswin_boxyhq |
| Keywords | otel, telemetry |

## Links

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

## Dependencies (7)

- [@grpc/grpc-js](https://npm.io/package/@grpc/grpc-js.md) 1.14.4
- [@opentelemetry/api](https://npm.io/package/@opentelemetry/api.md) 1.9.1
- [@opentelemetry/resources](https://npm.io/package/@opentelemetry/resources.md) 2.10.0
- [@opentelemetry/sdk-metrics](https://npm.io/package/@opentelemetry/sdk-metrics.md) 2.10.0
- [@opentelemetry/semantic-conventions](https://npm.io/package/@opentelemetry/semantic-conventions.md) 1.43.0
- [@opentelemetry/exporter-metrics-otlp-grpc](https://npm.io/package/@opentelemetry/exporter-metrics-otlp-grpc.md) 0.221.0
- [@opentelemetry/exporter-metrics-otlp-http](https://npm.io/package/@opentelemetry/exporter-metrics-otlp-http.md) 0.221.0

## Recent versions

- 0.3.0 (latest) — 2026-09-17
- 0.1.0-beta.4 (beta) — 2023-04-06
- 0.2.15 — 2026-07-01
- 0.2.14 — 2026-06-15
- 0.2.13 — 2026-04-17
- 0.2.12 — 2026-03-01
- 0.2.11 — 2025-11-07
- 0.2.10 — 2025-02-09
- 0.2.9 — 2024-09-27
- 0.2.8 — 2024-06-11
- 0.2.7 — 2024-05-04
- 0.2.6 — 2023-11-14
- 0.2.5 — 2023-08-30
- 0.2.4 — 2023-06-21
- 0.2.3 — 2023-06-21
- … 4 more at https://npm.io/package/@boxyhq/metrics/versions

## README

# @boxyhq/metrics

<a href="https://www.npmjs.com/package/@boxyhq/metrics"><img src="https://img.shields.io/npm/v/@boxyhq/metrics.svg" alt="npm" ></a>

Package for OTel instrumentation

## Running Tests

Tests helps us to ensure that the telemetry export works as expected after every OTEL dependency update.

```shell
npm i
# Copy test/.env.example to test/.env and set the values
cp test/.env.example test/.env
npm run test:manual
```

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