{
"version": "2.0",
"logging": {
"fileLoggingMode": "never",
"logLevel": {
"default": "None"
},
"applicationInsights": {
"samplingSettings": {
"isEnabled": false,
"excludedTypes": "Request"
}
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[2.*, 3.0.0)"
},
"extensions": {
"http": {
"routePrefix": ""
}
}
}
This hosts.json still spams App Insights with TRACE level logs such as:
Request successfully matched the route with name 'FooBar' and temaplate '/foobar'
Host lock lease acquired by instance ID '000000000000000000000000A45F81BF'.
Executed 'Functions.FooBar' (Succeeded,...-2e3b-43cd-8e25-02c6fb974707, Duration=7ms)
Posting invocation id:f1ec9d88-2e3b-43cd-8...rkerId:698e2cd8-1c16-4aac-b3b1-4874ceb4c660
Sending invocation id:f1ec9d88-2e3b-43cd-8e25-02c6fb974707
Those logs accumulate to GBs worth of trash that's very very very expensive - 50 USD in 12hours expensive for literally no use.
On average 5 entries per HTTP Request are being sent to App Insight that's a huge fanout-cost...
Is there a way to monitor Function Execution Count without App Insight? It seems borderline insane to spend this much for the most basic metric you can think of