Im replacing our existing NewRelic java support code with DataDog and am wondering about sending error messages. NewRelic has the .noticeEvent()
call. The DDog library Im using has a .recordEvent()
but doesn't seem to have a way to send a stack trace.
Anyone been down this road before? I can send text via the above but I need a bit more info.
I am not familiar with the products and libraries that you are using, but there is an open source library MgntUtils that can extract full or filtered stacktrace from exception as a String. Since you mentioned that you can pass the text (ie String) this library may help you. Here are the links to MgntUtils library:
I hope this helps
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.