# WHMCS\UsageBilling\Contracts\Metrics\ProviderInterface

`Interface`

ProviderInterface

## Methods

### metrics

```php
public function metrics()
```

All metrics supported by provider, keyed by metric system name

**Returns** `MetricInterface[]`

### tenantUsage

```php
public function tenantUsage($tenant)
```

**Returns** `MetricInterface[]`

### usage

```php
public function usage()
```

All usage of the provider, keyed by tenant id

**Returns** `array`