Page Contents

Home > @loopback/metrics

metrics package

A component that reports metrics of Node.js, the LoopBack framework, and your application to Prometheus.

Classes

Class Description
[MetricsComponent](/doc/en/lb4/apidocs.metrics.metricscomponent.html) A component providing metrics for Prometheus

Interfaces

Interface Description
[MetricsOptions](/doc/en/lb4/apidocs.metrics.metricsoptions.html) Options for metrics component

Namespaces

Namespace Description
[MetricsBindings](/doc/en/lb4/apidocs.metrics.metricsbindings.html) Binding keys used by this component.

Variables

Variable Description
[DEFAULT\_METRICS\_OPTIONS](/doc/en/lb4/apidocs.metrics.default_metrics_options.html)

Type Aliases

Type Alias Description
[MetricsConfig](/doc/en/lb4/apidocs.metrics.metricsconfig.html) Configuration for metrics component with optional properties