Introduction

Datasets can be used as data collections. One way to add data to a dataset is by exporting spans from both traces and evaluation tracest.

To help you filter traces and export only relevant ones to datasets, you can add labels to spans. Laminar provides you with a UI for that. This page explains label types.

Span label types

Supported span label types are Boolean and Categorical.

Boolean

Boolean span can take a true or false value. This is useful if you want to tag spans with a binary label.

Categorical

Categorical labels can take one of the predefined values. One way to think about this is to consider the categorical label as a tag. For example, you can tag spans with positive, negative, or neutral sentiment.

Label spans

To label a span, first, open a trace and click on the span you want to label.

Then, click on the “Add Label” button in the top right corner. Here you can choose one of the existing labels or create a new one.