---
title: "Get snapshot metrics from the service. If you're using k8s, you can then add annotations to your deployment like so:"
method: GET
path: "/metrics/prometheus"
tags: ["metadata"]
---

# Get snapshot metrics from the service. If you're using k8s, you can then add annotations to your deployment like so:

`GET /metrics/prometheus`

```
metadata:
annotations:
prometheus.io/port: "4434"
prometheus.io/path: "/metrics/prometheus"
```

## Response `200`

Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201.

## Changes

- **2021-07-13** `8f1b399ab6e6` — 2 info
  - api tag `metadata` added
  - api tag `admin` removed
- **2021-05-05** `381c760af46e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ory/apis/ory-identities-api/changes/metrics/prometheus/get.md)

---

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