# `PolarExpress.Services.MetricsService`
[🔗](https://github.com/jeffhuen/polar_express/blob/main/lib/polar_express/services/metrics_service.ex#L2)

Metrics

Metrics API operations.

# `get_metrics`

```elixir
@spec get_metrics(PolarExpress.Client.t(), map(), keyword()) ::
  {:ok, PolarExpress.Schemas.MetricsResponse.t()}
  | {:error, PolarExpress.Error.t()}
```

Get Metrics

Get metrics about your orders and subscriptions.

Currency values are output in cents.

**Scopes**: `metrics:read`

See `PolarExpress.Params.MetricsGetMetricsParams` for parameter details.

# `get_metrics_limits`

```elixir
@spec get_metrics_limits(PolarExpress.Client.t(), map(), keyword()) ::
  {:ok, PolarExpress.Schemas.MetricsLimits.t()}
  | {:error, PolarExpress.Error.t()}
```

Get Metrics Limits

Get the interval limits for the metrics endpoint.

**Scopes**: `metrics:read`

See `PolarExpress.Params.MetricsGetMetricsLimitsParams` for parameter details.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
