Filter-on-click when instance has hostname:port

This issue has been tracked since 2022-02-01.

thank you for your work on Karma! Truly useful. In our setup instance has the default/standard host:port form, therefore by clicking an instance label on the UI the filter added matches exactly host + port. In our case a more useful behavior would be to add a filter to match the host part only (i.e. show all alerts for the filtered host). Is there a recommendation / best practice for this case ? Thank you !

prymitive wrote this answer on 2022-02-02

I don't think it makes a lot of sense to apply value B when you click on A. It's a key/value pair, how would it even know to apply a different value?
I think the solution here is to normalise your labels, you're using 2 different values to identify the same entity and then face problem when trying to drill down on instance. Make it same value and the problem goes away.

More Details About Repo
Owner Name prymitive
Repo Name karma
Full Name prymitive/karma
Language TypeScript
Created Date 2018-09-09
Updated Date 2023-03-17
Star Count 1921
Watcher Count 33
Fork Count 166
Issue Count 2


Issue Title Created Date Updated Date