Hoptoad Java 部署跟踪

发布于 2024-10-14 18:59:45 字数 509 浏览 4 评论 0原文

我目前正在使用 Hoptoad 来使用 Frog4J (http://freeasinbeard.org/post/1150100907/frog4j-simpler-integration-of-hoptoad-and-log4j) 来跟踪 Java 应用程序中的异常。

这对于跟踪异常非常有效,但我真的很希望能够使用 Hoptoad 跟踪我的部署(http://help.hoptoadapp.com/kb/api-2/deploy-tracking)。

我知道当前没有方法可以告诉 Hoptoad 我何时进行部署,因此目前所有错误都需要标记为手动已解决。目前,我们积压了相当多的已修复异常,我们真的只想立即将其标记为已解决,并且确实在每次部署时将它们全部标记为已解决。

我知道使用 Ruby 时这是一个相当简单的步骤,但我一直无法找到使用 Java 实现这一点的方法。当然,如果您对如何在我使用部分 API 进行部署时告诉 Hoptoad 有任何其他建议,那同样很棒,因为我可以轻松地将其合并到部署过程中。

任何帮助或想法将非常感激。

I'm currently using Hoptoad to track exceptions in my Java application using Frog4J (http://freeasinbeard.org/post/1150100907/frog4j-simpler-integration-of-hoptoad-and-log4j).

This is working really well for tracking the exceptions but I would really love to be able to track my deployments with Hoptoad as well (http://help.hoptoadapp.com/kb/api-2/deploy-tracking).

I know of no current way to tell Hoptoad when I'm deploying and so currently all of the errors need to be marked as resolved manually. We currently have quite a backlog of fixed exceptions that we would really just like to mark as resolved at once and indeed mark them all as resolved every deployment.

I know this is quite an easy step when using Ruby but I have been unable to find a way to do so with Java. Of course if you have any other suggestions of how to tell Hoptoad when I deploy using part of the API that would be equally as awesome as I could easily incorporate that into the deployment process.

Any help or ideas would be very much appreciated.

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

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

发布评论

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

评论(1

等数载,海棠开 2024-10-21 18:59:45

我找到了一种使用curl 手动触发此操作的方法。

为了将来参考,语法为:

curl --data "api_key=###&deploy[rails_env]=###&deploy[svn_revision]=###&deploy[scm_repository]=###&deploy[local_username]=###" http://hoptoadapp.com/deploys.txt

### 将需要替换为您的详细信息。

感谢这里找到的一些提示:
http://help.hoptoadapp.com/discussions/questions /391-deploy-tracking-api 文档

I have found a way to trigger this manually using curl.

For future reference the syntax is:

curl --data "api_key=###&deploy[rails_env]=###&deploy[svn_revision]=###&deploy[scm_repository]=###&deploy[local_username]=###" http://hoptoadapp.com/deploys.txt

### will need to be replaced with your particulars.

Thanks to the some hints found here:
http://help.hoptoadapp.com/discussions/questions/391-documentation-for-deploy-tracking-api

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