Giter VIP home page Giter VIP logo

trakerr-com / trakerr-javascript Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 104 KB

Trakerr.IO Javascript Error Tracking Library

Home Page: https://trakerr.io

License: Apache License 2.0

Shell 1.15% JavaScript 98.85%
error error-handler error-handling error-log error-monitoring error-reporting exception-handler exception-tracker exceptionless exceptions trakerr trakerr-api trakerr-javascript trakerrclient

trakerr-javascript's People

Contributors

rmsd avatar trakerr-io avatar

Watchers

 avatar  avatar

trakerr-javascript's Issues

Add API v3 fields

New fields:
Add current full URL (for browser apps)
Add operation time in millis
Add tags (constructor)
Add application SKU field (constructor)
Add device type and info (iPhone 7) etc. to SDK (automatic defaults)
Add current CPU and memory usage info (automatic defaults)
Add correlation ID (as a new ID to correlate across applications)

Add Code comments

Add comments for public exposed interfaces to make it easy for others.

Add new deploymentStage property.

Add the new deploymentStage property (old envName and change the default values of envName (to be the CLI name) and Version properties. Change the classification to optional as a descriptor and add the new level enum (old classification).

Update README.MD

Update readme for refactor 1 (TC constructors) & 2 (deploymentStage & Name).

Add the new language property.

Add the new language property which is a hard-coded natural name of the language. The interpreter name (Example: Cpython, Jpython) should still be contextEnvName and provide more information on which interpreter is spitting out the error.

Evaluate various platform libraries for platform detection

Platform detection code in JS is currently heavy, and requires a lot of maintenance by us to adjust to new platforms and browsers, while also maintaining code compatibility. While I was cautious about initially adding a new dependency, I think this is actually a good place to do it.

https://stackoverflow.com/questions/9514179/how-to-find-the-operating-system-version-using-javascript/42706117#42706117

https://github.com/bestiejs/platform.js/
https://github.com/keithws/browser-report
https://github.com/thorst/supportedBrowser.js

Test new JSdelivr mechanics.

They recently changed their backend to autocrawl requested pages and serve from there. According to them, the new URL we should use is:

https://cdn.jsdelivr.net/gh/trakerr-com/[email protected]/dist/trakerr.min.js

Make sure this is working after we push, or if not; figure out how the parser works. According to the doc, I think someone makes a request and then it parses the folder, and the acquires and seeds the files/updates to the latest version if it doesn't have it on the CDN servers.

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.