Skip to content

Commit ec0648e

Browse files
kristojorgclaude
andcommitted
remove memory log spam, metrics are in prometheus
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent dd9c6ac commit ec0648e

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/Metrics.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ export const recordMemoryMetrics = Effect.gen(function* () {
3333
const mem = process.memoryUsage()
3434
yield* Metric.set(heapUsed, mem.heapUsed)
3535
yield* Metric.set(rss, mem.rss)
36-
yield* Effect.log(
37-
`Memory: heap=${Math.round(mem.heapUsed / 1024 / 1024)}MB, rss=${Math.round(mem.rss / 1024 / 1024)}MB`
38-
)
3936
}).pipe(Effect.repeat(Schedule.spaced("30 seconds")), Effect.forkScoped)
4037

4138
// Prometheus exporter config

0 commit comments

Comments
 (0)