@terascope/types / terafoundation / PromMetrics
Interface: PromMetrics
Defined in: packages/types/src/terafoundation.ts:211
Properties
| Property | Type | Defined in |
|---|---|---|
addCounter | (name, help, labelNames, collectFn?) => Promise<void> | packages/types/src/terafoundation.ts:219 |
addGauge | (name, help, labelNames, collectFn?) => Promise<void> | packages/types/src/terafoundation.ts:217 |
addHistogram | (name, help, labelNames, collectFn?, buckets?) => Promise<void> | packages/types/src/terafoundation.ts:221 |
addSummary | (name, help, labelNames, collectFn?, maxAgeSeconds?, ageBuckets?, percentiles?) => Promise<void> | packages/types/src/terafoundation.ts:223 |
dec | (name, labelValues, value) => void | packages/types/src/terafoundation.ts:215 |
deleteMetric | (name) => Promise<boolean> | packages/types/src/terafoundation.ts:227 |
getDefaultLabels | () => Record<string, string> | packages/types/src/terafoundation.ts:231 |
hasMetric | (name) => boolean | packages/types/src/terafoundation.ts:226 |
inc | (name, labelValues, value) => void | packages/types/src/terafoundation.ts:214 |
init | (config) => Promise<boolean> | packages/types/src/terafoundation.ts:212 |
observe | (name, labelValues, value) => void | packages/types/src/terafoundation.ts:216 |
resetMetrics | () => void | packages/types/src/terafoundation.ts:229 |
set | (name, labels, value) => void | packages/types/src/terafoundation.ts:213 |
shutdown | () => Promise<void> | packages/types/src/terafoundation.ts:230 |
verifyAPI | () => boolean | packages/types/src/terafoundation.ts:228 |