update include timings
This commit is contained in:
@@ -121,6 +121,9 @@ pub async fn fetch_and_run(
|
||||
cert_expiry_days: None,
|
||||
cert_issuer: None,
|
||||
response_size: None,
|
||||
dns_ms: None,
|
||||
tcp_ms: None,
|
||||
tls_ms: None,
|
||||
meta: None,
|
||||
region: Some(region_owned.to_string()),
|
||||
run_id: Some(run_id_owned.clone()),
|
||||
@@ -198,6 +201,9 @@ async fn run_check(monitor: &Monitor, scheduled_at: Option<String>, region: &str
|
||||
cert_expiry_days: None,
|
||||
cert_issuer: None,
|
||||
response_size: None,
|
||||
dns_ms: None,
|
||||
tcp_ms: None,
|
||||
tls_ms: None,
|
||||
meta: None,
|
||||
region: Some(region.to_string()),
|
||||
run_id: Some(run_id.to_string()),
|
||||
@@ -216,6 +222,9 @@ async fn run_check(monitor: &Monitor, scheduled_at: Option<String>, region: &str
|
||||
cert_expiry_days: None,
|
||||
cert_issuer: None,
|
||||
response_size: None,
|
||||
dns_ms: None,
|
||||
tcp_ms: None,
|
||||
tls_ms: None,
|
||||
meta: None,
|
||||
region: Some(region.to_string()),
|
||||
run_id: Some(run_id.to_string()),
|
||||
@@ -267,6 +276,9 @@ async fn run_check(monitor: &Monitor, scheduled_at: Option<String>, region: &str
|
||||
cert_expiry_days: cr.cert_expiry_days,
|
||||
cert_issuer: cr.cert_issuer,
|
||||
response_size: Some(cr.body.len()),
|
||||
dns_ms: Some(cr.dns_ms),
|
||||
tcp_ms: Some(cr.tcp_ms),
|
||||
tls_ms: Some(cr.tls_ms),
|
||||
meta: Some(meta),
|
||||
region: Some(region.to_string()),
|
||||
run_id: Some(run_id.to_string()),
|
||||
|
||||
@@ -51,6 +51,9 @@ pub struct PingResult {
|
||||
pub cert_expiry_days: Option<i64>,
|
||||
pub cert_issuer: Option<String>,
|
||||
pub response_size: Option<usize>,
|
||||
pub dns_ms: Option<u64>,
|
||||
pub tcp_ms: Option<u64>,
|
||||
pub tls_ms: Option<u64>,
|
||||
pub meta: Option<Value>,
|
||||
pub region: Option<String>,
|
||||
pub run_id: Option<String>,
|
||||
|
||||
Reference in New Issue
Block a user