Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

feat: add runtime metrics #877

Merged
merged 1 commit into from
Dec 9, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bin/daemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ async function main () {
})

const registry = Prometheus.register
Prometheus.collectDefaultMetrics({ register: registry })
Flydiverny marked this conversation as resolved.
Show resolved Hide resolved
const metrics = new Metrics({ registry })

const pollerFactory = new PollerFactory({
Expand Down