---
title: "Get metrics (K8s)"
method: GET
path: "/v2/metrics/k8"
tags: ["Metrics"]
---

# Get metrics (K8s)

`GET /v2/metrics/k8`

## Response `200`

Returns k8 metrics from duckdb

- NodeResourceMetricList[]
  - `details` NodeMetricItem[]
    - `collector` string, required
    - `cpu_core` string
    - `cpu_mode` string
    - `filesystem` string
    - `metric_name` string, required
    - `mountpoint` string
    - `resource` string, nullable
    - `timestamp` integer, required
    - `value` string, required
  - `name` string, required

## Other responses

- `500` — Failed to connect/fetch from metrics table from database

---

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