panwang %!s(int64=4) %!d(string=hai) anos
pai
achega
b31e64e881
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  1. BIN=BIN
      __pycache__/app.cpython-37.pyc
  2. 1 1
      app.py

BIN=BIN
__pycache__/app.cpython-37.pyc


+ 1 - 1
app.py

@@ -212,7 +212,7 @@ def all_metric():
     else:
         rate = 100
 
-    # produce_video_task_rate.labels(total_cnt, success_cnt, "produce_video_task_rate").set(rate)
+    produce_video_task_rate.labels("produce_video_task_rate").set(rate)
     produce_video_task_total.labels('total_cnt').set(total_cnt)
     produce_video_task_sucess.labels('success_cnt').set(success_cnt)