---
title: "Get Pebble metrics"
method: GET
path: "/v1/metrics"
tags: ["metrics"]
---

# Get Pebble metrics

`GET /v1/metrics`

Get Pebble services and health checks metrics in [OpenMetrics](https://github.com/prometheus/OpenMetrics) format.

When used over TCP, this endpoint requires HTTP basic authentication using an identity of type "basic". See [Identities](../identities) for more information.

## Response `200`

Metrics in OpenMetrics format.

## Changes

- **2025-03-05** `81e2aeb9ca38` — 1 info
  - the endpoint scheme security `basicAuth` was removed from the API
- **2025-02-26** `94df38aeffbf` — 1 info
  - endpoint added
- **2024-12-22** `b3903318c3bd` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/canonical/apis/pebble-api/changes/v1/metrics/get.md)

---

[API](https://skmtc.dev/canonical/apis/pebble-api.md) · [All operations](https://skmtc.dev/canonical/apis/pebble-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/canonical/pebble-api/revisions/a94f353eccac/schema)
