Skip to content

Commit

Permalink
new-relic-browser-monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
leomendoza123 committed Sep 4, 2024
1 parent 25948b7 commit 0ca7720
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 6 deletions.
12 changes: 7 additions & 5 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,13 @@ export class AppComponent {
)
.subscribe()

_togglzService.getStateOf('NEW_RELIC_BROWSER_MONITORING').subscribe((value) => {
if (true) {
_newRelicService.init()
}
})
_togglzService
.getStateOf('NEW_RELIC_BROWSER_MONITORING')
.subscribe((NEW_RELIC_BROWSER_MONITORING) => {
if (NEW_RELIC_BROWSER_MONITORING) {
_newRelicService.init()
}
})

_router.events.subscribe((event) => {
if (event instanceof NavigationStart) {
Expand Down
50 changes: 49 additions & 1 deletion src/index.html

Large diffs are not rendered by default.

0 comments on commit 0ca7720

Please sign in to comment.