Class Prometheus

Hierarchy

  • Prometheus

Implements

Constructors

Properties

config: IConfig
counters: Map<string, Counter<string>> = ...
gauges: Map<string, Gauge<string>> = ...
histograms: Map<string, Histogram<string>> = ...
registry: Registry = ...
summaries: Map<string, Summary<string>> = ...

Accessors

Methods

  • Type Parameters

    • T

    • S

    Parameters

    • settings: S & IdefaultSettings
    • repository: Map<string, T>
    • Class: (new (options) => T)
        • new (options): T
        • Parameters

          • options: S

          Returns T

    Returns ((proto, key) => void)

      • (proto, key): void
      • Parameters

        • proto: any
        • key: string

        Returns void

    Description

    Find or create metrics factory

Generated using TypeDoc