There are couple things that make adding metrics for replacement SummerBuilder very difficult.
The metrics for regular summer have the node name in them, e.g: summingbird.Tail/tuplesIn. The overridden summer has to know the nodename to use the same metric names.
An implicit job id is required for creating summingbird counters. Most jobs don't set job id by default and are forced to create one for this case.
Instead Counter should be passed to SummerBuilder. SummerBuilder is seldom used so one possibility is to accept breaking backward compatibility in this case. Otherwise a new option can be defined and this one deprecated.
There are couple things that make adding metrics for replacement SummerBuilder very difficult.
Instead Counter should be passed to SummerBuilder. SummerBuilder is seldom used so one possibility is to accept breaking backward compatibility in this case. Otherwise a new option can be defined and this one deprecated.