Page Contents

Home > @loopback/metrics > MetricsOptions

MetricsOptions interface

Options for metrics component

Signature:

export interface MetricsOptions 

Properties

Property Type Description
defaultMetrics? { disabled?: boolean; } & DefaultMetricsCollectorConfiguration (Optional)
endpoint? { disabled?: boolean; basePath?: string; } (Optional)
openApiSpec? boolean (Optional)
pushGateway? { disabled?: boolean; url: string; interval?: number; } (Optional)