GithubHelp home page GithubHelp logo

Comments (6)

fundead avatar fundead commented on May 29, 2024

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.

gkopff avatar gkopff commented on May 29, 2024

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.

fundead avatar fundead commented on May 29, 2024

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.

gkopff avatar gkopff commented on May 29, 2024

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.

gkopff avatar gkopff commented on May 29, 2024

I've made a raygun equivalent of my old (closed-source) airbrake appender here: https://github.com/gkopff/logback-raygun

from raygun4java.

fundead avatar fundead commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.