@VisibleForTesting
  public Journal getJournal(String  jid) {
    return journalsById.get(jid);
  }
@Test(timeout=100000)
  public void testJournalMetricTags() {
    setupStaticHostResolution(2, "journalnode");
    String jid = "test-journalid-ns1";
    Journal nsJournal = jn.getJournal(jid);
    MetricsRecordBuilder metrics = MetricsAsserts.getMetrics(
        nsJournal.getMetrics().getName());
    MetricsAsserts.assertTag("JournalId", jid, metrics);

    jid = "test-journalid-ns2";
    nsJournal = jn.getJournal(jid);
    metrics = MetricsAsserts.getMetrics(
        nsJournal.getMetrics().getName());
    MetricsAsserts.assertTag("JournalId", jid, metrics);
  }