Global values for metrics (#208)

Co-authored-by: Dmitry Skokov <d.skokov@rbkmoney.com>
This commit is contained in:
vilorij 2021-09-17 09:35:40 +03:00 committed by GitHub
parent 14e670d928
commit 4499bf2f62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
37 changed files with 39 additions and 36 deletions

View File

@ -84,7 +84,7 @@ podAnnotations:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -71,7 +71,7 @@ service:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -23,7 +23,7 @@ configMap:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -71,7 +71,7 @@ service:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -21,7 +21,7 @@ configMap:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: true enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -23,7 +23,7 @@ configMap:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: true enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -84,7 +84,7 @@ service:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -84,7 +84,7 @@ service:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -84,7 +84,7 @@ service:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -55,7 +55,7 @@ volumes:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -79,7 +79,7 @@ podAnnotations:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -61,7 +61,7 @@ readinessProbe:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -108,7 +108,7 @@ readinessProbe:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -93,7 +93,7 @@ ingress:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -44,7 +44,7 @@ hook:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -78,7 +78,7 @@ podAnnotations:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -80,7 +80,7 @@ podAnnotations:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -65,7 +65,7 @@ readinessProbe:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -23,7 +23,7 @@ configMap:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -77,7 +77,7 @@ podAnnotations:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -91,7 +91,7 @@ pvc:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -23,7 +23,7 @@ configMap:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -41,7 +41,7 @@ volumeMounts:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -77,7 +77,7 @@ podAnnotations:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -107,7 +107,7 @@ ingress:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -124,7 +124,7 @@ readinessProbe:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -23,7 +23,7 @@ configMap:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -88,7 +88,7 @@ podAnnotations:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -63,7 +63,7 @@ readinessProbe:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -80,7 +80,7 @@ podAnnotations:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -73,7 +73,7 @@ podAnnotations:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: true enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -79,7 +79,7 @@ podAnnotations:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -74,7 +74,7 @@ volumes:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -53,7 +53,7 @@ volumes:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -62,7 +62,7 @@ readinessProbe:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -77,7 +77,7 @@ podAnnotations:
metrics: metrics:
serviceMonitor: serviceMonitor:
enabled: false enabled: {{ .Values.services.global.metrics.enabled }}
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
additionalLabels: additionalLabels:
release: prometheus release: prometheus

View File

@ -26,6 +26,9 @@ services:
global: global:
# Set to "true" if your cluster CIDR only ipv6 family # Set to "true" if your cluster CIDR only ipv6 family
ipv6only: false ipv6only: false
# Deploy ServiceMonitors with processing services
metrics:
enabled: true
# Set if use your own container registry for processing service's images # Set if use your own container registry for processing service's images
registry: registry:
repository: docker.io repository: docker.io