> For the complete documentation index, see [llms.txt](https://docs.racemap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.racemap.com/gps-devices/debugging/connection-chart.md). Agents can also search and read this documentation through its [MCP server](https://docs.racemap.com/~gitbook/mcp).

# Connection Chart

Timeline of a GPS tracker's delay, battery, network and messages.

When a tracker drops out during an event, delivers its locations late, or runs out of battery, the Connection Chart is the first place to investigate. It shows one tracker's connection and communication over time, so you see exactly what happened and when.

<figure><img src="https://1672210197-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSRNxaH2Ju9Flr7JhJD%2Fuploads%2Fgit-blob-a713c482f235a99549834afb965b734777b2363a%2Fconnection-chart.png?alt=media" alt=""><figcaption><p>Delay dots coloured by delay class, battery in blue, network lane and message lane below</p></figcaption></figure>

## Open the chart

* **From tracker management:** the chart icon next to the connection status opens the chart of that tracker in a new tab.
* **Tracker field:** type an IMEI or App ID in the toolbar to switch trackers. The time range and all settings stay.
* **By URL:** see [URL syntax](#url-syntax).

Without a time range, the chart shows the last 24 hours: following the tracker live while it is online, or up to its last disconnect once it is offline.

{% hint style="info" %}
**Try it without a tracker:** the [demo chart](https://racemap.com/demo/connection-chart) replays three days of a real tracker with a Racemap SIM, live and without login. It switches cells and connections often, sends buffered locations late, drains its battery, goes silent for half a day when it is nearly empty, and receives config messages. Locations and cells are anonymised. Every control works on it.
{% endhint %}

<figure><img src="https://1672210197-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSRNxaH2Ju9Flr7JhJD%2Fuploads%2Fgit-blob-862c5aed212d437fa8e0de1b782d9f550e87803b%2Fconnection-chart-tracker-management.png?alt=media" alt=""><figcaption><p>The chart icon in the CON column of tracker management opens the Connection Chart of that tracker</p></figcaption></figure>

## Toolbar

<figure><img src="https://1672210197-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSRNxaH2Ju9Flr7JhJD%2Fuploads%2Fgit-blob-250640fc2975c819bc02e76c23ca37a134a9138f%2Fconnection-chart-toolbar.png?alt=media" alt=""><figcaption><p>Tracker field, time range, reload, series chips, *Events* dropdown and the statistics line</p></figcaption></figure>

* **Series:** the chips *Delay*, *Battery*, *Network* and *Messages* switch each series on or off. A highlighted chip is visible in the chart.
* **Connection status, notifications and alerts:** the *Events* dropdown lists connection status changes (*Online*, *Offline*, *Heartbeat*, *Reboot*, *Device info*), notifications (*Movement*, *No movement*, *Low battery*, *Power off*) and alerts (*SOS*, *Crash*). Tick the ones you want as markers in the chart. The number on the button counts the ticked entries; the search field narrows a long list.
* **Time range:** Pick a quick range such as *Last 6 hours*, type an absolute range, or choose days in the calendar. The arrows next to the range move the window back or forward by its own length, so you can walk through an event hour by hour; the magnifier doubles the window. A quick range stays relative: with auto refresh on, the window keeps following a live tracker. Your last five absolute ranges are listed under *Recently used ranges*.
* **Copy and paste a time range:** Use the copy and paste buttons in the time range panel to carry a window into another browser tab, e.g. to compare two trackers over the same period. The format is the one Grafana uses, so ranges copied from a Grafana dashboard paste here too, and the other way round.
* **Time zone:** All times in the chart — axis, crosshair and tooltips — follow the zone chosen in the time range panel: UTC (the default, as in tracker logs), your browser's time, or the tracker's location.
* **Reload and auto refresh:** Press the reload button to refetch the window, or pick an interval (30 s, 1 m, 5 m, 15 m) to keep it up to date while you wait for a tracker to report. The label next to it says how old the shown data is. Polling pauses while the browser tab is hidden and resumes when you come back. A reload replaces only the data — your zoom, the statistics panel and the selected series stay as they are.
* **Download:** the icons at the top right of the chart save the locations of the window as CSV (`lng;lat;elv;time;receivedAt`) or the chart as an image.

## Statistics

The line above the chart sums up the window: the number of locations, the average interval between them, the share of the window lost to gaps, and the share of locations per delay class.

<figure><img src="https://1672210197-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSRNxaH2Ju9Flr7JhJD%2Fuploads%2Fgit-blob-169429af67a9c56b4c8f317a73c08e98adc8f21f%2Fconnection-chart-statistics.png?alt=media" alt=""><figcaption><p>The expanded statistics with the outage duration and the delay classes</p></figcaption></figure>

Click the line to expand the table:

* **Window:** length of the selected time range.
* **Coordinates** and **Interval:** number of locations and the average time between them.
* **Gaps over … s:** total time between consecutive locations that lie further apart than the outage duration. The default is 120 s. Raise it for a tracker with a long interval, so its regular pauses do not count as gaps.
* **Delay:** a bar and a count per class: under 10 s, 10–60 s, 1–5 min and over 5 min.

## Delay and battery

* **Delay:** The y-axis displays how many seconds elapsed between a location being recorded by the tracker (and possibly stored in its memory) and received by RACEMAP.
* **Battery history:** A second y-axis shows the battery level over time, helping you to identify power drain patterns and optimise power consumption.

Drag the sliders under and beside the chart to zoom into time or values.

## Network lane

<figure><img src="https://1672210197-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSRNxaH2Ju9Flr7JhJD%2Fuploads%2Fgit-blob-945bf24fefab3b9a3d5d4ac699cc89aecb07c506%2Fconnection-chart-network.png?alt=media" alt=""><figcaption><p>Hover a cell block for operator, radio type, cell IDs, country and how long the tracker stayed in that cell</p></figcaption></figure>

Each block is one mobile cell. Its label names the operator and the radio type (GSM, 3G, LTE or 5G). Each operator keeps one colour across the window, so a change of colour is a change of operator.

Hover a block for the operator, the radio type, the country, and when the tracker entered and left that cell including the duration. The raw Cell ID, Mobile Country Code (MCC), Mobile Network Code (MNC) and Location Area Code (LAC) follow below, for support cases with the network operator.

Operator and country come from the MCC/MNC pair, so they are named even for a cell our cell database does not know. Such a cell has no location on the map, but it still says which network the tracker was on.

* **Solid block:** the tracker measured this cell.
* **Lighter block with a dashed border:** our M2M SIM card was connected but reported no cell.
* **Empty stretch:** nothing is known about the connection. Blocks are drawn only where there is evidence for reception.
* **Square edge at the chart border:** the block continues beyond the visible window. Zoom out or widen the time range to see all of it.

The network lane is available for trackers running with our [M2M SIM cards](https://go.racemap.com/gps-tracker#sim-subscription). For other trackers the *Network* chip is locked.

## Message lane

<figure><img src="https://1672210197-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSRNxaH2Ju9Flr7JhJD%2Fuploads%2Fgit-blob-4eed6fb084b51d192fad8688c2679e80e1b97103%2Fconnection-chart-messages.png?alt=media" alt=""><figcaption><p>A pinned command: three attempts, then the tracker acknowledged it</p></figcaption></figure>

Switch on the *Messages* chip to see the commands sent to the tracker, one bar per command, over TCP or SMS.

* A bar starts when the command was sent and ends when the tracker answered, so its length is the round-trip time.
* A solid line runs from the last attempt to the answer.
* A dotted line with a tick per retry covers earlier attempts that went unanswered.
* A dashed line means the command is still waiting, up to its deadline.
* A ✕ marks an error, a hollow dot a command that was never sent.

For SMS the bar ends at the network's delivery receipt: a delivered SMS is not an answer from the tracker.

Hover a bar for the command, its state at that moment and the round-trip time. Click it to pin the details: the raw payload with a copy button and the full timeline. Overlapping commands stack in up to three rows; `+n` counts the ones hidden in the last row.

## URL syntax

Every setting of the chart is part of its URL, so a link shows the same view to a colleague.

{% hint style="success" %}
**syntax** `https://racemap.com/admin/connection-chart/<appId>?from=2023-11-14T12:30:00.000Z&to=2023-11-14T16:30:00.000Z&timezone=utc&refresh=1m`

relative: `?from=now-6h&to=now` shows the last 6 hours and moves with auto refresh. `timezone` is `utc`, `browser` or a zone name such as `Europe/Berlin`. `messages=true` switches the message lane on.

sample (demo tracker, no login): <https://racemap.com/demo/connection-chart?from=now-6h&to=now&refresh=1m&events=ONLINE&messages=true>

Older links with `startDate` and `endDate` still open the same window, and so do links to `/admin/track/<appId>`.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.racemap.com/gps-devices/debugging/connection-chart.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
