Skip to content

Commit

Permalink
Fix server_pool_idle metric name (#540)
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Peretrukhin <anton.peretrukhin@flant.com>
  • Loading branch information
Ivelok and aperetrukhinFlant authored Nov 9, 2023
1 parent 5faba9b commit 5f4e64d
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 5f4e64d

Please sign in to comment.