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

Enable or Disable Fragment Capture

API reference for enabling or disabling fragment capture in Luciq APM. Fragments are not captured by default and must be opted into.

🚧 Capturing Fragments

Luciq does not capture fragments by default. In order to start capturing them, you'll need to follow the instructions mentioned here.

If your app is set up to capture fragments with Luciq, you can enable or disable this feature by using the API below, passing a Boolean variable to it:

//Enable
APM.setFragmentSpansEnabled(true)
//Disble
APM.setFragmentSpansEnabled(false)
//Enable
APM.setFragmentSpansEnabled(true)
//Disble
APM.setFragmentSpansEnabled(false)

Last updated