From 6f379cf0526f415b4cba7f21c624d5cd1b8d0a33 Mon Sep 17 00:00:00 2001 From: looklose Date: Wed, 10 Apr 2024 19:59:46 +0800 Subject: [PATCH] chore: fix typo in comment Signed-off-by: looklose --- collector/systemd_linux.go | 2 +- docs/node-mixin/config.libsonnet | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/collector/systemd_linux.go b/collector/systemd_linux.go index 3323251114..e0d35bcde6 100644 --- a/collector/systemd_linux.go +++ b/collector/systemd_linux.go @@ -75,7 +75,7 @@ type systemdCollector struct { socketCurrentConnectionsDesc *prometheus.Desc socketRefusedConnectionsDesc *prometheus.Desc systemdVersionDesc *prometheus.Desc - // Use regexps for more flexability than device_filter.go allows + // Use regexps for more flexibility than device_filter.go allows systemdUnitIncludePattern *regexp.Regexp systemdUnitExcludePattern *regexp.Regexp logger log.Logger diff --git a/docs/node-mixin/config.libsonnet b/docs/node-mixin/config.libsonnet index bf6c83edd3..df2af23f92 100644 --- a/docs/node-mixin/config.libsonnet +++ b/docs/node-mixin/config.libsonnet @@ -73,7 +73,7 @@ fsSpaceAvailableWarningThreshold: 5, fsSpaceAvailableCriticalThreshold: 3, - // Memory utilzation (%) level on which to trigger the + // Memory utilization (%) level on which to trigger the // 'NodeMemoryHighUtilization' alert. memoryHighUtilizationThreshold: 90,