Code Monkey home page Code Monkey logo

defold-sentinel's People

Contributors

aglitchman avatar salavatr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

defold-sentinel's Issues

Automatically capture breadcrumbs

Is your feature request related to a problem? Please describe.
Sentinel can automatically capture some breadcrumbs:

  • Application lifecycle events
  • Touch events
  • System events (battery level or state changed, memory warnings, device orientation changed, keyboard did show and did hide, screenshot taken)
  • Outgoing HTTP requests

Describe the solution you'd like
Make it an option in the config.

No able to disable set_error_handler, no way to set custom error handler

Describe the bug
Seems I'm no able to disable auto set_error_handler:

    -- Default settings
    M.config.send_timeout = M.config.send_timeout or 30 -- seconds
    M.config.set_error_handler = M.config.set_error_handler or true
    M.config.load_previous_crash = M.config.load_previous_crash or true

(I mean the code M.config.set_error_handler or true is always true ;))

I use my own sys_error_handler and I want to trigger errors with custom traceback by myself

Use logs as breadcrumbs

Is your feature request related to a problem? Please describe.
Logs from print() can be automatically collected and used as Sentry breadcrumbs.

Describe the solution you'd like
Option to set custom logging hook using new API: defold/defold#6274

Implement request compression

Is your feature request related to a problem? Please describe.
SDKs are heavily encouraged to compress the request body before sending it to the server to keep the data small.

The following content encodings are accepted by Sentry:

  • gzip: Using the LZ77 compression algorithm.
  • deflate: Using zlib structure with the deflate compression algorithm.
  • br: Using the Brotli algorithm.

Describe the solution you'd like
Implement Deflate compression of outgoing data.

https://defold.com/ref/zlib/

Offline caching & resending when app is unable to connect

Is your feature request related to a problem? Please describe.
Sentinel reports an error automatically whenever a thrown error or exception goes uncaught in your application.

Describe the solution you'd like
Send a report once an app receives another event.

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.