Example #1
0
 def get(self):
     metrics_req_count.labels(method='GET',
                              endpoint='/products',
                              status_code='200').inc()
     return Products.json()