feat: export ceph metrics
All checks were successful
Build / precommit (pull_request) Successful in 4m59s
All checks were successful
Build / precommit (pull_request) Successful in 4m59s
- export cephmgr metrics - will only be availabe from one host at a time
This commit is contained in:
parent
7fbb87b4b6
commit
46b3ebe522
@ -52,10 +52,29 @@ consul::services:
|
||||
tls_skip_verify: true
|
||||
interval: '10s'
|
||||
timeout: '1s'
|
||||
cephmgr:
|
||||
service_name: 'cephmgr'
|
||||
tags:
|
||||
- 'metrics'
|
||||
- 'metrics_scheme=http'
|
||||
- 'metrics_job=ceph'
|
||||
address: "%{hiera('networking_loopback2_ip')}"
|
||||
port: 9283
|
||||
checks:
|
||||
- id: 'cephmgr_metrics_http_check'
|
||||
name: 'cephmgr metrics HTTP Check'
|
||||
http: "http://%{hiera('networking_loopback2_ip')}:9283"
|
||||
method: 'GET'
|
||||
tls_skip_verify: true
|
||||
interval: '10s'
|
||||
timeout: '1s'
|
||||
profiles::consul::client::node_rules:
|
||||
- resource: service
|
||||
segment: incus
|
||||
disposition: write
|
||||
- resource: service
|
||||
segment: cephmgr
|
||||
disposition: write
|
||||
|
||||
# additional repos
|
||||
profiles::yum::global::repos:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user