Skip to content

Commit 54176c1

Browse files
Merge pull request #15 from sentryadam0000345/Adamsbranch
Update to latest version of Sentry Angular SDK with performance/transactions
2 parents 4eec1c9 + 39a6ba2 commit 54176c1

File tree

12 files changed

+14824
-70
lines changed

12 files changed

+14824
-70
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=d07cf39eb8d7a445f3614999f54932b7bff5e245
1+
version=5ad3d237b2e5d2c6f45b3d462172818a9398e39f

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,9 @@ note: predeploy runs as part of deploy where create_env is used
2020

2121
note: a .env file must be made in order to store the relative variable value provided by the Sentry CLI
2222

23-
## GIF
23+
## Error Monitoring
2424
![Alt Text](angular-demo.gif)
25+
26+
## Performance Monitoring
27+
![Alt Text](performance.gif)
28+

config-env.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { writeFile } from 'fs';
1+
const fs = require('fs');
22
// Configure Angular `environment.ts` file path
33
const targetPath = './src/environments/environment.prod.ts';
44

@@ -15,7 +15,7 @@ const envConfigFile = `export const environment = {
1515
console.log(colors.magenta('The file `environment.prod.ts` will be written with the following content: \n'));
1616

1717
console.log(colors.grey(envConfigFile));
18-
writeFile(targetPath, envConfigFile, function (err) {
18+
fs.writeFile(targetPath, envConfigFile, function (err) {
1919
if (err) {
2020
throw console.error(err);
2121
} else {

0 commit comments

Comments
 (0)