Jer*_*enW 6 c# azure azure-functions
我有一个Azure功能v2,它在本地工作.当部署到Azure时,一切似乎都在工作状态(包含二进制文件的bin文件夹和包含function.json的函数名称文件夹).
但是,当我检查它们是否运行(查看日志)时,它们不在监视器选项卡(No data available),kudu日志流和常规功能视图中:
2018-01-25T10:27:47 Welcome, you are now connected to log-streaming service.
2018-01-25T10:28:47 No new trace in the past 1 min(s).
2018-01-25T10:29:47 No new trace in the past 2 min(s).
Run Code Online (Sandbox Code Playgroud)
信息:
function.json:
{
"generatedBy": "Microsoft.NET.Sdk.Functions.Generator-1.0.6",
"configurationSource": "attributes",
"bindings": [
{
"type": "timerTrigger",
"schedule": "0 */1 * * * *",
"useMonitor": true,
"runOnStartup": false,
"name": "timerInfo"
}
],
"disabled": false,
"scriptFile": "../bin/Namespace.dll",
"entryPoint": "Namespace.RetrieveRedisMetrics.RunOrchestrator"
}
Run Code Online (Sandbox Code Playgroud)
我有:
行为似乎与https://github.com/Azure/Azure-Functions/issues/618类似,但没有解决或评论该bug.
我无法私下分享信息应用名称(根据https://github.com/Azure/azure-webjobs-sdk-script/wiki/Sharing-Your-Function-App-name-privately),因为......该功能未记录!
还有其他想法/建议吗?
当尝试从Visual Studio发布函数以跳过TFS持续传递因子时,我得到以下弹出窗口:
显然,你需要设置FUNCTIONS_EXTENSION_VERSION为beta.
ARM模板:
{
"name": "FUNCTIONS_EXTENSION_VERSION",
"value": "beta" // was ~1
}
Run Code Online (Sandbox Code Playgroud)
它也适用于持续交付.现在唯一的问题是AF v1(当前预览)比AF v1长3到4倍.不过那是另一回事了..
| 归档时间: |
|
| 查看次数: |
2212 次 |
| 最近记录: |