For the complete documentation index, see llms.txt. This page is also available as Markdown.

Custom Spans

Custom spans for APM in KMP (if supported by native SDK).

The KMP APM module exposes flows and UI traces for custom timing:

  • Flows: APMKmp.startFlow(name), APMKmp.endFlow(name), APMKmp.setFlowAttribute(name, key, value)

  • UI traces: APMKmp.startUITrace(name), APMKmp.endUITrace()

Use these to represent custom operations or user journeys. For lower-level “span” APIs (e.g. custom duration spans), behavior depends on the native Luciq SDK. If the native Android or iOS SDK supports custom spans, they may be available only from platform-specific code; the KMP API surface is focused on flows and UI traces. Check the Luciq Android and Luciq iOS docs for native span APIs.

Last updated