add keepAlives attribute to metric definition