method Summary.prototype.getCount
Summary.prototype.getCount(labels?: Readonly<Record<string, string>>): number

Gets the count for a label set.

Parameters

optional
labels: Readonly<Record<string, string>>

Label values keyed by label name

Return Type

number

The count of all observations

Usage

import { Summary } from "metrics-plugin/src/index.ts";