]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: contrib/prometheus-exporter: typo fixes for ssl reuse metric
authorPierre Cheynier <p.cheynier@criteo.com>
Tue, 7 Jul 2020 17:14:08 +0000 (19:14 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 7 Jul 2020 21:15:03 +0000 (23:15 +0200)
A typo I identified while having a look to our metric inventory.
(s/frontent/frontend)

contrib/prometheus-exporter/README
contrib/prometheus-exporter/service-prometheus.c

index 1c5a9924108a8cb6eb9b1573a6d577bf966d863b..a1b9e269c2aac52629a81b5f964e6efe858aeedb 100644 (file)
@@ -122,7 +122,7 @@ Exported metrics
 | haproxy_process_max_ssl_rate                   | Maximum observed number of SSL sessions per second.                           |
 | haproxy_process_current_frontend_ssl_key_rate  | Current frontend SSL Key computation per second over last elapsed second.     |
 | haproxy_process_max_frontend_ssl_key_rate      | Maximum observed frontend SSL Key computation per second.                     |
-| haproxy_process_frontent_ssl_reuse             | SSL session reuse ratio (percent).                                            |
+| haproxy_process_frontend_ssl_reuse             | SSL session reuse ratio (percent).                                            |
 | haproxy_process_current_backend_ssl_key_rate   | Current backend SSL Key computation per second over last elapsed second.      |
 | haproxy_process_max_backend_ssl_key_rate       | Maximum observed backend SSL Key computation per second.                      |
 | haproxy_process_ssl_cache_lookups_total        | Total number of SSL session cache lookups.                                    |
index 952558c7014e390a27b53084d5d1734046c7715a..009e817aece4e46f4e36f77e5cbaa41055009dcd 100644 (file)
@@ -485,7 +485,7 @@ const struct ist promex_inf_metric_names[INF_TOTAL_FIELDS] = {
        [INF_MAX_SSL_RATE]                   = IST("max_ssl_rate"),
        [INF_SSL_FRONTEND_KEY_RATE]          = IST("current_frontend_ssl_key_rate"),
        [INF_SSL_FRONTEND_MAX_KEY_RATE]      = IST("max_frontend_ssl_key_rate"),
-       [INF_SSL_FRONTEND_SESSION_REUSE_PCT] = IST("frontent_ssl_reuse"),
+       [INF_SSL_FRONTEND_SESSION_REUSE_PCT] = IST("frontend_ssl_reuse"),
        [INF_SSL_BACKEND_KEY_RATE]           = IST("current_backend_ssl_key_rate"),
        [INF_SSL_BACKEND_MAX_KEY_RATE]       = IST("max_backend_ssl_key_rate"),
        [INF_SSL_CACHE_LOOKUPS]              = IST("ssl_cache_lookups_total"),