Options
All
  • Public
  • Public/Protected
  • All
Menu

Module core/metrics/database

Index

Functions

generateReservedMetricIdentifiers

  • generateReservedMetricIdentifiers(name: string): { category: string; name: string }
  • Generates a name for a reserved metric.

    Reserved metrics are not sent in ping payloads.

    Parameters

    • name: string

      The name of the metric.

    Returns { category: string; name: string }

    The name of metrics with proper identification to make it a reserved metric.

    • category: string
    • name: string

isValidInternalMetricsRepresentation

  • isValidInternalMetricsRepresentation(v: unknown): v is Metrics
  • Verifies if a given value is a valid Metrics object.

    Parameters

    • v: unknown

      The value to verify

    Returns v is Metrics

    Whether or not v is a valid Metrics object.

Generated using TypeDoc