Compiled Azure Functions Monitoring: N / A

I am using a couple of compiled C # functions on Azure. They work as expected, but when I click "Monitor" on any of the functions, it just shows "No data".

I see a function running in the Development tabs log, but would like to see a description of how to use the function.

Is there something I am missing?

+3


source to share


3 answers


We believe we have encountered an issue where explicit host IDs are set in the host file, which is likely causing the problem.

We are tracking this issue here and will update it as we go.



As a workaround, remove the id from the host.json file.

+1


source


I can see it too. I compared an app-app that works with what doesn't. The one that doesn't work returns a 404 when I click "Refresh" on the monitor tab. It ends up in a url like this:

https://[YOUR_APP].scm.azurewebsites.net/azurejobs/api/functions/definitions//invocations?limit=20

Notice the double slashes in front of "invocations".

In a production application, it looks more like:

https://[YOUR_APP].scm.azurewebsites.net/azurejobs/api/functions/definitions/[YOUR_APP]-[YOUR_FUNCTION]/invocations?limit=20

So something happened to blow up the portion of the [YOUR_APP]-[YOUR_FUNCTION]

url that the portal generates. Any ideas?

-

UPDATE: I think I fixed it.

I connected to the storage account associated with the function app using Microsoft Azure Storage Explorer. When I went to Tables> AzureWebJobsHostLogscommon I noticed two things:



  • there was an entry for the function that I removed
  • there was a function I created that had no entry (well, it existed in the "default- [YOUR_FUNCTION]" RowKey, but the "[YOUR_APP] - [YOUR_FUNCTION]" RowKey was missing.

I added a new row for the missing "[YOUR_APP] - [YOUR_FUNCTION]" RowKey and set the OriginalName to the name of the real function. I returned to the portal, and fluff! he started to work.

I didn't bother removing the extraneous entry from the deleted function. It didn't seem to hurt anything. But if any real function is missing, it seems to break the entire Monitor tab.

How it happened, I'm not sure. This may have been doing something when I posted the update.

-

UPDATE 2 . Well, it caused the Monitor tab to work, but the data was "outdated" as if some background process wasn't refreshing. I see log data showing in table storage ...

-

UPDATE 3 : Outdated data seems to be a separate issue in US East region, tracked at https://github.com/Azure/Azure-Functions/issues/259 ... "no data" issue I think was fixed by me by correcting the table AzureWebJobsHostLogscommon

as mentioned above.

+2


source


I also had the "No Data" problem. I solved it by adding the missing app parameter:"FUNCTIONS_EXTENSION_VERSION": "~1"

Link, David Ebbo to comment on GitHub: https://github.com/Azure/Azure-Functions/issues/259#issuecomment-300379674

0


source







All Articles