You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[**health**](HealthApi.md#health)|**GET** /v1/health | Health routes implementation |
8
8
9
-
<aname="health"></a>
10
9
10
+
<aname="health"></a>
11
11
# **health**
12
-
13
12
> String health()
14
13
15
14
Health routes implementation
16
15
17
16
Note: OpenAPI documentation for these endpoints can be found in the `openapi.rs` file Handles the `/health` endpoint. Returns an `HttpResponse` with a status of `200 OK` and a body of `\"OK\"`.
|[**metricDetail**](MetricsApi.md#metricDetail)|**GET** /metrics/{metric_name} | Returns the details of a specific metric in plain text format.|
9
-
|[**scrapeMetrics**](MetricsApi.md#scrapeMetrics)|**GET** /debug/metrics/scrape | Triggers an update of system metrics and returns the result in plain text format. |
|[**metricDetail**](MetricsApi.md#metricDetail)|**GET** /metrics/{metric_name} | Returns the details of a specific metric in plain text format. |
9
+
|[**scrapeMetrics**](MetricsApi.md#scrapeMetrics)|**GET** /debug/metrics/scrape | Triggers an update of system metrics and returns the result in plain text format. |
10
10
11
-
<aname="listMetrics"></a>
12
11
12
+
<aname="listMetrics"></a>
13
13
# **listMetrics**
14
-
15
14
> List listMetrics()
16
15
17
16
Metrics routes implementation
18
17
19
18
Note: OpenAPI documentation for these endpoints can be found in the `openapi.rs` file Returns a list of all available metric names in JSON format. # Returns An `HttpResponse` containing a JSON array of metric names.
20
19
21
20
### Parameters
22
-
23
21
This endpoint does not need any parameter.
24
22
25
23
### Return type
@@ -36,20 +34,18 @@ No authorization required
36
34
-**Accept**: application/json
37
35
38
36
<aname="metricDetail"></a>
39
-
40
37
# **metricDetail**
41
-
42
-
> String metricDetail(metric_name)
38
+
> String metricDetail(metric\_name)
43
39
44
40
Returns the details of a specific metric in plain text format.
45
41
46
42
# Parameters - `path`: The name of the metric to retrieve details for. # Returns An `HttpResponse` containing the metric details in plain text, or a 404 error if the metric is not found.
0 commit comments