From d1e98bc2da98c96e03ae4d183c50999c52432e9c Mon Sep 17 00:00:00 2001 From: Janne Mareike Koschinski <janne@kuschku.de> Date: Sat, 14 May 2022 15:40:37 +0200 Subject: [PATCH] feat: improve metrics handling --- imghost/Chart.yaml | 4 ++-- imghost/templates/service-backend.yaml | 4 ++-- languagetool/Chart.yaml | 2 +- languagetool/templates/service.yaml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/imghost/Chart.yaml b/imghost/Chart.yaml index 40316d9..a6bf8b5 100644 --- a/imghost/Chart.yaml +++ b/imghost/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: imghost description: Helm Chart for imghost type: application -version: 1.0.4 -appVersion: "db8aa616" +version: 1.0.5 +appVersion: "9d0438f9" diff --git a/imghost/templates/service-backend.yaml b/imghost/templates/service-backend.yaml index eb295fa..b96910f 100644 --- a/imghost/templates/service-backend.yaml +++ b/imghost/templates/service-backend.yaml @@ -5,7 +5,7 @@ metadata: {{ if .Values.metrics.enabled }} annotations: prometheus.io/path: "/metrics" - prometheus.io/port: "80" + prometheus.io/port: "2112" prometheus.io/scrape: "true" {{ end }} labels: @@ -14,7 +14,7 @@ metadata: spec: type: {{ .Values.service.type }} ports: - - port: 80 + - port: 2112 targetPort: metrics protocol: TCP name: metrics diff --git a/languagetool/Chart.yaml b/languagetool/Chart.yaml index 6dad657..c7c6336 100644 --- a/languagetool/Chart.yaml +++ b/languagetool/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: languagetool description: Helm Chart for languagetool type: application -version: 1.0.2 +version: 1.0.3 appVersion: "340fa7f" diff --git a/languagetool/templates/service.yaml b/languagetool/templates/service.yaml index 80f38fa..0f98523 100644 --- a/languagetool/templates/service.yaml +++ b/languagetool/templates/service.yaml @@ -5,7 +5,7 @@ metadata: {{ if .Values.metrics.enabled }} annotations: prometheus.io/path: "/metrics" - prometheus.io/port: "9090" + prometheus.io/port: "9301" prometheus.io/scrape: "true" {{ end }} labels: @@ -17,7 +17,7 @@ spec: targetPort: http protocol: TCP name: http - - port: 9090 + - port: 9301 targetPort: metrics protocol: TCP name: metrics -- GitLab