Results 2 issues of Wallace Reis

The Service port is not used for scraping. The actual Endpoints resources part of Service are at 9117 (targetPort/containerPort). The best practice for scraping metrics is to do that against...

bug

I noticed that body from nsqlookupd response contains `broadcast_address` with podIP value of nsqd instance, which gets stale/invalid as soon nsqd pod restarts. ``` / # curl "http://nsq-nsqlookupd.nsq.svc.cluster.local:4161/lookup?channel=chan1&format=json&topic=topic1" {"channels":["chan1"],"producers":[{"remote_address":"10.15.119.136:48390","hostname":"nsq-nsqd-1","broadcast_address":"10.15.119.136","tcp_port":4150,"http_port":4151,"version":"1.3.0"},{"remote_address":"10.15.82.172:36240","hostname":"nsq-nsqd-0","broadcast_address":"10.15.82.172","tcp_port":4150,"http_port":4151,"version":"1.3.0"}]} ```...