Browse Source

chore(database): Remove feature gate for query source feature (#62863)

It's been out for a while, this is fine.
George Gritsouk 1 year ago
parent
commit
248957a7a6
1 changed files with 17 additions and 20 deletions
  1. 17 20
      static/app/views/starfish/components/spanDescription.tsx

+ 17 - 20
static/app/views/starfish/components/spanDescription.tsx

@@ -1,7 +1,6 @@
 import {Fragment, useMemo} from 'react';
 import styled from '@emotion/styled';
 
-import Feature from 'sentry/components/acl/feature';
 import {CodeSnippet} from 'sentry/components/codeSnippet';
 import LoadingIndicator from 'sentry/components/loadingIndicator';
 import {space} from 'sentry/styles/space';
@@ -69,25 +68,23 @@ export function DatabaseSpanDescription({
         </CodeSnippet>
       )}
 
-      <Feature features={['organizations:performance-database-view-query-source']}>
-        {!areIndexedSpansLoading && !isRawSpanLoading && (
-          <Fragment>
-            {rawSpan?.data?.['code.filepath'] ? (
-              <StackTraceMiniFrame
-                projectId={indexedSpan?.project_id?.toString()}
-                eventId={indexedSpan?.['transaction.id']}
-                frame={{
-                  filename: rawSpan?.data?.['code.filepath'],
-                  lineNo: rawSpan?.data?.['code.lineno'],
-                  function: rawSpan?.data?.['code.function'],
-                }}
-              />
-            ) : (
-              <MissingFrame />
-            )}
-          </Fragment>
-        )}
-      </Feature>
+      {!areIndexedSpansLoading && !isRawSpanLoading && (
+        <Fragment>
+          {rawSpan?.data?.['code.filepath'] ? (
+            <StackTraceMiniFrame
+              projectId={indexedSpan?.project_id?.toString()}
+              eventId={indexedSpan?.['transaction.id']}
+              frame={{
+                filename: rawSpan?.data?.['code.filepath'],
+                lineNo: rawSpan?.data?.['code.lineno'],
+                function: rawSpan?.data?.['code.function'],
+              }}
+            />
+          ) : (
+            <MissingFrame />
+          )}
+        </Fragment>
+      )}
     </Frame>
   );
 }