add stack and app to es discovery config