### Summary Since the new Monitor update, it’s no longer possible to retrieve the **uptime percentage value** using the SDK. ### Steps to Reproduce 1. Call the uptime check summary: ```php $uptime_check = $ohdear->checkSummary(<site_id>, CheckType::Uptime); ``` **Result:** ``` OhDear\PhpSdk\Dto\CheckSummary { +result: "succeeded" +summary: null } ``` 2. Call the performance check summary: ```php $performance_check = $ohdear->checkSummary(<site_id>, CheckType::Performance); ``` **Result:** ``` OhDear\PhpSdk\Dto\CheckSummary { +result: "succeeded" +summary: null } ``` 3. Try to fetch uptime percentage from metrics: - `$ohdear->httpUptimeMetrics` → only returns **latency**, uptime percentage is missing - `$ohdear->tcpUptimeMetrics` and `$ohdear->pingUptimeMetrics` → always return **0** values, even with different `UptimeMetricsSplit` values and date ranges Example: ```php $uptimes = collect($ohdear->pingUptimeMetrics( <site_id>, now()->subDays($days)->format('Y-m-d H:i:s'), now()->format('Y-m-d H:i:s'), UptimeMetricsSplit::Day, )); ``` **Result:** empty data set (all values are 0) <img width="1048" height="1340" alt="Image" src="https://github.com/user-attachments/assets/1fc23809-0753-4882-9de6-7b9c6de61678" /> ### Expected Behavior - `checkSummary` should return the uptime/performance summary (including uptime percentage) - Metrics endpoints (`httpUptimeMetrics`, `tcpUptimeMetrics`, `pingUptimeMetrics`) should provide actual uptime percentage values ### Actual Behavior - `checkSummary` always returns `summary: null` - Metrics endpoints do not return uptime percentage (or return only zeros)
Summary
Since the new Monitor update, it’s no longer possible to retrieve the uptime percentage value using the SDK.
Steps to Reproduce
Call the uptime check summary:
Result:
Call the performance check summary:
Result:
Try to fetch uptime percentage from metrics:
$ohdear->httpUptimeMetrics→ only returns latency, uptime percentage is missing$ohdear->tcpUptimeMetricsand$ohdear->pingUptimeMetrics→ always return 0 values, even with differentUptimeMetricsSplitvalues and date rangesExample:
Result: empty data set (all values are 0)
Expected Behavior
checkSummaryshould return the uptime/performance summary (including uptime percentage)httpUptimeMetrics,tcpUptimeMetrics,pingUptimeMetrics) should provide actual uptime percentage valuesActual Behavior
checkSummaryalways returnssummary: null