Parcourir la source

feat: remove newrelic integration (#862)

Karol Sójko il y a 1 an
Parent
commit
efb341eb99
100 fichiers modifiés avec 1 ajouts et 868 suppressions
  1. 0 16
      .github/workflows/analytics.yml
  2. 0 14
      .github/workflows/api-gateway.yml
  3. 0 24
      .github/workflows/auth.yml
  4. 0 24
      .github/workflows/files.yml
  5. 0 24
      .github/workflows/revisions.yml
  6. 0 16
      .github/workflows/scheduler.yml
  7. 0 24
      .github/workflows/syncing-server.yml
  8. 0 24
      .github/workflows/websockets.yml
  9. 0 1
      .gitignore
  10. 0 618
      .pnp.cjs
  11. BIN
      .yarn/cache/@aws-sdk-client-lambda-npm-3.398.0-fa4aacfc7b-9602300550.zip
  12. BIN
      .yarn/cache/@aws-sdk-client-sso-npm-3.398.0-bc215baaec-ad96acab12.zip
  13. BIN
      .yarn/cache/@aws-sdk-client-sts-npm-3.398.0-bd88a8b774-a3164f6d56.zip
  14. BIN
      .yarn/cache/@aws-sdk-credential-provider-ini-npm-3.398.0-04492602d9-16fc9bf4a7.zip
  15. BIN
      .yarn/cache/@aws-sdk-credential-provider-node-npm-3.398.0-97aa6ccb11-4c7cf65f07.zip
  16. BIN
      .yarn/cache/@aws-sdk-credential-provider-process-npm-3.398.0-912c87c1ab-b6449f3cd4.zip
  17. BIN
      .yarn/cache/@aws-sdk-credential-provider-sso-npm-3.398.0-d9db07b9fb-e77a517246.zip
  18. BIN
      .yarn/cache/@aws-sdk-token-providers-npm-3.398.0-a6d6e277f6-5d8d1f803b.zip
  19. BIN
      .yarn/cache/@aws-sdk-util-user-agent-node-npm-3.398.0-e1c632b733-2a5a4fb2ef.zip
  20. BIN
      .yarn/cache/@contrast-fn-inspect-npm-3.3.1-3a415085d5-91d4efd96a.zip
  21. BIN
      .yarn/cache/@grpc-grpc-js-npm-1.8.14-16a696d45f-9e212a9128.zip
  22. BIN
      .yarn/cache/@grpc-proto-loader-npm-0.7.7-3c0a27e6a6-0f9401c43f.zip
  23. BIN
      .yarn/cache/@newrelic-aws-sdk-npm-7.0.0-f8a76bb449-5a6b9575e5.zip
  24. BIN
      .yarn/cache/@newrelic-koa-npm-8.0.0-850e4b7ee6-30a368a554.zip
  25. BIN
      .yarn/cache/@newrelic-native-metrics-npm-10.0.0-5657e1221a-4bdaebdcf1.zip
  26. BIN
      .yarn/cache/@newrelic-security-agent-npm-0.2.1-2e31cdfb21-64f656b5b8.zip
  27. BIN
      .yarn/cache/@newrelic-superagent-npm-7.0.0-07e33ff524-ed15e84a20.zip
  28. BIN
      .yarn/cache/@newrelic-winston-enricher-npm-4.0.1-ef1230a3ce-e09581bbfd.zip
  29. BIN
      .yarn/cache/@prisma-prisma-fmt-wasm-npm-4.17.0-16.27eb2449f178cd9fe1a4b892d732cc4795f75085-43a16edc78-6b413ee7d5.zip
  30. BIN
      .yarn/cache/@smithy-eventstream-serde-browser-npm-2.0.5-4ff452e96f-a4f778c93a.zip
  31. BIN
      .yarn/cache/@smithy-eventstream-serde-config-resolver-npm-2.0.5-ed29af6b0e-5686378c77.zip
  32. BIN
      .yarn/cache/@smithy-eventstream-serde-node-npm-2.0.5-030e7e4a00-24c64c3096.zip
  33. BIN
      .yarn/cache/@smithy-eventstream-serde-universal-npm-2.0.5-abb6af8923-50086eb68c.zip
  34. BIN
      .yarn/cache/@smithy-util-defaults-mode-browser-npm-2.0.5-e1ebe583cc-f4cea10f35.zip
  35. BIN
      .yarn/cache/@smithy-util-defaults-mode-node-npm-2.0.5-9daaef2abc-d9534ad9e9.zip
  36. BIN
      .yarn/cache/@smithy-util-waiter-npm-2.0.5-98add292fc-8dc3068fd6.zip
  37. BIN
      .yarn/cache/@types-concat-stream-npm-1.6.1-42cd06b019-7d211e7433.zip
  38. BIN
      .yarn/cache/@types-form-data-npm-0.0.33-3cbbcd9710-f0c7437e9d.zip
  39. BIN
      .yarn/cache/@types-long-npm-4.0.2-e7bdc00dd4-68afa05fb2.zip
  40. BIN
      .yarn/cache/@types-newrelic-npm-9.14.0-4668da51a1-3a54ea75a4.zip
  41. BIN
      .yarn/cache/@types-node-npm-10.17.60-63ac1f669f-f9161493b3.zip
  42. BIN
      .yarn/cache/@types-node-npm-8.10.66-b849acaf16-49a93cbeec.zip
  43. BIN
      .yarn/cache/@tyriar-fibonacci-heap-npm-2.0.9-f50901eb42-5c9ae30a8b.zip
  44. BIN
      .yarn/cache/agent-base-npm-7.1.0-4b12ba5111-f7828f9914.zip
  45. BIN
      .yarn/cache/asap-npm-2.0.6-36714d439d-b244c0458c.zip
  46. BIN
      .yarn/cache/axios-npm-0.21.4-e278873748-da644592cb.zip
  47. BIN
      .yarn/cache/bignumber.js-npm-9.1.1-5929e8d8dc-1f771bfa88.zip
  48. BIN
      .yarn/cache/caseless-npm-0.12.0-e83bc5df83-ea1efdf430.zip
  49. BIN
      .yarn/cache/check-disk-space-npm-3.3.1-e4d759f5a6-10e2900c60.zip
  50. BIN
      .yarn/cache/concat-stream-npm-1.6.2-2bee337060-71db903c84.zip
  51. BIN
      .yarn/cache/date-format-npm-4.0.14-50da5e5139-6b07fd1df2.zip
  52. BIN
      .yarn/cache/extend-shallow-npm-2.0.1-e6ef52b29c-8fb58d9d7a.zip
  53. BIN
      .yarn/cache/fast-safe-stringify-npm-2.1.1-7ce89033ca-dc1f063c2c.zip
  54. BIN
      .yarn/cache/find-package-json-npm-1.2.0-0adfc8b282-4378251757.zip
  55. BIN
      .yarn/cache/form-data-npm-2.5.1-47256351b5-2e2e5e9279.zip
  56. BIN
      .yarn/cache/fs-extra-npm-8.1.0-197473387f-6fb12449f5.zip
  57. BIN
      .yarn/cache/get-port-npm-3.2.0-4093f8843e-577b6ae47d.zip
  58. BIN
      .yarn/cache/hash.js-npm-1.1.7-f1ad187358-0c89ee4006.zip
  59. BIN
      .yarn/cache/html-entities-npm-2.4.0-510164c624-646f2f1921.zip
  60. BIN
      .yarn/cache/http-basic-npm-8.1.3-ae54b14025-f515c46159.zip
  61. BIN
      .yarn/cache/http-response-object-npm-3.0.2-cbb68c5487-f530c1b28d.zip
  62. BIN
      .yarn/cache/https-proxy-agent-npm-7.0.1-a2d5d93ee0-68e5a570fd.zip
  63. BIN
      .yarn/cache/is-extendable-npm-0.1.1-322b4649ec-3875571d20.zip
  64. BIN
      .yarn/cache/is-invalid-path-npm-1.0.2-5d84629aa0-8776ef093e.zip
  65. BIN
      .yarn/cache/json-bigint-npm-1.0.0-8e35bcb143-cd3973b88e.zip
  66. BIN
      .yarn/cache/jsonfile-npm-4.0.0-10ce3aea15-17796f0ab1.zip
  67. BIN
      .yarn/cache/jsonschema-npm-1.4.1-548ecda9d0-d7a188da7a.zip
  68. BIN
      .yarn/cache/log4js-npm-6.9.1-b621c90f9f-421fb9c1e5.zip
  69. BIN
      .yarn/cache/long-npm-4.0.0-ecd96a31ed-8296e2ba7b.zip
  70. BIN
      .yarn/cache/minimalistic-assert-npm-1.0.1-dc8bb23d29-cc7974a926.zip
  71. BIN
      .yarn/cache/nan-npm-2.17.0-bf36a21d6f-bba1efee24.zip
  72. BIN
      .yarn/cache/newrelic-npm-11.0.0-e25c7e9056-b990b3579f.zip
  73. BIN
      .yarn/cache/parse-cache-control-npm-1.0.1-81068d3680-13171cd973.zip
  74. BIN
      .yarn/cache/pretty-bytes-npm-5.6.0-0061079c9f-9c082500d1.zip
  75. BIN
      .yarn/cache/promise-npm-8.3.0-fbfb957417-55e9d0d723.zip
  76. BIN
      .yarn/cache/protobufjs-npm-7.2.3-c8e4e8bc20-194e4246ae.zip
  77. BIN
      .yarn/cache/qs-npm-6.11.2-b118bc1c6f-f2321d0796.zip
  78. BIN
      .yarn/cache/request-ip-npm-3.3.0-d0fb01a2ad-9ca26f8142.zip
  79. BIN
      .yarn/cache/rfdc-npm-1.3.0-272f288ad8-76dedd9700.zip
  80. BIN
      .yarn/cache/ringbufferjs-npm-2.0.0-96f0501584-d33628f0f2.zip
  81. BIN
      .yarn/cache/streamroller-npm-3.1.5-2fe0f7e85a-2e4fe61ab9.zip
  82. BIN
      .yarn/cache/string.fromcodepoint-npm-0.2.1-84d94c4fb5-6ba80f70c3.zip
  83. BIN
      .yarn/cache/sync-request-npm-6.1.0-6ac24ab111-7f2b63b77c.zip
  84. BIN
      .yarn/cache/sync-rpc-npm-1.3.6-96e5b4b996-13c05461a3.zip
  85. BIN
      .yarn/cache/then-request-npm-6.0.2-d89438d618-7a33192fa0.zip
  86. BIN
      .yarn/cache/unescape-js-npm-1.1.4-f41cc6935a-97acf60a8f.zip
  87. BIN
      .yarn/cache/unescape-npm-1.0.1-df37f0a8bb-0d89b0f55e.zip
  88. BIN
      .yarn/cache/universalify-npm-0.1.2-9b22d31d2d-40cdc60f6e.zip
  89. BIN
      .yarn/cache/ws-npm-7.5.9-26f12a5ed6-171e350129.zip
  90. 0 1
      docker-compose.ci.yml
  91. 0 24
      docker/docker-entrypoint.sh
  92. 1 5
      package.json
  93. 0 9
      packages/analytics/.env.sample
  94. 0 5
      packages/analytics/package.json
  95. 0 8
      packages/analytics/src/Bootstrap/Container.ts
  96. 0 1
      packages/analytics/src/Bootstrap/Types.ts
  97. 0 9
      packages/api-gateway/.env.sample
  98. 0 5
      packages/api-gateway/package.json
  99. 0 7
      packages/api-gateway/src/Bootstrap/Container.ts
  100. 0 9
      packages/auth/.env.sample

+ 0 - 16
.github/workflows/analytics.yml

@@ -20,19 +20,3 @@ jobs:
       deploy_web: false
       deploy_web: false
       package_path: packages/analytics
       package_path: packages/analytics
     secrets: inherit
     secrets: inherit
-
-  newrelic:
-    needs: call_server_application_workflow
-
-    runs-on: ubuntu-latest
-
-    steps:
-      - name: Create New Relic deployment marker for Worker
-        uses: newrelic/deployment-marker-action@v1
-        with:
-          accountId: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
-          apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
-          applicationId: ${{ secrets.NEW_RELIC_APPLICATION_ID_ANALYTICS_WORKER_PROD }}
-          revision: "${{ github.sha }}"
-          description: "Automated Deployment via Github Actions"
-          user: "${{ github.actor }}"

+ 0 - 14
.github/workflows/api-gateway.yml

@@ -20,17 +20,3 @@ jobs:
       deploy_worker: false
       deploy_worker: false
       package_path: packages/api-gateway
       package_path: packages/api-gateway
     secrets: inherit
     secrets: inherit
-
-  newrelic:
-    needs: call_server_application_workflow
-    runs-on: ubuntu-latest
-    steps:
-      - name: Create New Relic deployment marker for Web
-        uses: newrelic/deployment-marker-action@v1
-        with:
-          accountId: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
-          apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
-          applicationId: ${{ secrets.NEW_RELIC_APPLICATION_ID_API_GATEWAY_WEB_PROD }}
-          revision: "${{ github.sha }}"
-          description: "Automated Deployment via Github Actions"
-          user: "${{ github.actor }}"

+ 0 - 24
.github/workflows/auth.yml

@@ -19,27 +19,3 @@ jobs:
       workspace_name: "@standardnotes/auth-server"
       workspace_name: "@standardnotes/auth-server"
       package_path: packages/auth
       package_path: packages/auth
     secrets: inherit
     secrets: inherit
-
-  newrelic:
-    needs: call_server_application_workflow
-
-    runs-on: ubuntu-latest
-    steps:
-      - name: Create New Relic deployment marker for Web
-        uses: newrelic/deployment-marker-action@v1
-        with:
-          accountId: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
-          apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
-          applicationId: ${{ secrets.NEW_RELIC_APPLICATION_ID_AUTH_WEB_PROD }}
-          revision: "${{ github.sha }}"
-          description: "Automated Deployment via Github Actions"
-          user: "${{ github.actor }}"
-      - name: Create New Relic deployment marker for Worker
-        uses: newrelic/deployment-marker-action@v1
-        with:
-          accountId: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
-          apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
-          applicationId: ${{ secrets.NEW_RELIC_APPLICATION_ID_AUTH_WORKER_PROD }}
-          revision: "${{ github.sha }}"
-          description: "Automated Deployment via Github Actions"
-          user: "${{ github.actor }}"

+ 0 - 24
.github/workflows/files.yml

@@ -19,27 +19,3 @@ jobs:
       workspace_name: "@standardnotes/files-server"
       workspace_name: "@standardnotes/files-server"
       package_path: packages/files
       package_path: packages/files
     secrets: inherit
     secrets: inherit
-
-  newrelic:
-    needs: call_server_application_workflow
-
-    runs-on: ubuntu-latest
-    steps:
-      - name: Create New Relic deployment marker for Web
-        uses: newrelic/deployment-marker-action@v1
-        with:
-          accountId: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
-          apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
-          applicationId: ${{ secrets.NEW_RELIC_APPLICATION_ID_FILES_WEB_PROD }}
-          revision: "${{ github.sha }}"
-          description: "Automated Deployment via Github Actions"
-          user: "${{ github.actor }}"
-      - name: Create New Relic deployment marker for Worker
-        uses: newrelic/deployment-marker-action@v1
-        with:
-          accountId: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
-          apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
-          applicationId: ${{ secrets.NEW_RELIC_APPLICATION_ID_FILES_WORKER_PROD }}
-          revision: "${{ github.sha }}"
-          description: "Automated Deployment via Github Actions"
-          user: "${{ github.actor }}"

+ 0 - 24
.github/workflows/revisions.yml

@@ -19,27 +19,3 @@ jobs:
       workspace_name: "@standardnotes/revisions-server"
       workspace_name: "@standardnotes/revisions-server"
       package_path: packages/revisions
       package_path: packages/revisions
     secrets: inherit
     secrets: inherit
-
-  newrelic:
-    needs: call_server_application_workflow
-
-    runs-on: ubuntu-latest
-    steps:
-      - name: Create New Relic deployment marker for Web
-        uses: newrelic/deployment-marker-action@v1
-        with:
-          accountId: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
-          apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
-          applicationId: ${{ secrets.NEW_RELIC_APPLICATION_ID_REVISIONS_WEB_PROD }}
-          revision: "${{ github.sha }}"
-          description: "Automated Deployment via Github Actions"
-          user: "${{ github.actor }}"
-      - name: Create New Relic deployment marker for Worker
-        uses: newrelic/deployment-marker-action@v1
-        with:
-          accountId: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
-          apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
-          applicationId: ${{ secrets.NEW_RELIC_APPLICATION_ID_REVISIONS_WORKER_PROD }}
-          revision: "${{ github.sha }}"
-          description: "Automated Deployment via Github Actions"
-          user: "${{ github.actor }}"

+ 0 - 16
.github/workflows/scheduler.yml

@@ -20,19 +20,3 @@ jobs:
       deploy_web: false
       deploy_web: false
       package_path: packages/scheduler
       package_path: packages/scheduler
     secrets: inherit
     secrets: inherit
-
-  newrelic:
-    needs: call_server_application_workflow
-
-    runs-on: ubuntu-latest
-
-    steps:
-      - name: Create New Relic deployment marker for Worker
-        uses: newrelic/deployment-marker-action@v1
-        with:
-          accountId: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
-          apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
-          applicationId: ${{ secrets.NEW_RELIC_APPLICATION_ID_SCHEDULER_WORKER_PROD }}
-          revision: "${{ github.sha }}"
-          description: "Automated Deployment via Github Actions"
-          user: "${{ github.actor }}"

+ 0 - 24
.github/workflows/syncing-server.yml

@@ -19,27 +19,3 @@ jobs:
       workspace_name: "@standardnotes/syncing-server"
       workspace_name: "@standardnotes/syncing-server"
       package_path: packages/syncing-server
       package_path: packages/syncing-server
     secrets: inherit
     secrets: inherit
-
-  newrelic:
-    needs: call_server_application_workflow
-
-    runs-on: ubuntu-latest
-    steps:
-      - name: Create New Relic deployment marker for Web
-        uses: newrelic/deployment-marker-action@v1
-        with:
-          accountId: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
-          apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
-          applicationId: ${{ secrets.NEW_RELIC_APPLICATION_ID_SYNCING_SERVER_WEB_PROD }}
-          revision: "${{ github.sha }}"
-          description: "Automated Deployment via Github Actions"
-          user: "${{ github.actor }}"
-      - name: Create New Relic deployment marker for Worker
-        uses: newrelic/deployment-marker-action@v1
-        with:
-          accountId: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
-          apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
-          applicationId: ${{ secrets.NEW_RELIC_APPLICATION_ID_SYNCING_SERVER_WORKER_PROD }}
-          revision: "${{ github.sha }}"
-          description: "Automated Deployment via Github Actions"
-          user: "${{ github.actor }}"

+ 0 - 24
.github/workflows/websockets.yml

@@ -19,27 +19,3 @@ jobs:
       workspace_name: "@standardnotes/websockets-server"
       workspace_name: "@standardnotes/websockets-server"
       package_path: packages/websockets
       package_path: packages/websockets
     secrets: inherit
     secrets: inherit
-
-  newrelic:
-    needs: call_server_application_workflow
-
-    runs-on: ubuntu-latest
-    steps:
-      - name: Create New Relic deployment marker for Web
-        uses: newrelic/deployment-marker-action@v1
-        with:
-          accountId: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
-          apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
-          applicationId: ${{ secrets.NEW_RELIC_APPLICATION_ID_WEBSOCKETS_WEB_PROD }}
-          revision: "${{ github.sha }}"
-          description: "Automated Deployment via Github Actions"
-          user: "${{ github.actor }}"
-      - name: Create New Relic deployment marker for Worker
-        uses: newrelic/deployment-marker-action@v1
-        with:
-          accountId: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
-          apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
-          applicationId: ${{ secrets.NEW_RELIC_APPLICATION_ID_WEBSOCKETS_WORKER_PROD }}
-          revision: "${{ github.sha }}"
-          description: "Automated Deployment via Github Actions"
-          user: "${{ github.actor }}"

+ 0 - 1
.gitignore

@@ -4,7 +4,6 @@
 dist
 dist
 coverage
 coverage
 .env
 .env
-newrelic_agent.log
 
 
 .yarn/*
 .yarn/*
 !.yarn/cache
 !.yarn/cache

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 618
.pnp.cjs


BIN
.yarn/cache/@aws-sdk-client-lambda-npm-3.398.0-fa4aacfc7b-9602300550.zip


BIN
.yarn/cache/@aws-sdk-client-sso-npm-3.398.0-bc215baaec-ad96acab12.zip


BIN
.yarn/cache/@aws-sdk-client-sts-npm-3.398.0-bd88a8b774-a3164f6d56.zip


BIN
.yarn/cache/@aws-sdk-credential-provider-ini-npm-3.398.0-04492602d9-16fc9bf4a7.zip


BIN
.yarn/cache/@aws-sdk-credential-provider-node-npm-3.398.0-97aa6ccb11-4c7cf65f07.zip


BIN
.yarn/cache/@aws-sdk-credential-provider-process-npm-3.398.0-912c87c1ab-b6449f3cd4.zip


BIN
.yarn/cache/@aws-sdk-credential-provider-sso-npm-3.398.0-d9db07b9fb-e77a517246.zip


BIN
.yarn/cache/@aws-sdk-token-providers-npm-3.398.0-a6d6e277f6-5d8d1f803b.zip


BIN
.yarn/cache/@aws-sdk-util-user-agent-node-npm-3.398.0-e1c632b733-2a5a4fb2ef.zip


BIN
.yarn/cache/@contrast-fn-inspect-npm-3.3.1-3a415085d5-91d4efd96a.zip


BIN
.yarn/cache/@grpc-grpc-js-npm-1.8.14-16a696d45f-9e212a9128.zip


BIN
.yarn/cache/@grpc-proto-loader-npm-0.7.7-3c0a27e6a6-0f9401c43f.zip


BIN
.yarn/cache/@newrelic-aws-sdk-npm-7.0.0-f8a76bb449-5a6b9575e5.zip


BIN
.yarn/cache/@newrelic-koa-npm-8.0.0-850e4b7ee6-30a368a554.zip


BIN
.yarn/cache/@newrelic-native-metrics-npm-10.0.0-5657e1221a-4bdaebdcf1.zip


BIN
.yarn/cache/@newrelic-security-agent-npm-0.2.1-2e31cdfb21-64f656b5b8.zip


BIN
.yarn/cache/@newrelic-superagent-npm-7.0.0-07e33ff524-ed15e84a20.zip


BIN
.yarn/cache/@newrelic-winston-enricher-npm-4.0.1-ef1230a3ce-e09581bbfd.zip


BIN
.yarn/cache/@prisma-prisma-fmt-wasm-npm-4.17.0-16.27eb2449f178cd9fe1a4b892d732cc4795f75085-43a16edc78-6b413ee7d5.zip


BIN
.yarn/cache/@smithy-eventstream-serde-browser-npm-2.0.5-4ff452e96f-a4f778c93a.zip


BIN
.yarn/cache/@smithy-eventstream-serde-config-resolver-npm-2.0.5-ed29af6b0e-5686378c77.zip


BIN
.yarn/cache/@smithy-eventstream-serde-node-npm-2.0.5-030e7e4a00-24c64c3096.zip


BIN
.yarn/cache/@smithy-eventstream-serde-universal-npm-2.0.5-abb6af8923-50086eb68c.zip


BIN
.yarn/cache/@smithy-util-defaults-mode-browser-npm-2.0.5-e1ebe583cc-f4cea10f35.zip


BIN
.yarn/cache/@smithy-util-defaults-mode-node-npm-2.0.5-9daaef2abc-d9534ad9e9.zip


BIN
.yarn/cache/@smithy-util-waiter-npm-2.0.5-98add292fc-8dc3068fd6.zip


BIN
.yarn/cache/@types-concat-stream-npm-1.6.1-42cd06b019-7d211e7433.zip


BIN
.yarn/cache/@types-form-data-npm-0.0.33-3cbbcd9710-f0c7437e9d.zip


BIN
.yarn/cache/@types-long-npm-4.0.2-e7bdc00dd4-68afa05fb2.zip


BIN
.yarn/cache/@types-newrelic-npm-9.14.0-4668da51a1-3a54ea75a4.zip


BIN
.yarn/cache/@types-node-npm-10.17.60-63ac1f669f-f9161493b3.zip


BIN
.yarn/cache/@types-node-npm-8.10.66-b849acaf16-49a93cbeec.zip


BIN
.yarn/cache/@tyriar-fibonacci-heap-npm-2.0.9-f50901eb42-5c9ae30a8b.zip


BIN
.yarn/cache/agent-base-npm-7.1.0-4b12ba5111-f7828f9914.zip


BIN
.yarn/cache/asap-npm-2.0.6-36714d439d-b244c0458c.zip


BIN
.yarn/cache/axios-npm-0.21.4-e278873748-da644592cb.zip


BIN
.yarn/cache/bignumber.js-npm-9.1.1-5929e8d8dc-1f771bfa88.zip


BIN
.yarn/cache/caseless-npm-0.12.0-e83bc5df83-ea1efdf430.zip


BIN
.yarn/cache/check-disk-space-npm-3.3.1-e4d759f5a6-10e2900c60.zip


BIN
.yarn/cache/concat-stream-npm-1.6.2-2bee337060-71db903c84.zip


BIN
.yarn/cache/date-format-npm-4.0.14-50da5e5139-6b07fd1df2.zip


BIN
.yarn/cache/extend-shallow-npm-2.0.1-e6ef52b29c-8fb58d9d7a.zip


BIN
.yarn/cache/fast-safe-stringify-npm-2.1.1-7ce89033ca-dc1f063c2c.zip


BIN
.yarn/cache/find-package-json-npm-1.2.0-0adfc8b282-4378251757.zip


BIN
.yarn/cache/form-data-npm-2.5.1-47256351b5-2e2e5e9279.zip


BIN
.yarn/cache/fs-extra-npm-8.1.0-197473387f-6fb12449f5.zip


BIN
.yarn/cache/get-port-npm-3.2.0-4093f8843e-577b6ae47d.zip


BIN
.yarn/cache/hash.js-npm-1.1.7-f1ad187358-0c89ee4006.zip


BIN
.yarn/cache/html-entities-npm-2.4.0-510164c624-646f2f1921.zip


BIN
.yarn/cache/http-basic-npm-8.1.3-ae54b14025-f515c46159.zip


BIN
.yarn/cache/http-response-object-npm-3.0.2-cbb68c5487-f530c1b28d.zip


BIN
.yarn/cache/https-proxy-agent-npm-7.0.1-a2d5d93ee0-68e5a570fd.zip


BIN
.yarn/cache/is-extendable-npm-0.1.1-322b4649ec-3875571d20.zip


BIN
.yarn/cache/is-invalid-path-npm-1.0.2-5d84629aa0-8776ef093e.zip


BIN
.yarn/cache/json-bigint-npm-1.0.0-8e35bcb143-cd3973b88e.zip


BIN
.yarn/cache/jsonfile-npm-4.0.0-10ce3aea15-17796f0ab1.zip


BIN
.yarn/cache/jsonschema-npm-1.4.1-548ecda9d0-d7a188da7a.zip


BIN
.yarn/cache/log4js-npm-6.9.1-b621c90f9f-421fb9c1e5.zip


BIN
.yarn/cache/long-npm-4.0.0-ecd96a31ed-8296e2ba7b.zip


BIN
.yarn/cache/minimalistic-assert-npm-1.0.1-dc8bb23d29-cc7974a926.zip


BIN
.yarn/cache/nan-npm-2.17.0-bf36a21d6f-bba1efee24.zip


BIN
.yarn/cache/newrelic-npm-11.0.0-e25c7e9056-b990b3579f.zip


BIN
.yarn/cache/parse-cache-control-npm-1.0.1-81068d3680-13171cd973.zip


BIN
.yarn/cache/pretty-bytes-npm-5.6.0-0061079c9f-9c082500d1.zip


BIN
.yarn/cache/promise-npm-8.3.0-fbfb957417-55e9d0d723.zip


BIN
.yarn/cache/protobufjs-npm-7.2.3-c8e4e8bc20-194e4246ae.zip


BIN
.yarn/cache/qs-npm-6.11.2-b118bc1c6f-f2321d0796.zip


BIN
.yarn/cache/request-ip-npm-3.3.0-d0fb01a2ad-9ca26f8142.zip


BIN
.yarn/cache/rfdc-npm-1.3.0-272f288ad8-76dedd9700.zip


BIN
.yarn/cache/ringbufferjs-npm-2.0.0-96f0501584-d33628f0f2.zip


BIN
.yarn/cache/streamroller-npm-3.1.5-2fe0f7e85a-2e4fe61ab9.zip


BIN
.yarn/cache/string.fromcodepoint-npm-0.2.1-84d94c4fb5-6ba80f70c3.zip


BIN
.yarn/cache/sync-request-npm-6.1.0-6ac24ab111-7f2b63b77c.zip


BIN
.yarn/cache/sync-rpc-npm-1.3.6-96e5b4b996-13c05461a3.zip


BIN
.yarn/cache/then-request-npm-6.0.2-d89438d618-7a33192fa0.zip


BIN
.yarn/cache/unescape-js-npm-1.1.4-f41cc6935a-97acf60a8f.zip


BIN
.yarn/cache/unescape-npm-1.0.1-df37f0a8bb-0d89b0f55e.zip


BIN
.yarn/cache/universalify-npm-0.1.2-9b22d31d2d-40cdc60f6e.zip


BIN
.yarn/cache/ws-npm-7.5.9-26f12a5ed6-171e350129.zip


+ 0 - 1
docker-compose.ci.yml

@@ -13,7 +13,6 @@ services:
       SNS_SECRET_ACCESS_KEY: x
       SNS_SECRET_ACCESS_KEY: x
       SNS_ACCESS_KEY_ID: x
       SNS_ACCESS_KEY_ID: x
       SNS_AWS_REGION: us-east-1
       SNS_AWS_REGION: us-east-1
-      NEW_RELIC_ENABLED: false
     networks:
     networks:
       - standardnotes_self_hosted
       - standardnotes_self_hosted
 
 

+ 0 - 24
docker/docker-entrypoint.sh

@@ -24,14 +24,6 @@ if [ -z "$REVISIONS_SERVER_PORT" ]; then
   export REVISIONS_SERVER_PORT=3105
   export REVISIONS_SERVER_PORT=3105
 fi
 fi
 
 
-#############
-# NEW RELIC #
-#############
-
-if [ -z "$NEW_RELIC_ENABLED" ]; then
-  export NEW_RELIC_ENABLED=false
-fi
-
 ######
 ######
 # DB #
 # DB #
 ######
 ######
@@ -119,10 +111,6 @@ fi
 export AUTH_SERVER_JWT_SECRET=$AUTH_JWT_SECRET
 export AUTH_SERVER_JWT_SECRET=$AUTH_JWT_SECRET
 export AUTH_SERVER_LEGACY_JWT_SECRET=$(openssl rand -hex 32)
 export AUTH_SERVER_LEGACY_JWT_SECRET=$(openssl rand -hex 32)
 
 
-export AUTH_SERVER_NEW_RELIC_ENABLED=false
-export AUTH_SERVER_NEW_RELIC_APP_NAME=Auth
-export AUTH_SERVER_NEW_RELIC_NO_CONFIG_FILE=true
-
 if [ -z "$AUTH_SERVER_DISABLE_USER_REGISTRATION" ]; then
 if [ -z "$AUTH_SERVER_DISABLE_USER_REGISTRATION" ]; then
   export AUTH_SERVER_DISABLE_USER_REGISTRATION=false
   export AUTH_SERVER_DISABLE_USER_REGISTRATION=false
 fi
 fi
@@ -260,10 +248,6 @@ if [ -z "$SYNCING_SERVER_REVISIONS_FREQUENCY" ]; then
   export SYNCING_SERVER_REVISIONS_FREQUENCY=300
   export SYNCING_SERVER_REVISIONS_FREQUENCY=300
 fi
 fi
 
 
-export SYNCING_SERVER_NEW_RELIC_ENABLED=false
-export SYNCING_SERVER_NEW_RELIC_APP_NAME="Syncing Server JS"
-export SYNCING_SERVER_NEW_RELIC_NO_CONFIG_FILE=true
-
 export SYNCING_SERVER_FILE_UPLOAD_PATH="/opt/shared/uploads"
 export SYNCING_SERVER_FILE_UPLOAD_PATH="/opt/shared/uploads"
 
 
 printenv | grep SYNCING_SERVER_ | sed 's/SYNCING_SERVER_//g' > /opt/server/packages/syncing-server/.env
 printenv | grep SYNCING_SERVER_ | sed 's/SYNCING_SERVER_//g' > /opt/server/packages/syncing-server/.env
@@ -283,8 +267,6 @@ if [ -z "$FILES_SERVER_MAX_CHUNK_BYTES" ]; then
   export FILES_SERVER_MAX_CHUNK_BYTES=100000000
   export FILES_SERVER_MAX_CHUNK_BYTES=100000000
 fi
 fi
 
 
-export FILES_SERVER_NEW_RELIC_ENABLED=false
-
 if [ -z "$FILES_SERVER_SNS_TOPIC_ARN" ]; then
 if [ -z "$FILES_SERVER_SNS_TOPIC_ARN" ]; then
   export FILES_SERVER_SNS_TOPIC_ARN="arn:aws:sns:us-east-1:000000000000:files-local-topic"
   export FILES_SERVER_SNS_TOPIC_ARN="arn:aws:sns:us-east-1:000000000000:files-local-topic"
 fi
 fi
@@ -329,8 +311,6 @@ fi
 export REVISIONS_SERVER_NODE_ENV="production"
 export REVISIONS_SERVER_NODE_ENV="production"
 export REVISIONS_SERVER_VERSION="local"
 export REVISIONS_SERVER_VERSION="local"
 
 
-export REVISIONS_SERVER_NEW_RELIC_ENABLED=false
-
 if [ -z "$REVISIONS_SERVER_SNS_TOPIC_ARN" ]; then
 if [ -z "$REVISIONS_SERVER_SNS_TOPIC_ARN" ]; then
   export REVISIONS_SERVER_SNS_TOPIC_ARN="arn:aws:sns:us-east-1:000000000000:revisions-server-local-topic"
   export REVISIONS_SERVER_SNS_TOPIC_ARN="arn:aws:sns:us-east-1:000000000000:revisions-server-local-topic"
 fi
 fi
@@ -374,10 +354,6 @@ fi
 export API_GATEWAY_NODE_ENV=production
 export API_GATEWAY_NODE_ENV=production
 export API_GATEWAY_VERSION=local
 export API_GATEWAY_VERSION=local
 
 
-export API_GATEWAY_NEW_RELIC_ENABLED=false
-export API_GATEWAY_NEW_RELIC_APP_NAME="API Gateway"
-export API_GATEWAY_NEW_RELIC_NO_CONFIG_FILE=true
-
 export API_GATEWAY_SYNCING_SERVER_JS_URL=http://localhost:$SYNCING_SERVER_PORT
 export API_GATEWAY_SYNCING_SERVER_JS_URL=http://localhost:$SYNCING_SERVER_PORT
 export API_GATEWAY_AUTH_SERVER_URL=http://localhost:$AUTH_SERVER_PORT
 export API_GATEWAY_AUTH_SERVER_URL=http://localhost:$AUTH_SERVER_PORT
 export API_GATEWAY_REVISIONS_SERVER_URL=http://localhost:$REVISIONS_SERVER_PORT
 export API_GATEWAY_REVISIONS_SERVER_URL=http://localhost:$REVISIONS_SERVER_PORT

+ 1 - 5
package.json

@@ -39,9 +39,5 @@
     "ts-node": "^10.9.1",
     "ts-node": "^10.9.1",
     "typescript": "^5.0.4"
     "typescript": "^5.0.4"
   },
   },
-  "packageManager": "yarn@4.0.0-rc.51",
-  "optionalDependencies": {
-    "@types/newrelic": "^9.14.0",
-    "newrelic": "^11.0.0"
-  }
+  "packageManager": "yarn@4.0.0-rc.51"
 }
 }

+ 0 - 9
packages/analytics/.env.sample

@@ -19,14 +19,5 @@ SNS_AWS_REGION=
 SQS_QUEUE_URL=
 SQS_QUEUE_URL=
 SQS_AWS_REGION=
 SQS_AWS_REGION=
 
 
-# (Optional) New Relic Setup
-NEW_RELIC_ENABLED=false
-NEW_RELIC_APP_NAME=Analytics
-NEW_RELIC_LICENSE_KEY=
-NEW_RELIC_NO_CONFIG_FILE=true
-NEW_RELIC_DISTRIBUTED_TRACING_ENABLED=false
-NEW_RELIC_LOG_ENABLED=false
-NEW_RELIC_LOG_LEVEL=info
-
 # (Optional) Mixpanel
 # (Optional) Mixpanel
 MIXPANEL_TOKEN=
 MIXPANEL_TOKEN=

+ 0 - 5
packages/analytics/package.json

@@ -55,10 +55,5 @@
     "reflect-metadata": "^0.1.13",
     "reflect-metadata": "^0.1.13",
     "typeorm": "^0.3.17",
     "typeorm": "^0.3.17",
     "winston": "^3.8.1"
     "winston": "^3.8.1"
-  },
-  "optionalDependencies": {
-    "@newrelic/winston-enricher": "^4.0.1",
-    "@types/newrelic": "^9.14.0",
-    "newrelic": "^11.0.0"
   }
   }
 }
 }

+ 0 - 8
packages/analytics/src/Bootstrap/Container.ts

@@ -78,13 +78,6 @@ export class ContainerConfigLoader {
     container.bind(TYPES.Redis).toConstantValue(redis)
     container.bind(TYPES.Redis).toConstantValue(redis)
 
 
     const winstonFormatters = [winston.format.splat(), winston.format.json()]
     const winstonFormatters = [winston.format.splat(), winston.format.json()]
-    if (env.get('NEW_RELIC_ENABLED', true) === 'true') {
-      await import('newrelic')
-      // eslint-disable-next-line @typescript-eslint/no-var-requires
-      const newrelicFormatter = require('@newrelic/winston-enricher')
-      const newrelicWinstonFormatter = newrelicFormatter(winston)
-      winstonFormatters.push(newrelicWinstonFormatter())
-    }
 
 
     const logger = winston.createLogger({
     const logger = winston.createLogger({
       level: env.get('LOG_LEVEL', true) || 'info',
       level: env.get('LOG_LEVEL', true) || 'info',
@@ -129,7 +122,6 @@ export class ContainerConfigLoader {
     container.bind(TYPES.SNS_TOPIC_ARN).toConstantValue(env.get('SNS_TOPIC_ARN'))
     container.bind(TYPES.SNS_TOPIC_ARN).toConstantValue(env.get('SNS_TOPIC_ARN'))
     container.bind(TYPES.SNS_AWS_REGION).toConstantValue(env.get('SNS_AWS_REGION', true))
     container.bind(TYPES.SNS_AWS_REGION).toConstantValue(env.get('SNS_AWS_REGION', true))
     container.bind(TYPES.SQS_QUEUE_URL).toConstantValue(env.get('SQS_QUEUE_URL'))
     container.bind(TYPES.SQS_QUEUE_URL).toConstantValue(env.get('SQS_QUEUE_URL'))
-    container.bind(TYPES.NEW_RELIC_ENABLED).toConstantValue(env.get('NEW_RELIC_ENABLED', true))
     container.bind(TYPES.ADMIN_EMAILS).toConstantValue(env.get('ADMIN_EMAILS').split(','))
     container.bind(TYPES.ADMIN_EMAILS).toConstantValue(env.get('ADMIN_EMAILS').split(','))
     container.bind(TYPES.MIXPANEL_TOKEN).toConstantValue(env.get('MIXPANEL_TOKEN', true))
     container.bind(TYPES.MIXPANEL_TOKEN).toConstantValue(env.get('MIXPANEL_TOKEN', true))
 
 

+ 0 - 1
packages/analytics/src/Bootstrap/Types.ts

@@ -9,7 +9,6 @@ const TYPES = {
   SNS_AWS_REGION: Symbol.for('SNS_AWS_REGION'),
   SNS_AWS_REGION: Symbol.for('SNS_AWS_REGION'),
   SQS_QUEUE_URL: Symbol.for('SQS_QUEUE_URL'),
   SQS_QUEUE_URL: Symbol.for('SQS_QUEUE_URL'),
   SQS_AWS_REGION: Symbol.for('SQS_AWS_REGION'),
   SQS_AWS_REGION: Symbol.for('SQS_AWS_REGION'),
-  NEW_RELIC_ENABLED: Symbol.for('NEW_RELIC_ENABLED'),
   ADMIN_EMAILS: Symbol.for('ADMIN_EMAILS'),
   ADMIN_EMAILS: Symbol.for('ADMIN_EMAILS'),
   MIXPANEL_TOKEN: Symbol.for('MIXPANEL_TOKEN'),
   MIXPANEL_TOKEN: Symbol.for('MIXPANEL_TOKEN'),
   // Repositories
   // Repositories

+ 0 - 9
packages/api-gateway/.env.sample

@@ -17,15 +17,6 @@ HTTP_CALL_TIMEOUT=60000
 
 
 AUTH_JWT_SECRET=auth_jwt_secret
 AUTH_JWT_SECRET=auth_jwt_secret
 
 
-# (Optional) New Relic Setup
-NEW_RELIC_ENABLED=false
-NEW_RELIC_APP_NAME=API Gateway
-NEW_RELIC_LICENSE_KEY=
-NEW_RELIC_NO_CONFIG_FILE=true
-NEW_RELIC_DISTRIBUTED_TRACING_ENABLED=false
-NEW_RELIC_LOG_ENABLED=false
-NEW_RELIC_LOG_LEVEL=info
-
 CACHE_TYPE=redis
 CACHE_TYPE=redis
 REDIS_URL=redis://cache
 REDIS_URL=redis://cache
 
 

+ 0 - 5
packages/api-gateway/package.json

@@ -61,10 +61,5 @@
     "prettier": "^3.0.3",
     "prettier": "^3.0.3",
     "ts-jest": "^29.1.0",
     "ts-jest": "^29.1.0",
     "typescript": "^5.0.4"
     "typescript": "^5.0.4"
-  },
-  "optionalDependencies": {
-    "@newrelic/winston-enricher": "^4.0.1",
-    "@types/newrelic": "^9.14.0",
-    "newrelic": "^11.0.0"
   }
   }
 }
 }

+ 0 - 7
packages/api-gateway/src/Bootstrap/Container.ts

@@ -44,13 +44,6 @@ export class ContainerConfigLoader {
       .toConstantValue(isConfiguredForHomeServerOrSelfHosting)
       .toConstantValue(isConfiguredForHomeServerOrSelfHosting)
 
 
     const winstonFormatters = [winston.format.splat(), winston.format.json()]
     const winstonFormatters = [winston.format.splat(), winston.format.json()]
-    if (env.get('NEW_RELIC_ENABLED', true) === 'true') {
-      await import('newrelic')
-      // eslint-disable-next-line @typescript-eslint/no-var-requires
-      const newrelicFormatter = require('@newrelic/winston-enricher')
-      const newrelicWinstonFormatter = newrelicFormatter(winston)
-      winstonFormatters.push(newrelicWinstonFormatter())
-    }
 
 
     let logger: winston.Logger
     let logger: winston.Logger
     if (configuration?.logger) {
     if (configuration?.logger) {

+ 0 - 9
packages/auth/.env.sample

@@ -45,15 +45,6 @@ SQS_AWS_REGION=
 
 
 SYNCING_SERVER_URL=http://syncing-server-js:3000
 SYNCING_SERVER_URL=http://syncing-server-js:3000
 
 
-# (Optional) New Relic Setup
-NEW_RELIC_ENABLED=false
-NEW_RELIC_APP_NAME=Auth
-NEW_RELIC_LICENSE_KEY=
-NEW_RELIC_NO_CONFIG_FILE=true
-NEW_RELIC_DISTRIBUTED_TRACING_ENABLED=false
-NEW_RELIC_LOG_ENABLED=false
-NEW_RELIC_LOG_LEVEL=info
-
 # (Optional) User Server
 # (Optional) User Server
 USER_SERVER_REGISTRATION_URL=
 USER_SERVER_REGISTRATION_URL=
 USER_SERVER_CHANGE_EMAIL_URL=
 USER_SERVER_CHANGE_EMAIL_URL=

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff