Feedback
Feedback

If you are having issues with the exercises, please create a ticket on DevZone: devzone.nordicsemi.com
Drag & Drop Files, Choose Files to Upload You can upload up to 2 files.

The anatomy of the device timeline

Every device has a timeline: a chronological view of everything that one device has reported, including software versions, reboots, crashes, metrics, and logs. This is where you go when you already know which device you care about. Usually that’s because a customer report pointed you at it, or because a fleet-wide chart showed an anomaly and you’re drilling in to find the devices behind it.

Finding a device

Open Fleet → Devices and click a device’s serial number. The top of the device page shows its details: hardware version, last reported software version, and when it first and last contacted nRF Cloud. You can also add a nickname and notes, which is a handy place to record what you found during a debugging session.

Below the details, open the Timeline tab.

Device Timeline view for a buggy device

What’s on the timeline

The timeline lays out each kind of data in its own row, all on the same time axis:

  • Software version: which version the device was running over time, so you can see exactly when an OTA update landed.
  • Reboots: each reboot and its reason, such as a watchdog reset or a user-initiated restart.
  • Traces: each crash or fault the device reported. Click one to open the trace details covered in Traces and issues.
  • Metrics: readings from each heartbeat, plotted over time. Click a sample to inspect the full heartbeat it came from.
  • Logs: logs the device uploaded on their own, outside of a crash.
  • Custom Data Recordings: your own debugging data, covered below.

Organizing metrics

A device can report dozens of metrics, so nRF Cloud gives you a few ways to keep the timeline readable:

  • Tags group related metrics into panels. For example, tag your battery metrics battery and your memory metrics memory, and the timeline shows one panel for each. A metric with several tags appears in each matching panel.
  • Descriptions appear when you hover over a metric, so teammates know what a value means without looking up the code.
  • Pinned metrics let you mark the metrics your team cares about most. Click Show only Pinned Metrics on any timeline to hide the rest.

You set all three in the project’s metric settings.

Timestamps

Where an event lands on the timeline depends on its timestamp. By default, nRF Cloud uses the time it received the data. That works well for devices that upload often. A device that stores data offline and uploads it in batches, though, will show everything bunched up at the upload time.

Devices with a reliable clock, for example, one synced from a phone, cellular network, or GNSS, can record the time each event was captured instead. This places reboots, traces, and heartbeats where they happened, which is what makes it possible to line them up against each other.

Custom Data Recordings

The timeline isn’t limited to nRF Cloud’s own data. If your device already captures other debugging data in a custom format, you can upload it as a Custom Data Recording (CDR). Examples include:

  • proprietary trace data or logs
  • a screenshot of the device’s display at the moment of a crash
  • test reports from a hardware-in-the-loop setup

CDRs can be uploaded from the device through the SDK, or from elsewhere through the REST API. Each CDR carries some metadata:

  • Reason: a short label for why the CDR was sent, such as Modem Disconnect or User Feedback Post Crash. A project can have up to 100 distinct reasons, so treat the reason like an enum with a small, fixed set of values.
  • MIME types: one or more types describing the contents, ordered from most to least specific. End the list with a generic type such as application/octet-stream, so nRF Cloud and your team can always tell what the file is.
  • Duration: how much time the recording covers. This can be zero for a snapshot.
  • Start time: when the capture began. This is optional and defaults to the upload time minus the duration.

Each distinct reason gets its own row on the timeline. Click or hover over a CDR to see its metadata and download the data. Because CDRs sit on the same time axis as metrics, reboots, and crashes, you can correlate your own data with everything else in one view instead of switching between tools.

Nordic cellular devices can upload Modem Trace records automatically, when a crash occurs. See the documentation here for details.

Reading a timeline

The value of the timeline comes from reading rows against each other. A typical pass through a misbehaving device looks like this:

  1. Start at the software version row. Did the problem start right after an update?
  2. Look for reboots or traces clustered around the time the problem was reported.
  3. Check whether any metrics shift at the same time. For example, a steep drop in battery that lines up with a spike in Bluetooth disconnects and failed syncs points to a connectivity problem draining power.
  4. Open the trace or CDR closest to the event for the detail.

You’ll practice this in Device Vitals and device search, where you correlate failed syncs with crashes on a real device in the sandbox.

Switch language?

Progress is tracked separately for each language. Switching will continue from your progress in that language or start fresh if you haven't begun.

Your current progress is saved, and you can switch back anytime.

Register an account
Already have an account? Log in
(All fields are required unless specified optional)

  • 8 or more characters
  • Upper and lower case letters
  • At least one number or special character

Forgot your password?
Enter the email associated with your account, and we will send you a link to reset your password.