Add metrics to histoselect, add userfilters

- edit struct to make only count return required
This commit is contained in:
Christoph Kluge
2023-12-08 12:03:04 +01:00
parent 7d14086e54
commit 1185737eaa
8 changed files with 136 additions and 130 deletions

View File

@@ -4,10 +4,10 @@
import { gql, getContextClient , mutationStore } from '@urql/svelte'
export let cluster
export let availableMetrics = ['cpu_load', 'flops_any', 'mem_bw']
export let metricsInHistograms
export let isOpen
let availableMetrics = ['cpu_load', 'flops_any', 'mem_used', 'mem_bw', 'net_bw', 'file_bw']
let pendingMetrics = [...metricsInHistograms] // Copy
const client = getContextClient()