doc - rest api for metrics and monitoring rules