Add possibility to exclude deadlocks & other Hotspot collectors#672
Add possibility to exclude deadlocks & other Hotspot collectors#672hpple wants to merge 1 commit intoprometheus:masterfrom hpple:master
Conversation
…ctors Signed-off-by: Stanislav Kashirin <kashirinst@gmail.com>
|
Thanks a lot for the PR, I'll get back to this in the next couple of days. |
|
My understanding of the intention of this PR is that users may want to exclude However, both solutions (#612 and #672) hard-code the assumption that users want to exclude exactly the two metrics If a user wants to exclude any other metric except for I think it would be good to provide a more generic way to exclude metrics by name. Users could use that generic solution to exclude We already have a similar functionality in What about extending the Do you think that would solve the issue? |
|
Ok, now I see that in some cases we call |
|
Hi! Thank you for your comments! I suppose I get your point regarding the "hard-code" part of the both approaches. As far as I understood you'd like to see this "exclude list" with possibility to dynamically reconfigure/extend it on-the-fly (e.g. by introducing the suggested But, frankly speaking, it seems like this flexibility may bring a bit of a confusion. As far as I can see, the only way to introduce It does not look like a generic solution for me, unless you're planning to use this approach as an intermediate step and going to deprecate the old |
|
I played a bit with a more generic implementation and created a PR with the current status. It's not complete yet, but I hope it's enough to see how this would look like. The filter is implemented in the |
|
@fstab |
|
Closing this as this has been addressed with #680. |
Hi, @brian-brazil
Here is an alternative approach to fix the issue raised by #612.