@terascope/types / terafoundation / PromMetrics
Interface: PromMetrics
Defined in: packages/types/src/terafoundation.ts:192
Properties
Property | Type | Defined in |
---|---|---|
addCounter | (name , help , labelNames , collectFn? ) => Promise <void > | packages/types/src/terafoundation.ts:200 |
addGauge | (name , help , labelNames , collectFn? ) => Promise <void > | packages/types/src/terafoundation.ts:198 |
addHistogram | (name , help , labelNames , collectFn? , buckets? ) => Promise <void > | packages/types/src/terafoundation.ts:202 |
addSummary | (name , help , labelNames , collectFn? , maxAgeSeconds? , ageBuckets? , percentiles? ) => Promise <void > | packages/types/src/terafoundation.ts:204 |
dec | (name , labelValues , value ) => void | packages/types/src/terafoundation.ts:196 |
deleteMetric | (name ) => Promise <boolean > | packages/types/src/terafoundation.ts:208 |
getDefaultLabels | () => Record <string , string > | packages/types/src/terafoundation.ts:212 |
hasMetric | (name ) => boolean | packages/types/src/terafoundation.ts:207 |
inc | (name , labelValues , value ) => void | packages/types/src/terafoundation.ts:195 |
init | (config ) => Promise <boolean > | packages/types/src/terafoundation.ts:193 |
observe | (name , labelValues , value ) => void | packages/types/src/terafoundation.ts:197 |
resetMetrics | () => void | packages/types/src/terafoundation.ts:210 |
set | (name , labels , value ) => void | packages/types/src/terafoundation.ts:194 |
shutdown | () => Promise <void > | packages/types/src/terafoundation.ts:211 |
verifyAPI | () => boolean | packages/types/src/terafoundation.ts:209 |