azure-functions-core-tools

How can I retrieve through an API *Live Metrics* of Microsoft Application Insights

夙愿已清 提交于 2021-01-28 08:21:07
问题 I monitor the execution of an Azure function using the Live Metrics Stream management UI as seen below: Some of these metrics can be retrieved through the Application Insights REST API. However, metrics concerning overall health data, or Servers data, return a null value. For example,the performanceCounters/processCpuPercentage endpoint produces the following output when probed: HTTP/1.1 200 content-type: application/json; charset=utf-8 { "value": { "start": "2018-10-16T11:20:37.366Z", "end":

Azure Functions ARM template redeployment deletes my published functions

我是研究僧i 提交于 2020-05-29 03:24:39
问题 I have an Azure Functions (2.0) instance deployed by an ARM Template using Azure DevOps pipelines. I have another pipeline that deploys a functions application to the instance through zip deploy. This almost works perfectly, however, if I deploy the functions Infrastructure as Code, then deploy the app and then redeploy the Infrastructure as Code, my functions app is removed and all the functions disappear. I am using the incremental deployment so I cont see why it does this. Any thoughts on

Azure Functions ARM template redeployment deletes my published functions

拜拜、爱过 提交于 2020-05-29 03:24:38
问题 I have an Azure Functions (2.0) instance deployed by an ARM Template using Azure DevOps pipelines. I have another pipeline that deploys a functions application to the instance through zip deploy. This almost works perfectly, however, if I deploy the functions Infrastructure as Code, then deploy the app and then redeploy the Infrastructure as Code, my functions app is removed and all the functions disappear. I am using the incremental deployment so I cont see why it does this. Any thoughts on

Azure Functions 2.0 - EventHubTrigger - System.Private.CoreLib: Could not load file or assembly “FunctionsProject.dll”

扶醉桌前 提交于 2020-01-23 13:42:50
问题 I was able to run function app which has eventhub binding from local as well as from West US2 Consumption plan. From last 4 days, after we moved all our dependent projects to build in x64 and updating all nugets to latest - function app started failing. It does not even start, it fails to load the functionsproject.dll itself. Same issue even If I deploy bits to Consumption Plan. Functions Project Name here - EventHubConsumers Azure function version - 2.0 Azure function tools version - 2.28

Azure Functions 2.0 - EventHubTrigger - System.Private.CoreLib: Could not load file or assembly “FunctionsProject.dll”

别来无恙 提交于 2020-01-23 13:41:13
问题 I was able to run function app which has eventhub binding from local as well as from West US2 Consumption plan. From last 4 days, after we moved all our dependent projects to build in x64 and updating all nugets to latest - function app started failing. It does not even start, it fails to load the functionsproject.dll itself. Same issue even If I deploy bits to Consumption Plan. Functions Project Name here - EventHubConsumers Azure function version - 2.0 Azure function tools version - 2.28

Debugging two Azure Functions projects locally

拥有回忆 提交于 2020-01-14 18:46:39
问题 I have two Azure Functions projects. I have one project, A, running on localhost:7071/api/.... I have changed the other project, B, to run on localhost:8888/api/... I am calling a function which is running on project A from a function in Project B! How can I debug two Azure Functions projects locally? I cannot find any docs to help me. 回答1: To fix the issue add the command line switch --nodeDebugPort 5859 to your launching of func host to set the port for one of the sessions. If you are

Debugging two Azure Functions projects locally

爱⌒轻易说出口 提交于 2020-01-14 18:45:33
问题 I have two Azure Functions projects. I have one project, A, running on localhost:7071/api/.... I have changed the other project, B, to run on localhost:8888/api/... I am calling a function which is running on project A from a function in Project B! How can I debug two Azure Functions projects locally? I cannot find any docs to help me. 回答1: To fix the issue add the command line switch --nodeDebugPort 5859 to your launching of func host to set the port for one of the sessions. If you are

Newtonsoft.Json.JsonReaderException thrown when running Azure function(V2) locally

两盒软妹~` 提交于 2019-12-22 04:21:45
问题 I created a queue trigger template of Azure function v2 in VS2017. When I ran the project locally, the function runtime started successfully. But when I created a message in the queue, VS downloaded a JsonSerialization.cs file and pointed out the error. Details of default Exception settings: It's a template generated by VS, so there seems no code issue like what I have found in other posts. What I have tried: Publish the project to Azure, works. Run the project with function core tool(Cli)

azure-functions-core-tools on Mac OS

荒凉一梦 提交于 2019-12-13 03:31:55
问题 I've used azure-functions-core-tools NPM package on a Mac using npm 5 and node 8, however I've got warnings, so I've updated node to v8.11.1 and npm to 5.6.0. After doing this I've installed brew reinstall azure-functions-core-tools and .NET Core SDK 2.1.105 for good measure. However running npm i -g azure-functions-core-tools@1.0.9 or npm i -g azure-functions-core-tools results in npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for azure-functions-core-tools@1.0.12: wanted {