Skip to content

Commit

Permalink
ref(insights): remove outdated starfish.panel.open in favor of new an…
Browse files Browse the repository at this point in the history
…alytics (#71020)

Removes `starfish.panel.open` which we no longer use in favor of
`performance_views.sample_spans.opened`.
  • Loading branch information
KevinL10 committed May 16, 2024
1 parent 7acaa6f commit 2ead6c8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions static/app/utils/analytics/starfishAnalyticsEvents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export type StarfishEventParameters = {
'starfish.pageview': {
route: string;
};
'starfish.panel.open': {};
'starfish.request': {
duration: number;
statusCode?: string;
Expand Down Expand Up @@ -44,7 +43,6 @@ export type StarfishEventKey = keyof StarfishEventParameters;
export const starfishEventMap: Record<keyof StarfishEventParameters, string> = {
'starfish.chart.zoom': 'Starfish: Chart Zoomed',
'starfish.pageview': 'Starfish: Page Viewed',
'starfish.panel.open': 'Starfish: Slide Over Panel Opened',
'starfish.request': 'Starfish: API Request Completed',
'starfish.samples.loaded': 'Starfish: Samples Loaded',
'starfish.web_service_view.endpoint_list.endpoint.clicked':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ export function SpanSamplesPanel({

const onOpenDetailPanel = useCallback(() => {
if (query.transaction) {
trackAnalytics('starfish.panel.open', {organization});
trackAnalytics('performance_views.sample_spans.opened', {
organization,
source: moduleName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ export function SampleList({

const onOpenDetailPanel = useCallback(() => {
if (query.transaction) {
trackAnalytics('starfish.panel.open', {organization});
trackAnalytics('performance_views.sample_spans.opened', {
organization,
source: moduleName,
Expand Down

0 comments on commit 2ead6c8

Please sign in to comment.