ddanielr commented on issue #4187:
URL: https://github.com/apache/accumulo/issues/4187#issuecomment-1908340755

   I don't think this is a bug.
   
   The goal of the format string method is to replace any intended delimiters 
with the dot "." delimiter that is used by micrometer. 
   
   Micrometer will then transform dot delimiters to the delimiter used by the 
metric producer
   
   In the camelCase example, this code is changing a string like 
`compactorQueue` to `compactor.queue`.
   
   So for Prometheus, `compactor.queue` would become `compactor_queue`. 
   
   If the code just used toLowerCase, than a user would have to search for a 
tag value of `compactorqueue` which has low readability. 
   
   
   
   


-- 
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