[Profiler] Support multiple IPs for matching

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | tbd

As matching by IPs is introduced in 2.3, I request this for that version too. Not sure if that's the way it should be done