Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(tracing): remove broken span message search from filter bar (#69734)

Frank Hamand349ea3c900ec
diff --git a/frontend/src/lib/components/TaxonomicFilter/taxonomicFilterLogic.tsx b/frontend/src/lib/components/TaxonomicFilter/taxonomicFilterLogic.tsx
index 42f528450862..e8ad385a5f48 100644
--- a/frontend/src/lib/components/TaxonomicFilter/taxonomicFilterLogic.tsx
+++ b/frontend/src/lib/components/TaxonomicFilter/taxonomicFilterLogic.tsx
@@ -1093,19 +1093,6 @@ export const taxonomicFilterLogic = kea<taxonomicFilterLogicType>([
...endpointFilters,
}).url
: undefined,
- localItemsSearch: (items: any[], q: string): any[] => {
- if (!q) {
- return items
- }
- return [
- {
- key: 'message',
- name: 'Search span message for "' + q + '"',
- value: q,
- propertyFilterType: 'span',
- },
- ].concat(items.filter((item) => item.name?.toLowerCase().includes(q.toLowerCase())))
- },
getName: (option: { key: string; name: string }) => option.name,
getValue: (option: { key: string; name: string }) => option.key,
getPopoverHeader: () => 'Span attributes',
diff --git a/frontend/src/lib/components/TaxonomicFilter/utils/buildTaxonomicGroups.tsx b/frontend/src/lib/components/TaxonomicFilter/utils/buildTaxonomicGroups.tsx
index daac27cb9d44..fa96037c790a 100644
--- a/frontend/src/lib/components/TaxonomicFilter/utils/buildTaxonomicGroups.tsx
+++ b/frontend/src/lib/components/TaxonomicFilter/utils/buildTaxonomicGroups.tsx
@@ -599,19 +599,6 @@ export function buildTaxonomicGroups(ctx: BuildTaxonomicGroupsContext): Taxonomi
...endpointFilters,
}).url
: undefined,
- localItemsSearch: (items: any[], q: string): any[] => {
- if (!q) {
- return items
- }
- return [
- {
- key: 'message',
- name: 'Search span message for "' + q + '"',
- value: q,
- propertyFilterType: 'span',
- },
- ].concat(items.filter((item) => item.name?.toLowerCase().includes(q.toLowerCase())))
- },
getName: (option: { key: string; name: string }) => option.name,
getValue: (option: { key: string; name: string }) => option.key,
getPopoverHeader: () => 'Span attributes',