Hoptoad Java 部署跟踪
我目前正在使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找到了一种使用curl 手动触发此操作的方法。
为了将来参考,语法为:
###
将需要替换为您的详细信息。感谢这里找到的一些提示:
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:
###
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