Sindweller commented on pull request #670:
URL: 
https://github.com/apache/apisix-ingress-controller/pull/670#issuecomment-950465553


   hi, this problem is caused by 
`c.metricsCollector.RecordAPISIXLatency(time.Since(start), "getList")`. In e2e 
test case maybe there's no `metricsCollector` in `cluster` since it's passed by 
`controller.go`. In unit test, I called `NewPrometheusCollector` for every test 
case so that the test passed. Could you help me find out the relative file to 
instantiate `metricsCollector` for `cluster` in e2e test?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to