Sindweller commented on a change in pull request #627:
URL:
https://github.com/apache/apisix-ingress-controller/pull/627#discussion_r688208429
##########
File path: pkg/apisix/cluster.go
##########
@@ -279,6 +283,7 @@ func (c *cluster) syncCacheOnce(ctx context.Context) (bool,
error) {
)
}
}
+ c.metricsCollector.IncrSyncSuccess("cache")
Review comment:
It's decided to use a new counter to record this situation:
HELP apisix_ingress_controller_cache_sync_operation Number of cache sync
operation
TYPE apisix_ingress_controller_cache_sync_operation counter
Labels:
* controller_class
* controller_namespace
* controller_pod
* name (cluster name)
* state (success, 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]