---
lang: en
title: 'API docs: extension-metrics.metricsoptions'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/extensions/metrics
permalink: /doc/en/lb4/apidocs.extension-metrics.metricsoptions.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/extension-metrics](./extension-metrics.md) &gt; [MetricsOptions](./extension-metrics.metricsoptions.md)

## MetricsOptions interface

<b>Signature:</b>

```typescript
export interface MetricsOptions 
```

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [defaultMetrics](./extension-metrics.metricsoptions.defaultmetrics.md) | { disabled?: boolean; } &amp; DefaultMetricsCollectorConfiguration |  |
|  [endpoint](./extension-metrics.metricsoptions.endpoint.md) | { disabled?: boolean; basePath?: string; } |  |
|  [pushGateway](./extension-metrics.metricsoptions.pushgateway.md) | { disabled?: boolean; url: string; interval?: number; } |  |


