diff --git a/plugins/dynatrace/src/components/DynatraceTab/DynatraceTab.tsx b/plugins/dynatrace/src/components/DynatraceTab/DynatraceTab.tsx index 1be005908f..3e137f4109 100644 --- a/plugins/dynatrace/src/components/DynatraceTab/DynatraceTab.tsx +++ b/plugins/dynatrace/src/components/DynatraceTab/DynatraceTab.tsx @@ -56,16 +56,19 @@ export const DynatraceTab = () => { dynatraceBaseUrl={dynatraceBaseUrl} /> - {syntheticsIds ? ( - - - - ) : ( - <> - )} + {syntheticsIds + .replace(' ', '') + .split(',') + .map(id => { + return ( + + + + ); + })} diff --git a/plugins/dynatrace/src/components/Synthetics/SyntheticsCard/SyntheticsCard.tsx b/plugins/dynatrace/src/components/Synthetics/SyntheticsCard/SyntheticsCard.tsx index 3a77db3d50..1b73e51313 100644 --- a/plugins/dynatrace/src/components/Synthetics/SyntheticsCard/SyntheticsCard.tsx +++ b/plugins/dynatrace/src/components/Synthetics/SyntheticsCard/SyntheticsCard.tsx @@ -56,6 +56,7 @@ export const SyntheticsCard = (props: SyntheticsCardProps) => { const deepLinkPrefix = dynatraceMonitorPrefixes( `${syntheticsId.match(/(.+)-/)![1]}`, ); + const lastFailed = value?.locationsExecutionResults.map(l => { return { timestamp: l.requestResults[0].startTimestamp, @@ -68,7 +69,7 @@ export const SyntheticsCard = (props: SyntheticsCardProps) => { title="Synthetics" subheader={`Recent Activity for Monitor ${syntheticsId}`} deepLink={{ - title: 'View Synthetics in Dynatrace', + title: 'View this Synthetic in Dynatrace', link: `${dynatraceBaseUrl}/${deepLinkPrefix}/${syntheticsId}`, }} >