feat(prometheus): add some prometheus exporter-Apps (#1388)

* feat(prometheus): add some prometheus exporter-Apps

* delete notes

* little fix

* fix

* crlf and ignore

* keywords

* hmm

* no quote try

* portals

* skip tests for promcord

* hmm

* Add questions
This commit is contained in:
Kjeld Schouten-Lebbing
2021-11-23 21:36:27 +01:00
committed by GitHub
parent 0c054b8cbd
commit 19ef571469
36 changed files with 1398 additions and 1 deletions
@@ -0,0 +1,24 @@
{{- if .Values.metrics.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ include "common.names.fullname" . }}
labels:
{{- include "common.labels" . | nindent 4 }}
{{- with .Values.metrics.serviceMonitor.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
selector:
matchLabels:
{{- include "common.labels.selectorLabels" . | nindent 6 }}
endpoints:
- port: metrics
{{- with .Values.metrics.serviceMonitor.interval }}
interval: {{ . }}
{{- end }}
{{- with .Values.metrics.serviceMonitor.scrapeTimeout }}
scrapeTimeout: {{ . }}
{{- end }}
path: /metrics
{{- end }}