DomGarguilo commented on code in PR #4555:
URL: https://github.com/apache/accumulo/pull/4555#discussion_r1598986144
##########
server/tserver/src/main/java/org/apache/accumulo/tserver/metrics/TabletServerUpdateMetrics.java:
##########
@@ -68,10 +69,14 @@ public void addMutationArraySize(long value) {
@Override
public void registerMetrics(MeterRegistry registry) {
- permissionErrorsCounter = registry.counter(METRICS_UPDATE_ERRORS, "type",
"permission");
- unknownTabletErrorsCounter = registry.counter(METRICS_UPDATE_ERRORS,
"type", "unknown.tablet");
- constraintViolationsCounter =
- registry.counter(METRICS_UPDATE_ERRORS, "type",
"constraint.violation");
+ FunctionCounter.builder("tabletServerUpdateErrors", permissionErrorsCount,
AtomicLong::get)
Review Comment:
I changed them back to use `METRICS_UPDATE_ERRORS` for the name like before.
I changed these my mistake.
--
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]