title: Azure Function is deployed and does work but Function Monitor doesn't display the invocation data
body: <p>I have an IoTHub Trigger Function which is sending data to an EventHub but ends up in a CosmosDB Collection.</p>
  <p>My function was already deployed for some time but I decided to add another feature and deploy it again. The function is still working because I see new data getting inserted in the CosmosDB collection but the Function Monitor doesn't display the invocation traces. When I go to the Logs tab, it either doesn't log or I get the following error message :</p>
  <p>&quot;<em>Unable to fetch the host status of your function app. To use log streaming, please make sure your function host is running.</em>&quot;</p>
  <p>I checked my application settings and I do have the correct App Insights instrumentation key and connection string as shown in the picture below :
  <a href="https://i.stack.imgur.com/kB9Cp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kB9Cp.png" alt="application settings of my Function App displaying the list of keys." /></a></p>
  <p>I'm not sure what the problem is here as my data still goes through the functions but I'm not able to see the logs. When running the query on App Insights I also don't get updates on the logs.</p>
  <p>How could I troubleshoot the problem or what might help me resolve this issue?</p>