Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PrometheusCounterConverter

Helper class that converts performance counter values into a response from Prometheus metrics service.

Hierarchy

  • PrometheusCounterConverter

Index

Methods

Methods

Static toString

  • toString(counters: Counter[], source: string, instance: string): string
  • Converts the given counters to a string that is returned by Prometheus metrics service.

    Parameters

    • counters: Counter[]

      a list of counters to convert.

    • source: string

      a source (context) name.

    • instance: string

      a unique instance name (usually a host name).

    Returns string

Generated using TypeDoc