Skip to content

Commit 9f11ee4

Browse files
committed
Updating Monitor/GetMonitoringDataService.php code example to limit to 2,000 records
1 parent c57d199 commit 9f11ee4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Services/Examples/Monitor/GetMonitoringDataService.php

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public static function getMonitoringData(MonitorApiClientService $clientService)
2727
$cursor = "";
2828
$complete = false;
2929
$options = new GetStreamOptions();
30+
$options->setLimit(2000);
3031
$monitoringLogs = array();
3132

3233
// First call the endpoint with no cursor to get the first records.

0 commit comments

Comments
 (0)