Azure / azure-functions-vs-build-sdk

MSBuild task for Azure Functions
MIT License
96 stars 62 forks source link

[V3 backport] Include all bindings when generating function metadata (#542) #547

Closed kshyju closed 2 years ago

kshyju commented 2 years ago

Cherry picking changes from PR 542 to v3 branch.


Currently, when a function invocation happens, we log binding usage to our function metrics logs table. We recently found out that not all the bindings were logged for in-proc precompiled apps.

For in-proc apps, the function.json generated is not including all the bindings. It is including only the trigger bindings. In this PR, we are making a change to include all bindings.

We have also decided to remove the binding direction from the event name when logging the binding metric in host.