---
title: "Returns Prometheus metrics."
method: GET
path: "/metrics"
tags: ["metrics"]
---

# Returns Prometheus metrics.

`GET /metrics`

Region is mandatory. Filter_tags (if any) should be written as string containing tag_name=tag_value

Results are estimated for one hour of use by default.

Example query: http://localhost:8000/metrics?aws_region=eu-west-3&filter_tag=Name=boatest&filter_tag=OtherTag=other-value&use_duration_hours=1.0&include_storage=true

## Query parameters

- `aws_region` string, required
- `filter_tags` string[], nullable
- `use_duration_hours` number, float, nullable
- `include_block_storage` boolean, nullable

## Response `200`

---

[API](https://skmtc.dev/boavizta/apis/cloud-scanner-cli.md) · [All operations](https://skmtc.dev/boavizta/apis/cloud-scanner-cli/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/boavizta/cloud-scanner-cli/revisions/ae306cb8898d/schema)
