Azure / Azure/Azure-Functions

How to monitor Azure Function App's number of instances? Too many conflicting charts

Open
#2,482 4 comments 2 reactions 1 assignee Claimed by @bhagyshricompany View on GitHub
area: documentation
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

There are several places in the portal to find the number of scaled instances of an Azure Function App but it is quite confusing.

1. **Function App > Diagnose and solve problems > (search for) All Scaling Operations**
There is a section called "Instance Count." If that is accurate, then the last count is 20.
![image](https://github.com/Azure/Azure-Functions/assets/6518508/5d5a2f44-0586-4c71-a73d-e6b062c892ef)

2. **Function App > Diagnose and solve problems > (search for) HTTP Functions Scaling**
There is a section called "Number of workers allocated to the Function App." We don't set the "[FUNCTIONS_WORKER_PROCESS_COUNT](https://learn.microsoft.com/en-us/azure/azure-functions/functions-app-settings#functions_worker_process_count)" app settings so it is supposed to default to 1. Why does this graph looks different from chart 1. What is it measuring?
![image](https://github.com/Azure/Azure-Functions/assets/6518508/daf8aff3-ccb0-470c-a3ea-27d97610dd2e)

Here are other places that add to the confusion.

3. **Function App > Diagnose and solve problems > (search for) Functions that are not triggering**
There is a section called "Running Function Instance Count". This chart looks similar to chart 2.
![image](https://github.com/Azure/Azure-Functions/assets/6518508/9b0ecf70-4aeb-47b9-800c-6289aa7d6028)

4. **Function App > Metrics> (search for metric) Automatic Scaling Instance Count**
![image](https://github.com/Azure/Azure-Functions/assets/6518508/06570453-d6d9-4349-8c9f-f68ba9eda7e2)

This looks completely different from the other charts. Which is the correct chart that tells me how many instances my Function App is currently scaled at?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.