|
@@ -1,4 +1,12 @@
|
|
|
+"""
|
|
|
+ This is a RESTful interface implemented using Flask micro framework.
|
|
|
+ The API is driven by configuration that is organized in terms of the monitoring classes
|
|
|
|
|
|
+ We designed the classes to be reusable (and powered by labels):
|
|
|
+ 'monitoring-type':
|
|
|
+ 'class':'<class-name>'
|
|
|
+ 'config':<labeled-class-specific-configuration>'
|
|
|
+"""
|
|
|
from flask import Flask,request
|
|
|
import sys
|
|
|
import os
|