Skip to content

Commit

Permalink
Fix server_pool_idle metric name (yandex#540)
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Peretrukhin <[email protected]>
  • Loading branch information
2 people authored and NikitaUnisikhin committed Nov 20, 2023
1 parent 238e871 commit 455975e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/prom_metrics.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ int od_prom_metrics_init(struct od_prom_metrics *self)
"server_pool_active", "Active servers count", 0, NULL);
prom_collector_add_metric(stat_general_metrics_collector,
self->server_pool_active);
self->server_pool_idle = prom_gauge_new("sever_pool_idle",
self->server_pool_idle = prom_gauge_new("server_pool_idle",
"Idle servers count", 0, NULL);
prom_collector_add_metric(stat_general_metrics_collector,
self->server_pool_idle);
Expand Down

0 comments on commit 455975e

Please sign in to comment.