UNPKG

realm-object-server-enterprise

Version:

Realm Object Server Enterprise

10 lines (9 loc) 438 B
import * as promClient from "prom-client"; import { Request as ExpressRequest, Response as ExpressResponse } from "express"; import { Server, stats } from "realm-object-server"; export declare class MetricsService { private readonly registry; constructor(registry: promClient.Registry, statsSink?: stats.PrometheusStatsSink); start(server: Server): void; getMetrics(request: ExpressRequest, res: ExpressResponse): void; }