Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.

Commit b759a0f

Browse files
committed
2021 refresh - fixes
1 parent f8d83ed commit b759a0f

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/app/apis.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
olddata["net_sent"] = 0
99
olddata["net_recv"] = 0
1010

11-
11+
#
12+
# This route returns real time process information as a REST API
13+
#
1214
@app.route("/api/process")
1315
def api_process():
1416
apidata = {}
@@ -29,7 +31,9 @@ def api_process():
2931

3032
return jsonify(apidata)
3133

32-
34+
#
35+
# This route returns real time system metrics as a REST API
36+
#
3337
@app.route("/api/monitor")
3438
def api_monitor():
3539
apidata = {}

0 commit comments

Comments
 (0)