Skip to content

Server Statistics Data DTO

Represents one statistics record returned by the Traccar /statistics endpoint.

php
$first = Server::statistics($from, $to);

captureTimeCarbonImmutable

ISO 8601 timestamp when the snapshot was captured.

activeUsersinteger

Number of active users.

activeDevicesinteger

Number of active devices.

requestsinteger

Number of HTTP requests processed.

messagesReceivedinteger

Number of messages received from devices.

messagesStoredinteger

Number of messages stored after processing.

Released under the MIT License.