Skip to content

Commit

Permalink
2021 refresh - fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
benc-uk committed Mar 26, 2021
1 parent f8d83ed commit b759a0f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/app/apis.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
olddata["net_sent"] = 0
olddata["net_recv"] = 0


#
# This route returns real time process information as a REST API
#
@app.route("/api/process")
def api_process():
apidata = {}
Expand All @@ -29,7 +31,9 @@ def api_process():

return jsonify(apidata)


#
# This route returns real time system metrics as a REST API
#
@app.route("/api/monitor")
def api_monitor():
apidata = {}
Expand Down

0 comments on commit b759a0f

Please sign in to comment.