Extract metric names and headers into consts