# Namespace Dashboard

The **Namespace Dashboard** provides detailed cost metrics for each Namespace.

The cost metrics provided for each Namespace include the **Utilized Cost** for each individual Kubernetes resource in the namespace (CPU, RAM, Storage), the **Idle Cost** (both as an absolute $ figure as well as a percentage) and the **Total Cost** of the Namespace.&#x20;

The Namespace Dashboard also outlines the **External Cost** for each namespace.

Each metric is provided for a specific timeframe which can be chosen in the date picker in the top right of the screen.

![](https://4068579783-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFGA2pJIFrMdGZ5i84m%2F-MdRax-ttpGl14d1Xash%2F-MdRbrK9GYB31lTDnJpc%2FKubernetes-Namespaces-Replex%20\(1\).png?alt=media\&token=2b39d4bf-98a5-4d78-9335-d2745770dc1f)

### Namespace Dashboard Filters

The namespace dashboard can be filtered using the **Filter by clusters or namespaces** field in the top left of the screen.

The following filters can be applied to the namespace dashboard:

* Display metrics for individual namespaces or groups of namespaces
* Display metrics for namespaces belonging to an individual cluster or group of clusters
* And a combination of both

![Namespace Dashboard Filters](https://4068579783-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFGA2pJIFrMdGZ5i84m%2F-MdRax-ttpGl14d1Xash%2F-MdRglattP3MzfVWEM0j%2FKubernetes-Namespaces-Replex%20\(2\).png?alt=media\&token=f75a80d5-68a6-4809-9d3a-ceeb367fb548)

### Cross-Cluster vs Single Cluster Namespaces

Most Kubernetes environments have multiple clusters with namespaces spanning across clusters or simply with the same naming convention.&#x20;

Cross-cluster namespaces can be differentiated by the arrow preceding the namespace name. Single cluster namespaces do not have the arrow preceding it.

In the screenshot below, replex and replex-ns are cross-cluster namespaces, while dev\_namespace is a single cluster namespace.

![Cross-Cluster and Single Cluster Namespaces](https://4068579783-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFGA2pJIFrMdGZ5i84m%2F-MdRm5_vH-4S29fW1FUT%2F-MdRnbdNChVJugLpeOlb%2FKubernetes-Namespaces-Replex%20\(4\).png?alt=media\&token=7bb507d3-51a7-48bc-9051-ad694443acd5)

In case a **Namespace** spans across multiple clusters, Replex will aggregate the cost metrics for all the resources that belong to that namespace in all clusters.&#x20;

Per cluster metrics for that namespace can be viewed by clicking on the arrow preceding each namespace name.&#x20;

![Cross Cluster Namespaces](https://4068579783-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFGA2pJIFrMdGZ5i84m%2F-MdRh-crm4YvKXP7hmNc%2F-MdRhgbx8GJ52helxXu3%2FKubernetes-Namespaces-Replex%20\(3\).png?alt=media\&token=272a8f01-9823-4195-bbbc-3e335cee4c22)

The screenshot above outlines cost metrics for the **replex** namespace across all clusters including **replex-1**, **replex-gke** and **replex- eks** etc.&#x20;

### Detailed Namespace View

Clicking on a single cluster namespace will take you to the [**Detailed Namespace View**](https://docs.replex.io/getting-started/cluster-dashboard#detailed-namespace-view). Read more about the charts and metrics provided on the detailed namespace view [here](https://docs.replex.io/getting-started/cluster-dashboard#detailed-namespace-view).

### Detailed Cross-Cluster Namespace View

Clicking on a cross-cluster namespace will take you to the **Detailed Cross Cluster Namespace View.**&#x20;

The **Detailed Cross-Cluster Namespace View** outlines aggregated metics for all instances of that namespace across all clusters.

![Detailed Cross-Cluster Namespace View](https://4068579783-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFGA2pJIFrMdGZ5i84m%2F-MdRqWbYZG90z-1FRM_v%2F-MdRqzKio-3UH5xRoTDv%2FNamespaces-Replex-Replex.png?alt=media\&token=1e10ecf4-fa40-43f2-9aca-fff43c9518d0)

The **Cost Overview** section of the **Detailed Cross-Cluster Namespace View** outlines the  aggregated **Total Cost** of that namespace as well as the **Utilized Cost** for **RAM**, **CPU** and **Storage** for all instances of that namespace.

It also provides the **Idle Cost** of that cross-cluster namespace both as an absolute $ number as well as a percentage.

Finally, the **Cost Overview** section also outlines the **External Cost** of that cross-cluster namespace.

![Cost Overview](https://4068579783-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFGA2pJIFrMdGZ5i84m%2F-MdRqWbYZG90z-1FRM_v%2F-MdRrEdZv2rUJP8HKvSv%2FNamespaces-Replex-Replex%20\(1\).png?alt=media\&token=840c3b72-3ed6-44fd-be0c-41a1d51380bc)

The **Detailed Cross-Cluster Namespace View** also provides a cost breakdown for individual out of cluster resources allocated to the cross-cluster namespace. It outlines both the **Resource Type** as well as its cost for the time period chose&#x6E;**.**&#x20;

Cost breakdowns for external resources (out of cluster resources) can be viewed by clicking on **Show External Resources.**

![Cost Breakdown for External Resources](https://4068579783-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFGA2pJIFrMdGZ5i84m%2F-MdRrJsHPBrv2ZAmKy4u%2F-MdRriqOCKD_QQemJSRk%2FNamespaces-Replex-Replex%20\(2\).png?alt=media\&token=7e9d9bfd-46ce-46ce-890a-58293c547829)

In the section below the **Cost Overview**, the **Detailed Cross-Cluster Namespace View** outlines all instances of the namespace across all clusters as well as the cost metrics associated with  each instance.

![Cost Metrics for each Cross-Cluster Namespace Instance](https://4068579783-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFGA2pJIFrMdGZ5i84m%2F-MdRrsZJ8JI-wEEExPgc%2F-MdRsU1K_Q28fvaY3bXH%2FNamespaces-Replex-Replex%20\(3\).png?alt=media\&token=905f47e2-c523-406b-aa9e-03806582bff3)

Next, on the **Detailed Cross-Cluster Namespace View** are two charts: **Allocated Cost Combined** and **Allocated Cost Detailed**.

**Allocated Cost Combined** is a cost progression chart for that instances of that namespace for the entire duration chosen.

The **Allocated Cost Detailed** chart dynamically groups the costs of the cross-cluster namespace on a weekly, daily or hourly basis, based on the duration chosen. &#x20;

The individual bars representing total cross-cluster namespace costs are broken down into **RAM**, **CPU,** **PVC** and **Node Disk Costs**, for a more informative and easy-to-understand cost analysis.

![Allocated Cost Combined and Allocated Cost Detailed](https://4068579783-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFGA2pJIFrMdGZ5i84m%2F-MdRtZRab42YVvUCtTOr%2F-MdRtamBZNlb4ILrC4_l%2FNamespaces-Replex-Replex%20\(4\).png?alt=media\&token=95ad68e5-bfa0-433e-86c3-ccc781c1d168)
