Closed alebedev87 closed 2 years ago
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: alebedev87
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/assign @DhritiShikhar
Should there be any tests for this @alebedev87 ?
Do you also want to explicity set the metrics port while initializing the operator so that the configuration matches what is currently implicit.
@DhritiShikhar : for the e2e test we'd need a reliable way of verifying the target creation in prometheus. Will try to find something.
/lgtm
As discussed with Dhriti, the e2e testing is possible but quite heavy. Prometheus targets are not exposed on the Kubernetes level (CRs or ConfigMaps/Secrets), they have to be retrieved from the prometheus API which most often is queried by exec
inf into the prometheus POD.
/assign @quarterpin
/label qe-approved
/assign @xenolinux
/label px-approved
/label docs-approved
Don't expect any docs update for the built-in controller-runtime metrics.
@alebedev87: all tests passed!
Full PR test history. Your PR dashboard.
Result:![image](https://user-images.githubusercontent.com/18031474/168306366-f74cc0a6-194e-424e-9cda-dbadc3bd522c.png)