Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

helm: make scrape timeout configurable #59

Merged
merged 2 commits into from
Nov 9, 2023

Conversation

simoncampion
Copy link
Contributor

This MR makes the scrape timeout of the ServiceMonitor generated by the Helm chart configurable. This is helpful to fix scrape timeouts if the extended-ceph-exporter needs more time to export metrics than the global timeout settings on a cluster.

The MR also introduces a default timeout of 20s in the values.yaml of the Helm chart. I mainly introduced the default to be consistent with the existing scrapeTimeout Helm parameter that also defines a default. I'd be happy to remove the default if you prefer.

galexrt
galexrt previously approved these changes Nov 7, 2023
@galexrt
Copy link
Member

galexrt commented Nov 7, 2023

@SimonSimonB thank you for your PR!

Please bump the patch chart version to 1.3.2 here https://github.com/koor-tech/extended-ceph-exporter/blob/main/charts/extended-ceph-exporter/Chart.yaml#L18

@simoncampion
Copy link
Contributor Author

Thanks for the speedy review, @galexrt !

Please bump the patch chart version to 1.3.2 here https://github.com/koor-tech/extended-ceph-exporter/blob/main/charts/extended-ceph-exporter/Chart.yaml#L18

Sorry, forgot about that. It's bumped now.

@galexrt
Copy link
Member

galexrt commented Nov 8, 2023

@SimonSimonB No worries! Sorry, I forgot to tell you to update the helm chart docs when bumping the version.
Please run make helm-docs and combine those changes with the version bump commit.

@simoncampion
Copy link
Contributor Author

Sure thing! I amended the commit.

@galexrt galexrt merged commit b8e0546 into koor-tech:main Nov 9, 2023
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants