probe { name: "website_http" type: HTTP interval_msec: 60000 timeout_msec: 10000 targets { host_names: "pacparser.manugarg.com,articles.manugarg.com,pagenotes.app,pagenotes.manugarg.com,manugarg.com" } http_probe { protocol: HTTPS relative_url: "/" resolve_first: true } alert { name: "http_probe_failure" condition { failures: 2 total: 3 } notify { email { to: "manugarg@gmail.com" from: "alerts@manugarg.com" smtp_server: "smtp.gmail.com:587" smtp_username: '**$SMTP_USERNAME**' smtp_password: '**$SMTP_PASSWORD**' } } repeat_interval_sec: 1800 } } probe { name: "header_echo_starlark" type: STARLARK interval_msec: 60000 timeout_msec: 10000 targets { host_names: "httpbin.org" } starlark_probe { source_file: "/etc/cloudprober/starlark/header_echo.star" } } probe { name: "website_e2e" type: BROWSER interval_msec: 600000 timeout_msec: 60000 targets { host_names: "cloudprober.org" } browser_probe { test_spec: "cloudprober-site.spec.ts" test_dir: "/tests" retries: 1 save_screenshots_for_success: true save_trace: ALWAYS test_metrics_options { enable_step_metrics: true } } alert { name: "cloudprober_org_probe_failure" condition { failures: 2 total: 3 } notify { email { to: "manugarg@gmail.com" from: "alerts@manugarg.com" smtp_server: "smtp.gmail.com:587" smtp_username: '**$SMTP_USERNAME**' smtp_password: '**$SMTP_PASSWORD**' } } repeat_interval_sec: 1800 } } global_artifacts_options { serve_on_web: true storage { local_storage { dir: "/artifacts" cleanup_options { max_age_sec: 7200 # keep artifacts for 2 hours } } } }