atatus / atatus-js Goto Github PK
View Code? Open in Web Editor NEWReal User Monitoring(RUM) and Error tracking for your frontend apps/sites
Home Page: https://www.atatus.com
Real User Monitoring(RUM) and Error tracking for your frontend apps/sites
Home Page: https://www.atatus.com
Hi folks, trying to set things up and we use Rollup
import * as atatus from 'atatus-js';
atatus.config('our api key').install();
gives us the following notices in Rollup
'config' is not exported by 'node_modules\atatus-js\atatus.min.js'
'notify' is not exported by 'node_modules\atatus-js\atatus.min.js'
and the following console error which occurs at atatus.config
Uncaught TypeError: undefined is not a function
Rollup typically does best if it has access to an ES module. I'm not an expert on packages, but usually exporting an ES module and updating your package.json so that it defines that module's availability does the trick
Hi,
Is this repo still in use? https://github.com/Todd-Werelius/atatusjs
When we run the application on Android or IOS using Apache Cordova we sometimes hit the error that the sourceMap (atatus.min.js.map
) isn't found in the www/lib/atatus-js/ folder
.
We installed Atatus using: bower install
Also on the GitHub page I don't see any atatus.min.js.map
file in the project. Removing the sourceMap from the atatus.min.js
file resolved the issue: https://github.com/atatus/atatus-js/blob/master/atatus.min.js#L5
Can you please check and fix?
Hi there,
We're seeing lots of errors cropping up sometimes with the version 2.3.0 of the script we have installed in a Cordova app.
It appears to fail to load resources and has JavaScript errors:
Expanded view of the JS errors:
The network tab also shows it hanging and failing on these requests, which seems to delay our other app requests.
This appears to be causing problems with a user trial that is in progress, so I would really appreciate any help you could give us! Thanks.
p.s. The device was an HTC Desire 610 running Android 4.4.2
https://site.com/assets/js/main.84c24997.js at line 1, col 18298 in ?
https://site.com/assets/js/main.84c24997.js at line 1, col 18450 in p
https://site.com/assets/js/main.84c24997.js at line 1, col 34246 in Object.sendWebVitals
https://site.com/assets/js/main.84c24997.js at line 1, col 53246 in ?
Hi,
When running our mocha tests, I get "ReferenceError: TraceKit is not defined":
ReferenceError: TraceKit is not defined
at /Users/peter/dev/src/pebblecode/products/bybox-erskine-mercurial/node_modules/atatus-js/atatus.min.js:3:12890
at Object.<anonymous> (/Users/peter/dev/src/pebblecode/products/bybox-erskine-mercurial/node_modules/atatus-js/atatus.min.js:3:20689)
at Module._compile (module.js:435:26)
at Module._extensions..js (module.js:442:10)
at Object.require.extensions.(anonymous function) [as .js] (/Users/peter/dev/src/pebblecode/products/bybox-erskine-mercurial/node_modules/babel-register/lib/node.js:166:7)
at Module.load (module.js:356:32)
...
If I remove the "atatus-js" import, then the error goes away.
I am pulling in atatus-js via NPM. I've tried v2.3.7 and v2.3.11.
In case it's relevant, I'm importing it in our "AtatusLogger.js" with import 'atatus-js';
(this is transformed with Babel). The command I'm running is mocha "test/**/*.@(js|jsx)"
and my .babelrc is just:
{
"presets": ["react", "es2015"]
}
Please might you have any suggestions?
I've been using transactions so far and loving them, especially as a means to measure the loading performance of various iframed resources in my app. As I understand it, atatus.recordTransaction('foobar', 1000);
is more or less shorthand for
atatus.startTransaction('foobar');
setTimeout(() => {
atatus.endTransaction('foobar');
}, 1000);
Would it be possible to extend the atatus.recordTransaction()
method to do the same for failed transactions? Ie, something like atatus.recordFailedTransaction('foobar', 1000);
or atatus.recordTransaction('foobar', 1000, false);
?
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.