@Override
  public CompletableFuture<NamedBlobRecord> get(String accountName, String containerName, String blobName,
      GetOption option, boolean localGet) {
    TransactionStateTracker transactionStateTracker = null;
    if (!localGet) {
      transactionStateTracker = new GetTransactionStateTracker(remoteDatacenters, localDatacenter);
    }
    return executeTransactionAsync(accountName, containerName, true, (accountId, containerId, connection) -> {
      long startTime = this.time.milliseconds();
      NamedBlobRecord record =
          run_get_v2(accountName, containerName, blobName, option, accountId, containerId, connection);
      metricsRecoder.namedBlobGetTimeInMs.update(this.time.milliseconds() - startTime);
      return record;
    }, transactionStateTracker);
  }
Constructor to create the Metrics.
@param metricRegistry The {@link MetricRegistry}.
ambry-named-mysql/src/main/java/com/github/ambry/named/MySqlNamedBlobDb.java