@ Override public void insertMetrics ( Collection < IMetric > metrics , Granularity granularity ) throws IOException { try { AstyanaxWriter . getInstance ( ) . insertMetrics ( metrics , CassandraModel . getPreaggregatedColumnFamily ( granularity ) , isRecordingDelayedMetrics , clock ) ; } catch ( ConnectionException ex ) { throw new IOException ( ex ) ; } }
Inserts a collection of metrics to the correct column family based on the specified granularity