Skip to content

Commit 1986052

Browse files
authored
chore(logs): Remove ourlogs-high-fidelity feature flag frontend (#104016)
This flag has been rolled out so time to remove it. Depends on #104017
1 parent 2c48c43 commit 1986052

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

static/app/views/explore/logs/logsAutoRefresh.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {LogsQueryParamsProvider} from 'sentry/views/explore/logs/logsQueryParams
1414

1515
describe('LogsAutoRefresh Integration Tests', () => {
1616
const {organization, project, routerConfig, setupPageFilters, setupEventsMock} =
17-
initializeLogsTest({orgFeatures: ['ourlogs-high-fidelity']});
17+
initializeLogsTest();
1818

1919
const testDate = new Date('2024-01-15T10:00:00.000Z');
2020
const {baseFixtures} = createLogFixtures(organization, project, testDate);

static/app/views/explore/logs/useLogsQuery.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -741,14 +741,11 @@ export function useInfiniteLogsQuery({
741741
export type UseInfiniteLogsQueryResult = ReturnType<typeof useInfiniteLogsQuery>;
742742

743743
export function useLogsQueryHighFidelity() {
744-
const organization = useOrganization();
745744
const sortBys = useQueryParamsSortBys();
746-
const highFidelity = organization.features.includes('ourlogs-high-fidelity');
747745

748746
// we can only turn on high accuracy flex time sampling when
749747
// the order by is exactly timestamp descending,
750748
return (
751-
highFidelity &&
752749
sortBys.length === 1 &&
753750
sortBys[0]?.field === 'timestamp' &&
754751
sortBys[0]?.kind === 'desc'

0 commit comments

Comments
 (0)