Export ceph metrics via ceph-mgr prometheus plugin
This adds the ability to export ceph metrics via the ceph-mgr prometheus plugin Change-Id: I802712f89cc1bdff20208ee711211dce414e1885
This commit is contained in:
parent
2332c6fb58
commit
a6de53ea44
@ -16,6 +16,7 @@ limitations under the License.
|
|||||||
|
|
||||||
{{- if .Values.manifests.service_mgr }}
|
{{- if .Values.manifests.service_mgr }}
|
||||||
{{- $envAll := . }}
|
{{- $envAll := . }}
|
||||||
|
{{- $prometheus_annotations := $envAll.Values.monitoring.prometheus.ceph_mgr }}
|
||||||
{{- if .Values.deployment.ceph }}
|
{{- if .Values.deployment.ceph }}
|
||||||
{{- if .Values.ceph.enabled.mgr }}
|
{{- if .Values.ceph.enabled.mgr }}
|
||||||
---
|
---
|
||||||
@ -23,6 +24,10 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: ceph-mgr
|
name: ceph-mgr
|
||||||
|
annotations:
|
||||||
|
{{- if .Values.monitoring.prometheus.enabled }}
|
||||||
|
{{ tuple $prometheus_annotations | include "helm-toolkit.snippets.prometheus_service_annotations" | indent 4 }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- port: {{ .Values.network.port.mgr }}
|
- port: {{ .Values.network.port.mgr }}
|
||||||
|
@ -327,6 +327,7 @@ bootstrap:
|
|||||||
ceph_mgr_enabled_modules:
|
ceph_mgr_enabled_modules:
|
||||||
- restful
|
- restful
|
||||||
- status
|
- status
|
||||||
|
- prometheus
|
||||||
|
|
||||||
# You can configure your mgr modules
|
# You can configure your mgr modules
|
||||||
# below. Each module has its own set
|
# below. Each module has its own set
|
||||||
@ -427,7 +428,24 @@ endpoints:
|
|||||||
port:
|
port:
|
||||||
mon:
|
mon:
|
||||||
default: 6789
|
default: 6789
|
||||||
|
ceph_mgr:
|
||||||
|
namespace: null
|
||||||
|
hosts:
|
||||||
|
default: ceph-mgr
|
||||||
|
host_fqdn_override:
|
||||||
|
default: null
|
||||||
|
port:
|
||||||
|
mgr:
|
||||||
|
default: 7000
|
||||||
|
scheme:
|
||||||
|
default: http
|
||||||
|
|
||||||
|
monitoring:
|
||||||
|
prometheus:
|
||||||
|
enabled: true
|
||||||
|
ceph_mgr:
|
||||||
|
scrape: true
|
||||||
|
port: 9283
|
||||||
|
|
||||||
manifests:
|
manifests:
|
||||||
configmap_bin_clients: true
|
configmap_bin_clients: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user