Comments (6)
Hi, sorry about the delay in getting back to you on this - it's planned for the near very near future due to it being such a common use case. We're uncertain as to whether it will end up in this repo as a Maven package or not, as the scope of frameworks Raygun4Java supports is starting to grow, but if you would desire it from this Maven package let me know.
Regards,
Callum Gavin
Mindscape Limited
from raygun4java.
I'm not fussed where the appender resides - I assume it will be published to a public maven repo?
Do you plan to support both exceptions as well as log messages? I think capturing some information around the message call-site so that the same log message can be coalesced into a single item (with the details about 'reported n times') is a useful feature. As I said originally, it's not only exceptions that we want to catch and handle like this - it's any unexpected event.
from raygun4java.
Unfortunately as Raygun currently stands the architecture has first-class support for the capture and presentation of exceptions - we are definitely aware of the desire for a generalized logging framework but this is somewhat outside our current scope in the near term.
Logging presents a different challenge due to the limited data present; our automatic grouping relies on the stack trace and related data of exceptions to group without using the message. Using the message does not provide a good enough experience as instance-specific data is often present (user or context information), therefore the service is designed around automatic grouping and wholesale notifications/resolving of exceptions within those error groups as they have the necessary data available.
As I've mentioned generalized logging is desirable but the service does not currently have back-end or UI support for this, but we have it in mind for an additional feature in the future. There's a feature request here that you could add your voice to: http://raygun.io/thinktank/suggestion/2776 . Any suggestions will be taken into consideration when we discuss the architecture and UX surrounding this feature.
from raygun4java.
Logging presents a different challenge due to the limited data present; our automatic grouping relies on the stack trace and related data of exceptions to group without using the message. Using the message does not provide a good enough experience as instance-specific data is often present (user or context information), therefore the service is designed around automatic grouping and wholesale notifications/resolving of exceptions within those error groups as they have the necessary data available.
I made this work with my airbrake appender by getting the stacktrace to identify the log message callsite, and passing that information along with the message. This obviously has some overhead, but overhead I was prepared to pay since this was a serious error.
from raygun4java.
I've made a raygun equivalent of my old (closed-source) airbrake appender here: https://github.com/gkopff/logback-raygun
from raygun4java.
Thanks for open sourcing that, I'm sure others in the community will greatly appreciate that. Will close this issue for now.
from raygun4java.
Related Issues (20)
- RaygunServletMessageBuilder throws NPE when no user has been set HOT 3
- Headless server RaygunEnvironmentMessage does not gather data HOT 6
- EnvironmentData not able to collect => WARN is spamming our logs
- raygun4java-play2 1.6.0 can't be resolved HOT 5
- Spammy environment errors when running server side. HOT 1
- Expose the lower level builder api or similar HOT 3
- Add BeforeSend hook HOT 1
- Add configuration for timeout on Send calls HOT 1
- How to integrate with Spring application? HOT 2
- Error without Throwable crashes HOT 1
- Add test scope to junit in pom.xml HOT 1
- InetAddress.getLocalHost().getHostName() throws UnkownHostException HOT 1
- Returning null from OnBeforeSend handler sends "null" message HOT 1
- RaygunServletMessageBuilder cannot handle empty values in query string
- Crash Reporting Environment show issues HOT 1
- Play 2.4 support HOT 4
- bug in Raygunclient sendUnhandled?
- is Java APM support officially supported? HOT 1
- Java 11 and ManagementFactory HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raygun4java.