- Endpoint:
/api/v1/system-info - Method:
GET - Description: Retrieve system metrics and performance data.
- Endpoint:
/api/v1/prometheus/graphs_data/targets - Method:
GET - Description: Fetch historical metrics data for specific targets.
- Endpoint:
/api/v1/targets - Method:
GET - Description: Retrieve a list of all monitoring targets in SystemGuard/Prometheus.
- Endpoint:
/api/v1/refresh-interval - Method:
GET - Description: Get the current refresh interval.
- Endpoint:
/api/v1/refresh-interval - Method:
POST - Description: Set or update the refresh interval.
- Endpoint:
/api/v1/os-info - Method:
GET - Description: Get information about the operating system.
- Endpoint:
/api/v1/prometheus/config - Method:
GET - Description: Retrieve the current Prometheus configuration.
- Method:
POST - Description: Update the Prometheus configuration.
- Endpoint:
/api/v1/prometheus/rules - Method:
GET - Description: Get the defined Prometheus rules.
- Method:
POST - Description: Update the Prometheus rules.
- Endpoint:
/api/v1/prometheus/ready - Method:
GET - Description: Check if Prometheus is ready.