diff --git a/docs/manuals/swagger.json b/docs/manuals/swagger.json index 30d1e66..ca99700 100644 --- a/docs/manuals/swagger.json +++ b/docs/manuals/swagger.json @@ -1992,7 +1992,7 @@ }, "/api/v1/metrics": { "get": { - "description": "the Ceph cluster metrics as one document.

Endpoint is unauthenticated to allow metrics exfiltration without having to deal
with the Prometheus compatibility later.", + "description": "the Ceph cluster metrics as one document.

Endpoint is UNAUTHENTICATED to allow metrics exfiltration without having to deal
with Prometheus compatibility (only basic auth support). Ensure this API endpoint
is only opened to trusted networks that cannot abuse the data provided!", "responses": { "200": { "description": "OK" @@ -2009,7 +2009,7 @@ }, "/api/v1/metrics/ceph": { "get": { - "description": "
Proxies a metrics request to the current active MGR, since this is dynamic
and can't be controlled by PVC easily.", + "description": "
Proxies a metrics request to the current active MGR, since this is dynamic
and can't be controlled by PVC easily.

Endpoint is UNAUTHENTICATED to allow metrics exfiltration without having to deal
with Prometheus compatibility (only basic auth support). Ensure this API endpoint
is only opened to trusted networks that cannot abuse the data provided!", "responses": { "200": { "description": "OK" @@ -2026,7 +2026,7 @@ }, "/api/v1/metrics/health": { "get": { - "description": "
Endpoint is unauthenticated to allow metrics exfiltration without having to deal
with the Prometheus compatibility later.", + "description": "
Endpoint is UNAUTHENTICATED to allow metrics exfiltration without having to deal
with Prometheus compatibility (only basic auth support). Ensure this API endpoint
is only opened to trusted networks that cannot abuse the data provided!", "responses": { "200": { "description": "OK" @@ -2043,7 +2043,7 @@ }, "/api/v1/metrics/resource": { "get": { - "description": "
Endpoint is unauthenticated to allow metrics exfiltration without having to deal
with the Prometheus compatibility later.", + "description": "
Endpoint is UNAUTHENTICATED to allow metrics exfiltration without having to deal
with Prometheus compatibility (only basic auth support). Ensure this API endpoint
is only opened to trusted networks that cannot abuse the data provided!", "responses": { "200": { "description": "OK" @@ -2058,6 +2058,23 @@ ] } }, + "/api/v1/metrics/zookeeper": { + "get": { + "description": "
Proxies a metrics request to the current primary node, since all coordinators
run an active Zookeeper instance and we want one central location.

Endpoint is UNAUTHENTICATED to allow metrics exfiltration without having to deal
with Prometheus compatibility (only basic auth support). Ensure this API endpoint
is only opened to trusted networks that cannot abuse the data provided!", + "responses": { + "200": { + "description": "OK" + }, + "400": { + "description": "Bad request" + } + }, + "summary": "Return the current PVC Zookeeper Prometheus metrics", + "tags": [ + "root" + ] + } + }, "/api/v1/network": { "get": { "description": "",