feat: remove new relic package

This commit is contained in:
Shivam Mishra
2025-03-13 11:39:40 +05:30
parent 7ac40c8801
commit f6e2bf1247
3 changed files with 0 additions and 87 deletions
-9
View File
@@ -21,8 +21,6 @@ import router, { initalizeRouter } from 'dashboard/routes';
import store from 'dashboard/store';
import constants from 'dashboard/constants/globals';
import * as Sentry from '@sentry/vue';
import { BrowserAgent } from '@newrelic/browser-agent/loaders/browser-agent';
import { Logging } from '@newrelic/browser-agent/features/logging';
import {
initializeAnalyticsEvents,
@@ -50,13 +48,6 @@ app.use(i18n);
app.use(store);
app.use(router);
window.startNewRelic = options => {
return new BrowserAgent({
...options,
features: [Logging],
});
};
window.logrelic = (message, options = {}) => {
if (window.newrelic) {
window.newrelic.log(message, { level: 'debug' }, options);
-1
View File
@@ -42,7 +42,6 @@
"@iconify-json/material-symbols": "^1.2.10",
"@june-so/analytics-next": "^2.0.0",
"@lk77/vue3-color": "^3.0.6",
"@newrelic/browser-agent": "^1.284.1",
"@radix-ui/colors": "^3.0.0",
"@rails/actioncable": "6.1.3",
"@rails/ujs": "^7.1.400",
-77
View File
@@ -46,9 +46,6 @@ importers:
'@lk77/vue3-color':
specifier: ^3.0.6
version: 3.0.6
'@newrelic/browser-agent':
specifier: ^1.284.1
version: 1.284.1
'@radix-ui/colors':
specifier: ^3.0.0
version: 3.0.0
@@ -1004,10 +1001,6 @@ packages:
resolution: {integrity: sha512-36076AWZIRSr8qYOLjuDDkxej/HA0XAosrj7TS1ZeLlUBnLUtbDtvc1S7KSa0hqez7ouzOqGaWK24yoNnTa2OA==}
deprecated: MWC beta is longer supported. Please upgrade to @material/web
'@newrelic/browser-agent@1.284.1':
resolution: {integrity: sha512-Nyzoi4VXbHzYhFGywnpxfEjmb2HLI9V0XcDsj94LkoXT7ZiEW2guP38zpRms9lgvOFnah+slyB/mUSLIAF3S6A==}
engines: {node: '>=12.17.0 < 13.0.0 || >=13.7.0'}
'@nodelib/fs.scandir@2.1.5':
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
engines: {node: '>= 8'}
@@ -1138,12 +1131,6 @@ packages:
cpu: [x64]
os: [win32]
'@rrweb/types@2.0.0-alpha.18':
resolution: {integrity: sha512-iMH3amHthJZ9x3gGmBPmdfim7wLGygC2GciIkw2A6SO8giSn8PHYtRT8OKNH4V+k3SZ6RSnYHcTQxBA7pSWZ3Q==}
'@rrweb/utils@2.0.0-alpha.18':
resolution: {integrity: sha512-qV8azQYo9RuwW4NGRtOiQfTBdHNL1B0Q//uRLMbCSjbaKqJYd88Js17Bdskj65a0Vgp2dwTLPIZ0gK47dfjfaA==}
'@rtsao/scc@1.1.0':
resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==}
@@ -1751,9 +1738,6 @@ packages:
resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==}
engines: {node: '>= 10'}
'@types/css-font-loading-module@0.0.7':
resolution: {integrity: sha512-nl09VhutdjINdWyXxHWN/w9zlNCfr60JUqJbd24YXUuCwgeL0TpFSdElCwb6cxfB6ybE19Gjj4g0jsgkXxKv1Q==}
'@types/estree@1.0.6':
resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==}
@@ -1966,9 +1950,6 @@ packages:
engines: {node: '>=10.0.0'}
deprecated: this version is no longer supported, please update to at least 0.8.*
'@xstate/fsm@1.6.5':
resolution: {integrity: sha512-b5o1I6aLNeYlU/3CPlj/Z91ybk1gUsKT+5NAJI+2W4UjvS5KLG28K9v5UvNoFVjHV8PajVZ00RH3vnjyQO7ZAw==}
abab@2.0.6:
resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==}
deprecated: Use your platform's native atob() and btoa() methods instead
@@ -2139,10 +2120,6 @@ packages:
balanced-match@1.0.2:
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
base64-arraybuffer@1.0.2:
resolution: {integrity: sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==}
engines: {node: '>= 0.6.0'}
binary-extensions@2.2.0:
resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==}
engines: {node: '>=8'}
@@ -2856,9 +2833,6 @@ packages:
fastq@1.15.0:
resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==}
fflate@0.8.2:
resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==}
file-entry-cache@6.0.1:
resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==}
engines: {node: ^10.12.0 || >=12.0.0}
@@ -4331,21 +4305,12 @@ packages:
rope-sequence@1.3.2:
resolution: {integrity: sha512-ku6MFrwEVSVmXLvy3dYph3LAMNS0890K7fabn+0YIRQ2T96T9F4gkFf0vf0WW0JUraNWwGRtInEpH7yO4tbQZg==}
rrdom@2.0.0-alpha.18:
resolution: {integrity: sha512-fSFzFFxbqAViITyYVA4Z0o5G6p1nEqEr/N8vdgSKie9Rn0FJxDSNJgjV0yiCIzcDs0QR+hpvgFhpbdZ6JIr5Nw==}
rrweb-cssom@0.6.0:
resolution: {integrity: sha512-APM0Gt1KoXBz0iIkkdB/kfvGOwC4UuJFeG/c+yV7wSc7q96cG/kJ0HiYCnzivD9SB53cLV1MlHFNfOuPaadYSw==}
rrweb-cssom@0.7.1:
resolution: {integrity: sha512-TrEMa7JGdVm0UThDJSx7ddw5nVm3UJS9o9CCIZ72B1vSyEZoziDqBYP3XIoi/12lKrJR8rE3jeFHMok2F/Mnsg==}
rrweb-snapshot@2.0.0-alpha.18:
resolution: {integrity: sha512-hBHZL/NfgQX6wO1D9mpwqFu1NJPpim+moIcKhFEjVTZVRUfCln+LOugRc4teVTCISYHN8Cw5e2iNTWCSm+SkoA==}
rrweb@2.0.0-alpha.18:
resolution: {integrity: sha512-1mjZcB+LVoGSx1+i9E2ZdAP90fS3MghYVix2wvGlZvrgRuLCbTCCOZMztFCkKpgp7/EeCdYM4nIHJkKX5J1Nmg==}
run-parallel@1.2.0:
resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
@@ -5033,9 +4998,6 @@ packages:
wavesurfer.js@7.8.6:
resolution: {integrity: sha512-EDexkMwkkQBTWruhfWQRkTtvRggtKFTPuJX/oZ5wbIZEfyww9EBeLr2mtkxzA1S8TlWPx6adY5WyjOlNYNyHSg==}
web-vitals@4.2.4:
resolution: {integrity: sha512-r4DIlprAGwJ7YM11VZp4R884m0Vmgr6EAKe3P+kO0PPj3Unqyvv59rczf6UiGcb9Z8QxZVcqKNwv/g0WNdWwsw==}
webidl-conversions@3.0.1:
resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==}
@@ -5908,12 +5870,6 @@ snapshots:
lit: 2.2.6
tslib: 2.8.1
'@newrelic/browser-agent@1.284.1':
dependencies:
fflate: 0.8.2
rrweb: 2.0.0-alpha.18
web-vitals: 4.2.4
'@nodelib/fs.scandir@2.1.5':
dependencies:
'@nodelib/fs.stat': 2.0.5
@@ -5998,10 +5954,6 @@ snapshots:
'@rollup/rollup-win32-x64-msvc@4.31.0':
optional: true
'@rrweb/types@2.0.0-alpha.18': {}
'@rrweb/utils@2.0.0-alpha.18': {}
'@rtsao/scc@1.1.0': {}
'@scmmishra/pico-search@0.5.4': {}
@@ -6742,8 +6694,6 @@ snapshots:
'@tootallnate/once@2.0.0': {}
'@types/css-font-loading-module@0.0.7': {}
'@types/estree@1.0.6': {}
'@types/flexsearch@0.7.6': {}
@@ -7051,8 +7001,6 @@ snapshots:
'@xmldom/xmldom@0.7.13': {}
'@xstate/fsm@1.6.5': {}
abab@2.0.6: {}
abbrev@2.0.0: {}
@@ -7252,8 +7200,6 @@ snapshots:
balanced-match@1.0.2: {}
base64-arraybuffer@1.0.2: {}
binary-extensions@2.2.0: {}
birpc@0.1.1: {}
@@ -8116,8 +8062,6 @@ snapshots:
dependencies:
reusify: 1.0.4
fflate@0.8.2: {}
file-entry-cache@6.0.1:
dependencies:
flat-cache: 3.1.0
@@ -9754,29 +9698,10 @@ snapshots:
rope-sequence@1.3.2: {}
rrdom@2.0.0-alpha.18:
dependencies:
rrweb-snapshot: 2.0.0-alpha.18
rrweb-cssom@0.6.0: {}
rrweb-cssom@0.7.1: {}
rrweb-snapshot@2.0.0-alpha.18:
dependencies:
postcss: 8.5.1
rrweb@2.0.0-alpha.18:
dependencies:
'@rrweb/types': 2.0.0-alpha.18
'@rrweb/utils': 2.0.0-alpha.18
'@types/css-font-loading-module': 0.0.7
'@xstate/fsm': 1.6.5
base64-arraybuffer: 1.0.2
mitt: 3.0.1
rrdom: 2.0.0-alpha.18
rrweb-snapshot: 2.0.0-alpha.18
run-parallel@1.2.0:
dependencies:
queue-microtask: 1.2.3
@@ -10542,8 +10467,6 @@ snapshots:
wavesurfer.js@7.8.6: {}
web-vitals@4.2.4: {}
webidl-conversions@3.0.1: {}
webidl-conversions@7.0.0: {}