Browse Source

ref: add more platforms to backend category in `platformCategories.tsx` (#61781)

see also https://github.com/getsentry/sentry/pull/61780
Michelle Zhang 1 year ago
parent
commit
96c56f87b3
2 changed files with 6 additions and 1 deletions
  1. 5 0
      static/app/data/platformCategories.tsx
  2. 1 1
      static/app/views/performance/utils.tsx

+ 5 - 0
static/app/data/platformCategories.tsx

@@ -61,7 +61,12 @@ export const backend: PlatformKey[] = [
   'dotnet-aspnet',
   'elixir',
   'go',
+  'go-echo',
+  'go-fasthttp',
+  'go-gin',
   'go-http',
+  'go-iris',
+  'go-martini',
   'java',
   'java-appengine',
   'java-log4j',

+ 1 - 1
static/app/views/performance/utils.tsx

@@ -104,7 +104,7 @@ export enum ProjectPerformanceType {
 // backend, the default view should be "All Transactions".
 const FRONTEND_PLATFORMS: string[] = frontend.filter(
   platform =>
-    // Next, Remix and Sveltekit habe both, frontend and backend transactions.
+    // Next, Remix and Sveltekit have both, frontend and backend transactions.
     !['javascript-nextjs', 'javascript-remix', 'javascript-sveltekit'].includes(platform)
 );
 const BACKEND_PLATFORMS: string[] = backend.filter(platform => platform !== 'native');