# Metrics

## Return Prometheus metrics.

> Returns application metrics in Prometheus exposition format.

```json
{"openapi":"3.0.0","info":{"title":"Guardian","version":"3.6.0-rc"},"servers":[{"url":"/api/v1","description":"version 1.0"}],"paths":{"/metrics":{"get":{"description":"Returns application metrics in Prometheus exposition format.","operationId":"MetricsApi_getMetrics","parameters":[],"responses":{"200":{"description":"Successful operation. Returns metrics in Prometheus text format.","content":{"text/plain":{"schema":{"type":"string"}}}},"500":{"description":"Internal server error.","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/InternalServerErrorDTO"}}}}},"summary":"Return Prometheus metrics.","tags":["metrics"]}}},"components":{"schemas":{"InternalServerErrorDTO":{"type":"object","properties":{"statusCode":{"type":"number"},"message":{"type":"string"}},"required":["statusCode","message"]}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.guardian.hedera.com/api-reference/metrics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
