| 219 | type LabelValues<T extends string> = Partial<Record<T, string | number>>; |
| 220 | |
| 221 | interface MetricConfiguration<T extends string> { |
| 222 | name: string; |
| 223 | help: string; |
| 224 | labelNames?: T[] | readonly T[]; |
| 225 | registers?: ( |
| 226 | | Registry<PrometheusContentType> |
| 227 | | Registry<OpenMetricsContentType> |
| 228 | )[]; |
| 229 | aggregator?: Aggregator; |
| 230 | collect?: CollectFunction<any>; |
| 231 | enableExemplars?: boolean; |
| 232 | } |
| 233 | |
| 234 | export interface CounterConfiguration<T extends string> |
| 235 | extends MetricConfiguration<T> { |
nothing calls this directly
no outgoing calls
no test coverage detected