diff options
| author | Mohamed Bassem <me@mbassem.com> | 2026-02-04 13:19:26 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2026-02-04 13:19:26 +0000 |
| commit | e48bae7ce75437e7a10940b21bd8fc0c30d3914d (patch) | |
| tree | db3194462331cc370be4e0371070781e8d55684c /apps/workers/metrics.ts | |
| parent | 50320ecd3f516fdb3ca78f7da15999897372fdb1 (diff) | |
| download | karakeep-e48bae7ce75437e7a10940b21bd8fc0c30d3914d.tar.zst | |
fix(import): register improt metrics to the prom registry
Diffstat (limited to 'apps/workers/metrics.ts')
| -rw-r--r-- | apps/workers/metrics.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workers/metrics.ts b/apps/workers/metrics.ts index 3dc4d2c0..c16c7bd4 100644 --- a/apps/workers/metrics.ts +++ b/apps/workers/metrics.ts @@ -1,7 +1,7 @@ import { prometheus } from "@hono/prometheus"; import { Counter, Registry } from "prom-client"; -const registry = new Registry(); +export const registry = new Registry(); export const { printMetrics } = prometheus({ registry: registry, |
