进行应用程序服务的选项健康检查WebJob应用程序

发布于 2025-02-06 15:31:31 字数 465 浏览 2 评论 0原文

我正在托管一些WebJobs应用程序服务,我喜欢使用应用程序服务中包含的健康检查功能。

我的工作工作应用程序不会暴露任何HTTP端点。因此,揭露本文中解释的路径/API/健康不适用于我的senario:

https://azure.github.io/appservice/2020/08/24/healthcheck-on-check-on-app-service.html

我们除了展示其他健康检查选项HTTP端点?

有什么方法可以通过检查文件系统中的文件来检查健康检查 - 例如创建/删除文件以检查文件的更新日期吗?

I am hosting a few WebJobs app services and I like to use the Health check feature included in Apps Services.

My worker job applications do not expose any http endpoints. Therefore exposing the path /api/health explained in this article does not apply to my senario:

https://azure.github.io/AppService/2020/08/24/healthcheck-on-app-service.html

We we have health check options other than exposing a HTTP endpoint?

Is there any way to have App Services does health check by checking a file in file system - like creating/deleting a file to check a file's update date?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一口甜 2025-02-13 15:31:31

没有任何东西,所以这是您必须实施的东西。诸如WebJob之类的东西在您的中调用某种webhook while(true),如果在一定期段内未调用该webhook,请发出电子邮件或影响的东西。

另一个选择是利用应用程序洞察力。检查 但是您可以将应用程序见解,然后将其输入监视和配置警报中。

There isn't anything out of box so it's something you'll have to implement yourself. Something like the WebJob calling some sort of webhook in your while(true) and if that webhook isn't called after a certain period, fire off an email or something that affect.

Another option is to utilize App Insights. Check the Logging documentation but you could tie into App Insights and feed that into Monitor and configure alerts.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文