reworked structure and improved performance to handle 500 concurrent users
This commit is contained in:
5
app/blueprints/grafana/__init__.py
Normal file
5
app/blueprints/grafana/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from flask import Blueprint
|
||||
|
||||
grafana_bp = Blueprint('grafana', __name__, url_prefix='/grafana')
|
||||
|
||||
from . import routes
|
||||
5
app/blueprints/grafana/routes.py
Normal file
5
app/blueprints/grafana/routes.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from . import grafana_bp
|
||||
|
||||
@grafana_bp.route('/health')
|
||||
def health():
|
||||
return {"status": "ok"}, 200
|
||||
Reference in New Issue
Block a user