diff --git a/charts/extended-ceph-exporter/Chart.yaml b/charts/extended-ceph-exporter/Chart.yaml index 398f502..5389ccc 100644 --- a/charts/extended-ceph-exporter/Chart.yaml +++ b/charts/extended-ceph-exporter/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.3.1 +version: 1.3.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/extended-ceph-exporter/README.md b/charts/extended-ceph-exporter/README.md index 7e2039a..123c996 100644 --- a/charts/extended-ceph-exporter/README.md +++ b/charts/extended-ceph-exporter/README.md @@ -2,7 +2,7 @@ A Helm chart for deploying the extended-ceph-exporter to Kubernetes -![Version: 1.3.1](https://img.shields.io/badge/Version-1.3.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.0.3](https://img.shields.io/badge/AppVersion-v1.0.3-informational?style=flat-square) +![Version: 1.3.2](https://img.shields.io/badge/Version-1.3.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.0.3](https://img.shields.io/badge/AppVersion-v1.0.3-informational?style=flat-square) ## Get Repo Info @@ -84,4 +84,5 @@ _See [helm uninstall](https://helm.sh/docs/helm/helm_uninstall/) for command doc | serviceMonitor.enabled | bool | `false` | Specifies whether a prometheus-operator ServiceMonitor should be created | | serviceMonitor.namespaceSelector | string | `nil` | | | serviceMonitor.scrapeInterval | duration | `"30s"` | Interval at which metrics should be scraped | +| serviceMonitor.scrapeTimeout | duration | `"20s"` | Timeout for scraping | | tolerations | list | `[]` | [Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) | diff --git a/charts/extended-ceph-exporter/templates/servicemonitor.yaml b/charts/extended-ceph-exporter/templates/servicemonitor.yaml index 8f6931d..4d8bb2e 100644 --- a/charts/extended-ceph-exporter/templates/servicemonitor.yaml +++ b/charts/extended-ceph-exporter/templates/servicemonitor.yaml @@ -15,6 +15,7 @@ spec: endpoints: - port: http-metrics interval: {{ .Values.serviceMonitor.scrapeInterval }} + scrapeTimeout: {{ .Values.serviceMonitor.scrapeTimeout }} {{- if .Values.serviceMonitor.honorLabels }} honorLabels: true {{- end }} diff --git a/charts/extended-ceph-exporter/values.yaml b/charts/extended-ceph-exporter/values.yaml index f7680b7..18dc901 100644 --- a/charts/extended-ceph-exporter/values.yaml +++ b/charts/extended-ceph-exporter/values.yaml @@ -94,6 +94,8 @@ serviceMonitor: # any: true # -- (duration) Interval at which metrics should be scraped scrapeInterval: 30s + # -- (duration) Timeout for scraping + scrapeTimeout: 20s # honorLabels: true prometheusRule: