Azure / azure-functions-host

The host/runtime that powers Azure Functions
https://functions.azure.com
MIT License
1.94k stars 442 forks source link

"Unable to resolve FunctionGroupTag" logs for non-Flex apps #10630

Open mathewc opened 1 week ago

mathewc commented 1 week ago

We're logging what seems to be an unnecessary Debug log for all SKUs from this HostMetrics code. Function Groups are only used by Flex Consumption currently.

Unable to resolve FunctionGroupTag, FUNCTIONS_TARGET_GROUP is null or empty.

These logs confused me recently when I was investigating a non Flex CRI.

All("FunctionsLogs")
| where PreciseTimeStamp > ago(1d)
| where Source == "Microsoft.Azure.WebJobs.Script.Metrics.HostMetrics"
| where Summary startswith "Unable to resolve FunctionGroupTag"
| where Level == 5
| where HostVersion == "4.1036.3.23284"
| summarize count()

20533506164
mathewc commented 1 week ago

@liliankasem FYI

liliankasem commented 1 week ago

Ahhh, yet another "this SKU" check 😭