Skip to content

Commit

Permalink
[server] Fix metrics registration
Browse files Browse the repository at this point in the history
  • Loading branch information
easyCZ authored and roboquat committed Sep 23, 2022
1 parent 30dcca0 commit 689b7f8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions components/server/src/prometheus-metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@

import * as prometheusClient from "prom-client";

// Enable collection of default metrics.
prometheusClient.collectDefaultMetrics();
export const register = prometheusClient.register;

export function registerServerMetrics(registry: prometheusClient.Registry) {
registry.registerMetric(loginCounter);
registry.registerMetric(apiConnectionCounter);
Expand Down

0 comments on commit 689b7f8

Please sign in to comment.