Sindweller commented on a change in pull request #627:
URL: 
https://github.com/apache/apisix-ingress-controller/pull/627#discussion_r688208974



##########
File path: pkg/metrics/prometheus.go
##########
@@ -37,20 +38,33 @@ type Collector interface {
        RecordAPISIXLatency(time.Duration)
        // IncrAPISIXRequest increases the number of requests to apisix.
        IncrAPISIXRequest(string)
+       // increases the number of cluster health check operations with the 
controller
+       // name label
+       IncrCheckClusterHealth(string)
+       // IncrSyncSuccess increases the number of sync operations with the 
resource
+       // type label
+       IncrSyncSuccess(string)

Review comment:
       resolved.
   now sync_operation_total has a label `state` to mark the sync operation is 
successful or raises error




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to