Page Contents
Home > @loopback/metrics > MetricsComponent > (constructor)
MetricsComponent.(constructor)
Constructs a new instance of the MetricsComponent
class
Signature:
constructor(application: Application, metricsConfig?: MetricsConfig);
Parameters
Parameter | Type | Description |
---|---|---|
application | Application | |
metricsConfig | MetricsConfig | (Optional) |