mirror of
https://github.com/skooner-k8s/skooner.git
synced 2026-02-14 17:49:55 +00:00
@@ -8,7 +8,6 @@ import PrometheusGraph, {BASE_HTTP_URL} from '../views/prometheusgraph';
|
||||
import api from '../services/api';
|
||||
|
||||
export default function RamChart({items, metrics, item}: {items?: Pod[], metrics?: _.Dictionary<Metrics>, item?: Pod | ReplicaSet}) {
|
||||
|
||||
const totals = getPodRamTotals(items, metrics);
|
||||
const decimals = totals && totals.used > 10 ? 1 : 2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user