fix: handle defaults for apm and aws (#4678)

This commit is contained in:
Yunus M 2024-03-11 16:59:04 +05:30 committed by GitHub
parent 4b4008642d
commit 666916fae2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -223,7 +223,7 @@ const supportedInfraMetrics = [
];
export const defaultAwsServices = {
name: 'EC2 - Application Logs',
name: 'EC2 - App/Server Logs',
id: 'awsEc2ApplicationLogs',
imgURL: `/Logos/ec2.svg`,
};