Overview

Fiddler offers the ability to segment your data based on a custom condition.

How do I construct a Segment?

Fiddler Segments are constructed using the Fiddler Query Language (FQL).

You can use any of the constants, operators, and functions mentioned in the page linked above in a Segment definition.

However, every Segment definition must return a boolean row-level expression.

That can look like

  • A condition on some column (e.g. age > 50)
  • A condition on some combination of columns (e.g. (age / max_age) < 1.0)

For details on all supported functions, see the FQL page linked above.

Adding a Segment

Note: To add a Segment using the Python client, see client.add_segment

From the Model page, you can access Segments by clicking the Segments tab at the top of the page.

Then click Add Segment to add a new Segment.

Finally, enter the Name, Description, and Definition for your Segment and click Save.

Accessing Segments in Charts and Alerts

After your Segment is saved, it can be selected from Charts and Alerts.

Charts:

Alerts:

Modifying Segments

Since alerts can be set on Segments, making modifications to a Segment may introduce inconsistencies in alerts.

Therefore, Segments cannot be modified once they are created.

If you'd like to try out a new Segment, you can create a new one with a different Definition.

Deleting Segments

Note: To delete a Segment using the Python client, see client.delete_segment

From the Segments tab, you can delete a Segment by clicking the trash icon next to the Segment of interest.