azure - 我可以自己设置 Azure WebJob 仪表板状态吗?

标签 azure azure-webjobs azure-webjobssdk

我正在使用 Azure WebJob 仪表板来监视我的作业。我不满意必须深入界面多远才能确定发生了什么。我想利用网络作业详细信息页面上的“状态”字段来显示特定调用是否需要关注,以及在我认为调用失败的情况下,即使它没有崩溃。

Azure WebJob Dashboard Status

我已经搜索了 Azure WebJobs 文档和 Azure WebJobs SDK 扩展包的功能,但没有成功(但我毫不怀疑我可能错过了它)。我可以手动设置该字段吗?

最佳答案

I'm not happy with how far I have to drill into the into the interface to determine what's happening. I'd like to leverage the "Status" field on the webjob details page to show if a particular invocation needs attention and in cases where I consider an invocation a failure, even if it didn't blow up.

据我所知,它似乎不允许我们在Azure WebJob Dashboard上自行设置状态字段。如果您想在不点击界面的情况下显示WebJob运行详细信息,您可以尝试调用WebJobs API通过请求output_urlerror_url来获取作业运行历史记录并从日志中检索输出或错误信息,然后您可以创建自定义仪表板并填充它包含输出和错误详细信息数据。

关于azure - 我可以自己设置 Azure WebJob 仪表板状态吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39904673/

相关文章:

azure - 网站发布后不更新

c# - 为什么使用 PrimarySearcher 比 FindByIdentity() 更快?

c# - Redis StringSetAsync 在使用 Moq 的单元测试中返回 false

c# - Azure WebJobs (3.x) 连续作业未在仪表板中显示函数

备份到 Azure 存储 BLOB 时出现 SQLVDI 错误

azure - Web异常 "The remote server returned an error: (409) Conflict"

c# - Azure Web 作业多个连接字符串

c# - 从 Azure Webjob 连接到 Yammer

c# - 拦截 Azure 函数主机关闭 : Flush Application Insights TelemetryClient

c# - Azure webjobs JobHostConfiguration 丢失,现在无法进行设置