From 76989332d3ebb1a1dbabb0e9963b9ab8f085de6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Jouannet?= Date: Thu, 11 May 2023 12:03:51 +0200 Subject: [PATCH] rollback the typo fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: RĂ©mi Jouannet --- collector/fixtures/e2e-64k-page-output.txt | 6 +++--- collector/fixtures/e2e-output.txt | 6 +++--- collector/softnet_linux.go | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/collector/fixtures/e2e-64k-page-output.txt b/collector/fixtures/e2e-64k-page-output.txt index c063417974..a8d127555a 100644 --- a/collector/fixtures/e2e-64k-page-output.txt +++ b/collector/fixtures/e2e-64k-page-output.txt @@ -3058,9 +3058,9 @@ node_softnet_processed_total{cpu="0"} 299641 # HELP node_softnet_received_rps_total Number of times cpu woken up received_rps # TYPE node_softnet_received_rps_total counter node_softnet_received_rps_total{cpu="0"} 0 -# HELP node_softnet_time_squeezed_total Number of times processing packets ran out of quota -# TYPE node_softnet_time_squeezed_total counter -node_softnet_time_squeezed_total{cpu="0"} 1 +# HELP node_softnet_times_squeezed_total Number of times processing packets ran out of quota +# TYPE node_softnet_times_squeezed_total counter +node_softnet_times_squeezed_total{cpu="0"} 1 # HELP node_softnet_width softnet_data's Width # TYPE node_softnet_width gauge node_softnet_width{cpu="0"} 11 diff --git a/collector/fixtures/e2e-output.txt b/collector/fixtures/e2e-output.txt index 489870e357..da4e6007cc 100644 --- a/collector/fixtures/e2e-output.txt +++ b/collector/fixtures/e2e-output.txt @@ -3080,9 +3080,9 @@ node_softnet_processed_total{cpu="0"} 299641 # HELP node_softnet_received_rps_total Number of times cpu woken up received_rps # TYPE node_softnet_received_rps_total counter node_softnet_received_rps_total{cpu="0"} 0 -# HELP node_softnet_time_squeezed_total Number of times processing packets ran out of quota -# TYPE node_softnet_time_squeezed_total counter -node_softnet_time_squeezed_total{cpu="0"} 1 +# HELP node_softnet_times_squeezed_total Number of times processing packets ran out of quota +# TYPE node_softnet_times_squeezed_total counter +node_softnet_times_squeezed_total{cpu="0"} 1 # HELP node_softnet_width softnet_data's Width # TYPE node_softnet_width gauge node_softnet_width{cpu="0"} 11 diff --git a/collector/softnet_linux.go b/collector/softnet_linux.go index 02200db747..9cb829082a 100644 --- a/collector/softnet_linux.go +++ b/collector/softnet_linux.go @@ -66,7 +66,7 @@ func NewSoftnetCollector(logger log.Logger) (Collector, error) { []string{"cpu"}, nil, ), timeSqueezed: prometheus.NewDesc( - prometheus.BuildFQName(namespace, softnetSubsystem, "time_squeezed_total"), + prometheus.BuildFQName(namespace, softnetSubsystem, "times_squeezed_total"), "Number of times processing packets ran out of quota", []string{"cpu"}, nil, ),