From 9ca34d217ab67afdd7d0ff974b6dbf89958e15f2 Mon Sep 17 00:00:00 2001 From: brinkcoder Date: Wed, 5 Mar 2025 01:36:50 +0100 Subject: [PATCH] switch to cc-lib. docs: consistency for list --- collectors/schedstatMetric.go | 2 +- collectors/schedstatMetric.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/collectors/schedstatMetric.go b/collectors/schedstatMetric.go index d098804..630a33c 100644 --- a/collectors/schedstatMetric.go +++ b/collectors/schedstatMetric.go @@ -10,8 +10,8 @@ import ( "strings" "time" + lp "github.com/ClusterCockpit/cc-lib/ccMessage" cclog "github.com/ClusterCockpit/cc-metric-collector/pkg/ccLogger" - lp "github.com/ClusterCockpit/cc-energy-manager/pkg/cc-message" ) const SCHEDSTATFILE = `/proc/schedstat` diff --git a/collectors/schedstatMetric.md b/collectors/schedstatMetric.md index 6369eca..c20df72 100644 --- a/collectors/schedstatMetric.md +++ b/collectors/schedstatMetric.md @@ -1,4 +1,3 @@ - ## `schedstat` collector ```json "schedstat": { @@ -8,4 +7,4 @@ The `schedstat` collector reads data from /proc/schedstat and calculates a load value, separated by hwthread. This might be useful to detect bad cpu pinning on shared nodes etc. Metric: -* `cpu_load_core` \ No newline at end of file +- `cpu_load_core`