Closed sed-i closed 2 years ago
Add self._set_scrape_job_spec as an observer to update-status.
self._set_scrape_job_spec
update-status
Fixes #368.
The user would have to wait for the update-status hook interval to elapse.
This is an alternative to #384.
Always refresh metrics endpoint reldata on update-status.
Issue
368: metrics endpoint is not updated to ingressed address after relating to traefik.
Solution
Add
self._set_scrape_job_spec
as an observer toupdate-status
.Fixes #368.
Drawbacks
The user would have to wait for the update-status hook interval to elapse.
Context
This is an alternative to #384.
Testing Instructions
Release Notes
Always refresh metrics endpoint reldata on update-status.