diff --git a/charts/prometheus/Chart.yaml b/charts/prometheus/Chart.yaml index 715e77c..121f27f 100644 --- a/charts/prometheus/Chart.yaml +++ b/charts/prometheus/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: 0.0.1 +version: 0.0.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/prometheus/README.md b/charts/prometheus/README.md index 9251cf7..46d2fd6 100644 --- a/charts/prometheus/README.md +++ b/charts/prometheus/README.md @@ -1,6 +1,6 @@ # prometheus -![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square) +![Version: 0.0.2](https://img.shields.io/badge/Version-0.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square) A Helm chart for Prometheus @@ -34,7 +34,7 @@ It is recommended to put non-sensitive configuration values in a configuration f 2. Install via helm to namespace `default` ```bash - helm upgrade my-release-name pharmaledger-imi/prometheus --version=0.0.1 \ + helm upgrade my-release-name pharmaledger-imi/prometheus --version=0.0.2 \ --install \ --values my-values.yaml \ ``` @@ -48,7 +48,7 @@ Run `helm upgrade --helm` for full list of options. You can install into other namespace than `default` by setting the `--namespace` parameter, e.g. ```bash - helm upgrade my-release-name pharmaledger-imi/prometheus --version=0.0.1 \ + helm upgrade my-release-name pharmaledger-imi/prometheus --version=0.0.2 \ --install \ --namespace=my-namespace \ --values my-values.yaml \ @@ -59,7 +59,7 @@ Run `helm upgrade --helm` for full list of options. Provide the `--wait` argument and time to wait (default is 5 minutes) via `--timeout` ```bash - helm upgrade my-release-name pharmaledger-imi/prometheus --version=0.0.1 \ + helm upgrade my-release-name pharmaledger-imi/prometheus --version=0.0.2 \ --install \ --wait --timeout=600s \ --values my-values.yaml \ diff --git a/charts/prometheus/templates/configmap.yaml b/charts/prometheus/templates/configmap.yaml index 6995a58..59b175f 100644 --- a/charts/prometheus/templates/configmap.yaml +++ b/charts/prometheus/templates/configmap.yaml @@ -14,13 +14,6 @@ data: type: "governance-metrics" scrape_configs: - - job_name: "live-metrics" - params: - mode: [ "live" ] - static_configs: - - targets: [ "{{ .Values.configMap.serviceName }}:{{ .Values.configMap.servicePort }}" ] - - job_name: "static-metrics" - params: - mode: [ "static" ] + - job_name: "metrics" static_configs: - targets: [ "{{ .Values.configMap.serviceName }}:{{ .Values.configMap.servicePort }}" ] \ No newline at end of file