question

Marcel-3309 avatar image
0 Votes"
Marcel-3309 asked JayaC-MSFT commented

Azure function ran but the Azure Metrics stopped to update

I have a azure function that is triggered by timer for every 3 hours. The function runs on time but when I check in metrics, don't print the new execution.
The last print is from yesterday.

azure-functionsazure-monitor
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Marcel-3309 which metrics you are referring to? Could you please share some more details?

0 Votes 0 ·

Hi @JayaC-MSFT
thanks to your reply.

Sure, I'm referring to the metris when I go to Azure Functions -> Functions (on left side menu) -> click on the specific function -> Monitor (on left side menu).
Then on right side panel, I can see the invocation traces. These invocation is not showing all the invocations. As my trigger is a timer to run every 3 hours, there are several times that didn't show the invocation, but I can see from my database that was update during these time that is not showing the invocation.

Is it normal to happens?

0 Votes 0 ·

@Marcel-3309 Okay. Could you please try to check these logs from the Kudu console: https://[your-function-app].scm.azurewebsites.net/

From the menu, select Debug console > CMD

On the list of files, go into LogFiles > Application > Functions > Function > [Name of your function]

You will see a list of log files. Can you see the details there?

0 Votes 0 ·

Hi, @JayaC-MSFT
Thank you for the instructions. But actually I could not find the menu to select the Debug console > CMD...

Can you help me point out where should I click? or maybe the page is different.
I attached the page showed to me when click on the link https://[my function app].scm.azurewebsites.net/
88177-kudu-console.png



0 Votes 0 ·
kudu-console.png (57.6 KiB)

1 Answer

JayaC-MSFT avatar image
0 Votes"
JayaC-MSFT answered JayaC-MSFT commented

Hello @Marcel-3309, Please navigate to the Azure function App in the Azure portal. Type "Advanced Tool" in the search box then click on "Go" . After authentication you'll be redirected to Kudu. Now check if you can access the Debug console from the menu.

89068-image.png



image.png (56.8 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Oh, interesting. There is no menu called "Advanced Tools" from Developtment Tools.
Probrably is because my funcion is not on the paid plan, right? Because when I open a function inside paid plan, this option appears to me.

Is there another way that I can investigate this?

0 Votes 0 ·

Hello @Marcel-3309, this has been highlighted to the product team. You may also provide your valuable feedback on User Voice


0 Votes 0 ·