Edit Dashboard
هذا الالتزام موجود في:
@@ -8,6 +8,9 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY app.py .
|
||||
|
||||
# Copy the dashboard folder
|
||||
COPY q1-deploy-monitor q1-deploy-monitor
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
CMD ["python", "app.py"]
|
||||
|
||||
@@ -65,7 +65,7 @@ const start=performance.now();
|
||||
|
||||
try{
|
||||
|
||||
const response=await fetch("http://localhost:5000/health");
|
||||
const response=await fetch("/health");
|
||||
const data=await response.json();
|
||||
|
||||
const latency=(performance.now()-start).toFixed(2);
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم