All URIs are relative to http://127.0.0.1:4646/v1
Method | HTTP request | Description |
---|---|---|
getMetricsSummary | GET /metrics |
MetricsSummary getMetricsSummary()
import { } from '';
import * as fs from 'fs';
const configuration = .createConfiguration();
const apiInstance = new .MetricsApi(configuration);
let body:.MetricsApiGetMetricsSummaryRequest = {
// string | The format the user requested for the metrics summary (e.g. prometheus) (optional)
format: "format_example",
};
apiInstance.getMetricsSummary(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
Name | Type | Description | Notes |
---|---|---|---|
format | [string] | The format the user requested for the metrics summary (e.g. prometheus) | (optional) defaults to undefined |
MetricsSummary
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - | |
400 | Bad request | - |
403 | Forbidden | - |
405 | Method not allowed | - |
500 | Internal server error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]