Monitoring Azure API Management metrics in a chatbot with Azure Functions