Skip to content

sentry-demos/angular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d9024cb · Nov 8, 2023
Nov 8, 2023
Jan 10, 2018
Oct 15, 2020
Mar 25, 2019
Aug 19, 2020
Aug 20, 2020
Nov 8, 2023
Apr 16, 2018
Mar 25, 2019
Aug 19, 2020
Oct 15, 2020
Aug 19, 2020
Oct 16, 2023
Oct 16, 2023
Oct 15, 2020
Oct 16, 2023
Jan 10, 2018
Oct 15, 2020
Oct 15, 2020
Oct 15, 2020
Aug 19, 2020

Repository files navigation

Angular + Sentry

Installation

https://docs.sentry.io/platforms/javascript/angular/

Deploying

nvm use

npm install

npm install -g @sentry/cli

The following command is defined in package.json and will build, create release, upload source maps and deploy:

npm run deploy

note: predeploy runs as part of deploy where create_env is used

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

Error Monitoring

Alt Text

Performance Monitoring

Alt Text

Enable Profiling

In order to enable profiling, please use an extension that allows you to modify the document response headers (make sure you create a rule to modify RESPONSE headers, not request headers!). An example of an extension like that for Chrome is modheader.

policy headers