Page Contents
Home > @loopback/metrics > MetricsOptions
MetricsOptions interface
Options for metrics component
Signature:
export interface MetricsOptions
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
defaultLabels? | { [labelName: string]: string; } | (Optional) | |
defaultMetrics? | { disabled?: boolean; } & DefaultMetricsCollectorConfiguration | (Optional) | |
endpoint? | { disabled?: boolean; basePath?: string; } | (Optional) | |
openApiSpec? | boolean | (Optional) | |
pushGateway? | { disabled?: boolean; url: string; interval?: number; jobName?: string; groupingKey?: { [key: string]: string; }; replaceAll?: boolean; } | (Optional) |