Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metrics path per unit #373

Merged
merged 1 commit into from
Sep 29, 2022
Merged

Metrics path per unit #373

merged 1 commit into from
Sep 29, 2022

Conversation

sed-i
Copy link
Contributor

@sed-i sed-i commented Sep 29, 2022

Issue

With #370 implemented, now wildcard targets are expanded to individual jobs.
However, the provider's constructor currently takes a hostname rather than a url, and (ingress) path cannot be inferred.

Solution

Change the provider constructor to take a url. This is a non-breaking change because prometheus_scrape wasn't published since the external_hostname arg was introduced.

Context

Depends on #370.

Testing Instructions

Afaict, existing utests and itest provide sufficient coverage.

Release Notes

Add support for a custom metrics path per unit.

@sed-i sed-i marked this pull request as ready for review September 29, 2022 09:30
Base automatically changed from feature/one_job_per_unit to main September 29, 2022 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants