prefix = configService.getProperty(CONFIG_PREFIX).getBytes("ISO-8859-1");
}
catch (UnsupportedEncodingException ex) {
throw new AkibanInternalException("Error encoding prefix", ex);
}
dataSubspace = new Subspace(tupleFrom(METRIC_KEY), prefix);
confSubspace = new Subspace(tupleFrom(METRIC_CONF_KEY), prefix);
confChangesSubspace = new Subspace(tupleFrom(METRIC_CONF_CHANGES_KEY), prefix);
// NOTE: Java does not expose a nanosecond wallclock timer, like POSIX
// CLOCK_REALTIME, only one like CLOCK_MONOTONIC. (Among other things, 64 bits is
// only 292 years.) There is a tradeoff between using synchronized clocks in a
// multi-node environment and using clocks that NTP doesn't change so that
// small-scale deltas are always accurate. fdbserver metrics choose the former.