You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/03/18 15:25:49 UTC

[GitHub] [accumulo] milleruntime commented on issue #2577: Warn user of slow metadata scans

milleruntime commented on issue #2577:
URL: https://github.com/apache/accumulo/issues/2577#issuecomment-1072518596


   I don't know how to expose metrics in Ample. Any ideas? I think the best place would be to do in `TabletsMetadata`. Something like:
   ```
   private TabletsMetadata buildNonRoot(AccumuloClient client) {
   Instant scanStart = Instant.ofEpochMilli(System.currentTimeMillis());
   try {
   ...
    } finally {
     Instant scanEnd = Instant.ofEpochMilli(System.currentTimeMillis());
    }
   }
   ```


-- 
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: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org