Skip to content

Activity

Activity shows how the modules of the game run in the environment chosen in the header: how many calls they take, which fail and how, how long they take, and what each call logged.

Shows the last 10 000 calls of the environment and the numbers of the last 48 hours. The history of a player is kept whole.

Every call of a module function counts, whether it worked or not:

Who calledWhat it is
clientThe game client of a player.
serverYour game server.
operatorSomeone in the Dashboard: a function called on a player, a balance change, a ban, an unban, a rename, an unlink, a delete or a restore, and the erasure of a deleted player. Opening the card of a player is not a call.
eventA handler of an event, named <module>.<event>.
timerA handler of a timer, named after the timer.

Each call ends one way:

OutcomeMeaning
okIt worked.
error:<code>The function returned an error, such as error:insufficient, or Rudder refused the call before it ran, such as error:invalid_arguments or error:player_banned.
trapThe module failed: a panic, an invalid result, an operation it may not do.
over the time limitThe module ran longer than its time limit.
try againNothing changed and the game may send the call again.

A call that failed changed nothing, and it is in Activity all the same, with the lines it logged. A call carries no arguments and no result. A call of a module or function that does not exist is not counted.

Activity in the menu shows the last hour or the last 24 hours:

  • Calls / min, against the hour (or day) before;
  • Errors, the share of calls that did not end ok, against the period before, and the modules that fail most;
  • p95 and p50, how long 95 and 50 of 100 calls took at most;
  • Pending, the events and timers that wait for their run.

Below, a row per module: its calls per minute, errors, p50, p95, its top errors and what waits. Open a module to see its functions and its recent calls.

The Activity tab of a module lists its functions, who called each, its calls, its errors by outcome, p50 and p95, and a chart of the calls and errors of each minute.

Recent calls lists its last calls, newest first: the time, who called, the function, the player, the outcome, the milliseconds and the release. Filter by function, by errors only or by a player id. Open a call to read the lines it logged (what the module logged and printed, the first 4 KB of each call). Live adds new calls as they come.

The Timeline of a player puts the calls of that player that failed and changed nothing between the changes of its history, with the lines each logged, and the header of its card shows its last failed call. The history of changes is kept whole; failed calls go only as far back as the last 10 000 calls of the environment.

The module author reads the same calls in the terminal with the CLI.

Reading Activity is open to every role.