increments the metric with the given name in this trace by the value.
void incrementMetric(String name, int value) { throw UnimplementedError('incrementMetric() is not implemented'); }