Add metrics to nodes in sqlite