Skip to content

Commit

Permalink
fix: handle defaults for apm and aws (SigNoz#4678)
Browse files Browse the repository at this point in the history
  • Loading branch information
YounixM authored Mar 11, 2024
1 parent 4b40086 commit 666916f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,10 @@ export default function Onboarding(): JSX.Element {
}
} else if (selectedModule?.id === ModulesMap.APM) {
handleAPMSteps();
updateSelectedDataSource(defaultApplicationDataSource);

if (!selectedDataSource) {
updateSelectedDataSource(defaultApplicationDataSource);
}
}

// eslint-disable-next-line react-hooks/exhaustive-deps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ const supportedInfraMetrics = [
];

export const defaultAwsServices = {
name: 'EC2 - Application Logs',
name: 'EC2 - App/Server Logs',
id: 'awsEc2ApplicationLogs',
imgURL: `/Logos/ec2.svg`,
};
Expand Down

0 comments on commit 666916f

Please sign in to comment.