]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: contrib/prometheus-exporter: Fix a typo in the run-queue metric type
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 17 Apr 2019 14:04:44 +0000 (16:04 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 18 Apr 2019 08:27:16 +0000 (10:27 +0200)
No backport needed.

contrib/prometheus-exporter/service-prometheus.c

index ed71acf9333a42831e57eb6dc811adb8b1f26934..63bf4e6094e7fc8616248590855ffca43e45744c 100644 (file)
@@ -938,7 +938,7 @@ const struct ist promex_inf_metric_types[INF_TOTAL_FIELDS] = {
        [INF_ZLIB_MEM_USAGE]                 = IST("gauge"),
        [INF_MAX_ZLIB_MEM_USAGE]             = IST("counter"),
        [INF_TASKS]                          = IST("gauge"),
-       [INF_RUN_QUEUE]                      = IST("gouge"),
+       [INF_RUN_QUEUE]                      = IST("gauge"),
        [INF_IDLE_PCT]                       = IST("gauge"),
        [INF_NODE]                           = IST("untyped"),
        [INF_DESCRIPTION]                    = IST("untyped"),