Spaces:
Sleeping
Sleeping
RahulChhatbar
commited on
Commit
•
7ecdad3
1
Parent(s):
d12741c
prom changes
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ LOCAL_REQUEST_COUNT = Counter('local_product_request_count', 'Total number of re
|
|
10 |
LOCAL_SUCCESS_COUNT = Counter('local_product_success_count', 'Total number of successful requests in Local Product')
|
11 |
LOCAL_ERROR_COUNT = Counter('local_product_error_count', 'Total number of errors in Local Product')
|
12 |
LOCAL_REQUEST_TIME = Summary('local_product_request_processing_seconds', 'Time spent processing requests in Local Product')
|
13 |
-
LOCAL_ACTIVE_REQUEST_COUNT =
|
14 |
LOCAL_REQUEST_TIME_HISTOGRAM = Histogram('local_product_request_processing_seconds_histogram',
|
15 |
'Histogram of request processing times in Local Product',
|
16 |
buckets=[10 * i for i in range(1, 13)] + [float('inf')])
|
@@ -19,7 +19,7 @@ API_REQUEST_COUNT = Counter('api_product_request_count', 'Total number of reques
|
|
19 |
API_SUCCESS_COUNT = Counter('api_product_success_count', 'Total number of successful requests in API Product')
|
20 |
API_ERROR_COUNT = Counter('api_product_error_count', 'Total number of errors in API Product')
|
21 |
API_REQUEST_TIME = Summary('api_product_request_processing_seconds', 'Time spent processing requests in API Product')
|
22 |
-
API_ACTIVE_REQUEST_COUNT =
|
23 |
API_REQUEST_TIME_HISTOGRAM = Histogram('api_product_request_processing_seconds_histogram',
|
24 |
'Histogram of request processing times in API Product',
|
25 |
buckets=[10 * i for i in range(1, 13)] + [float('inf')])
|
|
|
10 |
LOCAL_SUCCESS_COUNT = Counter('local_product_success_count', 'Total number of successful requests in Local Product')
|
11 |
LOCAL_ERROR_COUNT = Counter('local_product_error_count', 'Total number of errors in Local Product')
|
12 |
LOCAL_REQUEST_TIME = Summary('local_product_request_processing_seconds', 'Time spent processing requests in Local Product')
|
13 |
+
LOCAL_ACTIVE_REQUEST_COUNT = Counter('local_product_active_request_count', 'Number of active requests in Local Product')
|
14 |
LOCAL_REQUEST_TIME_HISTOGRAM = Histogram('local_product_request_processing_seconds_histogram',
|
15 |
'Histogram of request processing times in Local Product',
|
16 |
buckets=[10 * i for i in range(1, 13)] + [float('inf')])
|
|
|
19 |
API_SUCCESS_COUNT = Counter('api_product_success_count', 'Total number of successful requests in API Product')
|
20 |
API_ERROR_COUNT = Counter('api_product_error_count', 'Total number of errors in API Product')
|
21 |
API_REQUEST_TIME = Summary('api_product_request_processing_seconds', 'Time spent processing requests in API Product')
|
22 |
+
API_ACTIVE_REQUEST_COUNT = Counter('api_product_active_request_count', 'Number of active requests in API Product')
|
23 |
API_REQUEST_TIME_HISTOGRAM = Histogram('api_product_request_processing_seconds_histogram',
|
24 |
'Histogram of request processing times in API Product',
|
25 |
buckets=[10 * i for i in range(1, 13)] + [float('inf')])
|