Skip to content

Commit

Permalink
Revert telemetry changes to obs app
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenlouv committed Nov 19, 2020
1 parent 5330cd3 commit c1f55f5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions x-pack/plugins/observability/public/pages/landing/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const EuiCardWithoutPadding = styled(EuiCard)`
`;

export function LandingPage() {
useTrackPageview({ app: 'observability-overview', path: 'landing' });
useTrackPageview({ app: 'observability-overview', path: 'landing', delay: 15000 });
useTrackPageview({ app: 'observability', path: 'landing' });
useTrackPageview({ app: 'observability', path: 'landing', delay: 15000 });

const { core } = usePluginContext();
const theme = useContext(ThemeContext);
Expand Down
4 changes: 2 additions & 2 deletions x-pack/plugins/observability/public/pages/overview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ export function OverviewPage({ routeParams }: Props) {
end: getAbsoluteTime(relativeTime.end, { roundUp: true }) as number,
};

useTrackPageview({ app: 'observability-overview', path: 'overview' });
useTrackPageview({ app: 'observability-overview', path: 'overview', delay: 15000 });
useTrackPageview({ app: 'observability', path: 'overview' });
useTrackPageview({ app: 'observability', path: 'overview', delay: 15000 });

const { data: alerts = [], status: alertStatus } = useFetcher(() => {
return getObservabilityAlerts({ core });
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/observability/typings/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export type ObservabilityApp =
| 'infra_logs'
| 'apm'
| 'uptime'
| 'observability-overview'
| 'observability'
| 'stack_monitoring'
| 'ux';

Expand Down

0 comments on commit c1f55f5

Please sign in to comment.