> For the complete documentation index, see [llms.txt](https://waypoint-scripts.gitbook.io/waypoint-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://waypoint-scripts.gitbook.io/waypoint-scripts/scripts/waypoint-ai-taxi/telemetry.md).

# Telemetry

Setup the Telemetry to track reliability of AI Taxi on your server.&#x20;

I've included telemetry in this script in case you want to measure the reliability in your server.

{% hint style="info" %}
**This is optional and does not effect any functionality**.&#x20;

It is purely added as a way to see how reliable the AI Taxi is able to complete the actions.
{% endhint %}

First you need to set `Config.RecordTelemetry = true` in the config.lua

Next create the table provided in `ai_taxi_telemetry.sql`

## Event Status:

* `started` = Scenario started after taxi is spawned and dispatched
* `success-destination` = The taxi reached the destination
* `success-early-exit`= The player exited the taxi before it reached the target destination
* `timedout` = The taxi likely got stuck and never reached the pickup location
* `abandonded-dead` - The taxi driver died
* `arrived-for-pickup` - A substep to track that the taxi reached the players pickup location
* `gps-set` - A substep to track that the player entered the taxi and set the GPS location

## **Calculate Success Rate**

Using the above metrics you can calculate the success rate of AI EMS on your server.

```
SuccessRate =
    (started - abandoned-dead) /
    (success-destination + success-early-exit)
```
