Summary: 43 instances, 36 unique Text Count //TODO: reuse one of the passed sets, and pollute a MetricDatum? 1 * TODO: output in a useful format 1 //TODO: something besides silently ignore? 2 //TODO: use two maps and swap between, to ensure 'perfect' segmentation? 1 * TODO: builder defined here? 1 //TODO: individual metrics per gc? 1 //TODO: test some data other than strings 1 //TODO: explicit start method? 1 //TODO: something less brain-dead 5 //TODO: should ID be a global dimension always? 1 //TODO: something besides silently ignore, perhaps IllegalStateException? 2 //TODO: periodic/appropriate flushing 1 //TODO: should this object just be a configured list of keys, leave the pull-from-context for elsewhere? 1 //TODO: avoid doing this every time for a context - caching, or? 1 //TODO: support list of dimension sets, like 1 //TODO: take an injected executor, or maybe use common fork/join pool 1 * TODO: JSR-305 @ThreadSafe 1 * TODO: namespace keys 1 //TODO: emit each sensor on its own scheduled thread instead of all synchronously? 1 * TODO: explore auto-generating builders based on keys, perhaps with Immutables lib 2 //TODO: should there be per-emit context attributes? 1 * TODO: different types for sample vs. count metrics? 1 //TODO: something else? 1 // TODO: pull out jvm runtime attributes into context 1 //TODO: parallelStream? 1 * TODO: not this, leverage log4j or some other robust implementation 1 //TODO: or should we have one Context and only close at the very end? 1 * TODO: a variant taking a TypeLiteral or equivalent 1 //TODO: stop propagating new Unit abstractions everywhere 1 * TODO: break this up into actual standard metrics, specific service metrics 1 * TODO: add explicit shutdown/lifecycle management? 1 //TODO: should this take opaque strings, then do a compare against key names later? 1 //TODO: ensure "Each PutMetricData request is limited to 40 KB in size for HTTP POST requests." 1 //TODO: find a better way to do this 1 //TODO: better to have no timestamp at all? 1 * TODO: unit of metric captured here? 1