trakerr-com / trakerr-javascript Goto Github PK
View Code? Open in Web Editor NEWTrakerr.IO Javascript Error Tracking Library
Home Page: https://trakerr.io
License: Apache License 2.0
Trakerr.IO Javascript Error Tracking Library
Home Page: https://trakerr.io
License: Apache License 2.0
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 comments for public exposed interfaces to make it easy for others.
http://javascriptplayground.com/blog/2013/12/es5-getters-setters/ As seen in this, JS actually has getters and setters. I'd like to refactor the code to make it look much nicer.
For JavaScript, restore default behavior by handling the error and then reissue it to console. Provide a flag to do so.
SendEvent prints a large annoying response to the console.
Reduces constructor to fit other languages and keep simple. Create getter and setter for all instance variables.
StackTrace parsing outputs absolute paths instead of relative paths. This is bad for grouping.
Check if loglevel uses an importable enum rather than trying to string parse.
Currently the StackTrace outputs odd methods in the method header. Figure out what's wrong with the example stacktraces.
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 for refactor 1 (TC constructors) & 2 (deploymentStage & Name).
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.
In the test code, the error is being called with unknown as the classification where it should default to issue.
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://github.com/bestiejs/platform.js/
https://github.com/keithws/browser-report
https://github.com/thorst/supportedBrowser.js
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.