Skip to content
Snippets Groups Projects
Verified Commit d1e98bc2 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

feat: improve metrics handling

parent 88e56146
Branches
No related tags found
No related merge requests found
Pipeline #2830 passed
...@@ -2,5 +2,5 @@ apiVersion: v2 ...@@ -2,5 +2,5 @@ apiVersion: v2
name: imghost name: imghost
description: Helm Chart for imghost description: Helm Chart for imghost
type: application type: application
version: 1.0.4 version: 1.0.5
appVersion: "db8aa616" appVersion: "9d0438f9"
...@@ -5,7 +5,7 @@ metadata: ...@@ -5,7 +5,7 @@ metadata:
{{ if .Values.metrics.enabled }} {{ if .Values.metrics.enabled }}
annotations: annotations:
prometheus.io/path: "/metrics" prometheus.io/path: "/metrics"
prometheus.io/port: "80" prometheus.io/port: "2112"
prometheus.io/scrape: "true" prometheus.io/scrape: "true"
{{ end }} {{ end }}
labels: labels:
...@@ -14,7 +14,7 @@ metadata: ...@@ -14,7 +14,7 @@ metadata:
spec: spec:
type: {{ .Values.service.type }} type: {{ .Values.service.type }}
ports: ports:
- port: 80 - port: 2112
targetPort: metrics targetPort: metrics
protocol: TCP protocol: TCP
name: metrics name: metrics
......
...@@ -2,5 +2,5 @@ apiVersion: v2 ...@@ -2,5 +2,5 @@ apiVersion: v2
name: languagetool name: languagetool
description: Helm Chart for languagetool description: Helm Chart for languagetool
type: application type: application
version: 1.0.2 version: 1.0.3
appVersion: "340fa7f" appVersion: "340fa7f"
...@@ -5,7 +5,7 @@ metadata: ...@@ -5,7 +5,7 @@ metadata:
{{ if .Values.metrics.enabled }} {{ if .Values.metrics.enabled }}
annotations: annotations:
prometheus.io/path: "/metrics" prometheus.io/path: "/metrics"
prometheus.io/port: "9090" prometheus.io/port: "9301"
prometheus.io/scrape: "true" prometheus.io/scrape: "true"
{{ end }} {{ end }}
labels: labels:
...@@ -17,7 +17,7 @@ spec: ...@@ -17,7 +17,7 @@ spec:
targetPort: http targetPort: http
protocol: TCP protocol: TCP
name: http name: http
- port: 9090 - port: 9301
targetPort: metrics targetPort: metrics
protocol: TCP protocol: TCP
name: metrics name: metrics
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment