Fix hackeny.POOL.queue_count metric name#583
Fix hackeny.POOL.queue_count metric name#583GregMefford wants to merge 1 commit intobenoitc:masterfrom
Conversation
|
main difficulty with it is that it's introducing a breaking change for those who're using them , so it will have to be in the next major release I guess. Otherwise I agree with the change. Let's keep it that PR around |
|
Actually I think the way this PR is currently written, it should be a bugfix instead of a breaking change, right? The code currently uses the It just never declares that metric because it declares it as |
|
@GregMefford @benoitc Wouldn't changing the update statement to |
|
I might be misunderstanding something, but it looks like in the code I linked above, it already is sending the metric updates as |
|
@GregMefford yeah, sorry, for some reason I thought the opposite was done. I also think you are right and don't see how this could be a breaking change. Surely no one is relying on an empty histogram, right? |
|
Closing: The new pool implementation correctly uses |
It looks like the code was actually populating metrics under the
queue_countname, but declaring the histogram asqueue_counter. I didn't actually test that this fixes it, but wanted to get a PR opened to see whether this is the name to use or not. It seems like this would be more consistent with the other metric names.