LightStep handles end-to-end mobile-initiated transactions from the end-user button clicks down to database queries. LightStep is based on the OpenTracing open standard and specifically intended to work across heterogeneous system architectures.

Cardinality

LightStep’s architecture handles unlimited cardinality, which is particularly useful for mobile platforms where the number of unique devices, users, locations, and other important tag information can easily reach high orders of magnitude. To increase your confidence that LightStep will scale to meet the needs of your system’s traffic, see LightStep’s case study with Lyft.

Streams and Targeted Queries

Mobile use cases also lend themselves to setting up Streams for common segmentations such as device type, application version, and geographical region that may show different performance characteristics across segments. Check out the Explorer view for ways to use LightStep to identify important segmentations in your system performance.

Practical Guidance

Make sure to close/flush your spans when the app goes into the background, to prevent very long (and not very useful) span/trace data later. Leverage your existing telemetry mechanisms from the mobile device to carry span data.

For examples and information about tracers for mobile apps, see the Android and Objective-C Git repos.