diff --git a/stable/prometheus-locust-exporter/Chart.yaml b/stable/prometheus-locust-exporter/Chart.yaml index 28cbf29a..2274932b 100644 --- a/stable/prometheus-locust-exporter/Chart.yaml +++ b/stable/prometheus-locust-exporter/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "v0.4.1" description: A Helm chart a prometheus exporter locust load test metrics name: prometheus-locust-exporter -version: 1.1.0 +version: 1.2.0 home: https://github.com/ContainerSolutions/locust_exporter sources: - https://github.com/ContainerSolutions/locust_exporter diff --git a/stable/prometheus-locust-exporter/README.md b/stable/prometheus-locust-exporter/README.md index 9d2e3664..19036d9a 100644 --- a/stable/prometheus-locust-exporter/README.md +++ b/stable/prometheus-locust-exporter/README.md @@ -1,6 +1,6 @@ # prometheus-locust-exporter -![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![AppVersion: v0.4.1](https://img.shields.io/badge/AppVersion-v0.4.1-informational?style=flat-square) +![Version: 1.2.0](https://img.shields.io/badge/Version-1.2.0-informational?style=flat-square) ![AppVersion: v0.4.1](https://img.shields.io/badge/AppVersion-v0.4.1-informational?style=flat-square) A Helm chart a prometheus exporter locust load test metrics diff --git a/stable/prometheus-locust-exporter/templates/service-monitor.yaml b/stable/prometheus-locust-exporter/templates/service-monitor.yaml index c385bfdd..b8c729e6 100644 --- a/stable/prometheus-locust-exporter/templates/service-monitor.yaml +++ b/stable/prometheus-locust-exporter/templates/service-monitor.yaml @@ -14,4 +14,12 @@ spec: - port: metrics path: /metrics interval: 30s + {{- if .Values.serviceMonitor.relabelings }} + relabelings: + {{- toYaml .Values.serviceMonitor.relabelings | nindent 4 }} + {{- end }} + {{- if .Values.serviceMonitor.metricRelabelings }} + metricRelabelings: + {{- toYaml .Values.serviceMonitor.metricRelabelings | nindent 4 }} + {{- end }} {{- end -}} diff --git a/stable/prometheus-locust-exporter/values.yaml b/stable/prometheus-locust-exporter/values.yaml index f117b8f8..028ecf16 100644 --- a/stable/prometheus-locust-exporter/values.yaml +++ b/stable/prometheus-locust-exporter/values.yaml @@ -70,6 +70,9 @@ service: serviceMonitor: # Enusre that service is created enabled: false + # relabelings: [] + # metricRelabelings: [] + nodeSelector: {}