Add metric name and value to callgraph.