Fix a typo in a prometheus help string

This patch fixes a typo in the prometheus help string for pool member abort
metrics.
Previously the help string had "octavia_pool_server_aborts_total" where
it should be "octavia_pool_member_aborts_total".

Change-Id: I403398aa00b0c39804f1a1699b11f7da7fc33cd9
This commit is contained in:
Michael Johnson
2022-02-27 01:12:48 +00:00
parent c5561a3ecb
commit 41e3225c88
2 changed files with 2 additions and 2 deletions

View File

@@ -398,7 +398,7 @@ METRIC_MAP = {
("octavia_pool_client_aborts_total{", None, {"proxy=": "pool="}),
"haproxy_backend_server_aborts_total ":
("octavia_pool_member_aborts_total ",
"# HELP octavia_pool_server_aborts_total Total number of data "
"# HELP octavia_pool_member_aborts_total Total number of data "
"transfers aborted by the server.\n", None),
"haproxy_backend_server_aborts_total{":
("octavia_pool_member_aborts_total{", None, {"proxy=": "pool="}),

View File

@@ -363,7 +363,7 @@ octavia_pool_failed_header_rewriting_total{pool="6034884d-ed47-49d5-ade7-8fa2c45
# TYPE octavia_pool_client_aborts_total counter
octavia_pool_client_aborts_total{pool="6034884d-ed47-49d5-ade7-8fa2c4501a74:1a0c13c0-8e69-46c7-a68a-ca4937996d74"} 0
octavia_pool_client_aborts_total{pool="6034884d-ed47-49d5-ade7-8fa2c4501a74:0b248d39-eb90-4180-91aa-5363be7df4db"} 0
# HELP octavia_pool_server_aborts_total Total number of data transfers aborted by the server.
# HELP octavia_pool_member_aborts_total Total number of data transfers aborted by the server.
# TYPE octavia_pool_member_aborts_total counter
octavia_pool_member_aborts_total{pool="6034884d-ed47-49d5-ade7-8fa2c4501a74:1a0c13c0-8e69-46c7-a68a-ca4937996d74"} 0
octavia_pool_member_aborts_total{pool="6034884d-ed47-49d5-ade7-8fa2c4501a74:0b248d39-eb90-4180-91aa-5363be7df4db"} 0