diff --git a/App/FeatureSet/Docs/Content/monitor/synthetic-monitor.md b/App/FeatureSet/Docs/Content/monitor/synthetic-monitor.md index 375706d968..9bb133d491 100644 --- a/App/FeatureSet/Docs/Content/monitor/synthetic-monitor.md +++ b/App/FeatureSet/Docs/Content/monitor/synthetic-monitor.md @@ -30,6 +30,9 @@ screenshots['screenshot-name'] = await page.screenshot(); // you can save multip // when you want to return a value, use return statement with data as a prop. You can also add screenshots in the screenshots array. +// To log data, use console.log +// console.log('Hello World'); + return { data: 'Hello World', screenshots: screenshots diff --git a/Dashboard/src/Components/Form/Monitor/MonitorStep.tsx b/Dashboard/src/Components/Form/Monitor/MonitorStep.tsx index fbb334c6aa..a25dd5cbae 100644 --- a/Dashboard/src/Components/Form/Monitor/MonitorStep.tsx +++ b/Dashboard/src/Components/Form/Monitor/MonitorStep.tsx @@ -233,6 +233,9 @@ const MonitorStepElement: FunctionComponent = ( screenshots['screenshot-name'] = await page.screenshot(); // you can save multiple screenshots and have them with different names. + // To log data, use console.log + console.log('Hello World'); + // when you want to return a value, use return statement with data as a prop. You can also add screenshots in the screenshots array. return { diff --git a/Dashboard/src/Components/Monitor/MonitorTable.tsx b/Dashboard/src/Components/Monitor/MonitorTable.tsx index 982d0a9dc0..19961a053a 100644 --- a/Dashboard/src/Components/Monitor/MonitorTable.tsx +++ b/Dashboard/src/Components/Monitor/MonitorTable.tsx @@ -303,6 +303,7 @@ const MonitorsTable: FunctionComponent = ( interval = interval.filter((option: DropdownOption) => { return ( option.value !== "* * * * *" && + option.value !== "*/2 * * * *" && option.value !== "*/5 * * * *" && option.value !== "*/10 * * * *" );