Azure / Azure/azure-functions-host
Azure Functions not reporting metrics for functions hosted on AKS
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 36
Description
Hello,
I have a customer which is trying to run their application using Azure functions hosted on AKS but is not receiving telemetry from Azure monitor for the functions they're deploying. The application is a .Net app hosted on a Linux VM. Specifically they cannot see ServiceBus-triggered functions metrics: **executions count, errors count, latency distribution** are the bare minimum they would expect.
We tested this by deploying an azure function onto an AKS cluster. Azure does not see this as a Function App resource and does not expose any function app related metrics for it under either the AKS resource or within App Services. We used this to create our test: https://learn.microsoft.com/en-us/azure/azure-functions/functions-kubernetes-keda
#### Expected behavior
Reporting of the metrics expected here: https://learn.microsoft.com/en-us/azure/azure-functions/monitor-functions-reference
Contributor guide
Research direction
Start with the Azure Functions on AKS/KEDA deployment described in the issue and compare its behavior with the Azure Monitor metrics listed in the monitoring reference. Confirm whether Service Bus-triggered execution count, error count, and latency distribution are absent, then determine whether the host repository can provide them or whether the behavior belongs to Azure platform integration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp, kubernetes
- Domain
- backend, cloud, observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100