HTTP REST Api endpoint Sensormetrics - IBM/ibm-spectrum-scale-bridge-for-grafana GitHub Wiki
-
/metadata/sensormetrics
- Supported for both: OpenTSDB API and Prometheus API
- Provides metric details relating to a performance monitoring sensors configured on the GPFS cluster.
- If no sensor name specified in the request parameters, metrics details will be returned for all sensors configured on the GPFS cluster.
OpenTSDB API
Example output:
```console
# curl http://10.88.3.241:4242/metadata/sensormetrics?sensor=GPFSmmhealth -u scale_admin:TXlWZXJ5U3Ryb25nUGFzc3cwcmQhCg==
{"GPFSmmhealth": {"gpfs_health_detail_status": "quantity", "gpfs_health_error_events": "quantity", "gpfs_health_status": "quantity", "gpfs_health_warning_events": "quantity"}}
```
Prometheus API
Example output:
```console
# curl http://10.88.3.241:9250/metadata/sensormetrics?sensor=GPFSmmhealth -u scale_admin:TXlWZXJ5U3Ryb25nUGFzc3cwcmQhCg==
{"GPFSmmhealth": {"gpfs_health_detail_status": "quantity", "gpfs_health_error_events": "quantity", "gpfs_health_status": "quantity", "gpfs_health_warning_events": "quantity"}}
```