How to use Tags

There are two types: tags and default tags.

Tags belong to Sessions and are a fantastic way to organize your Sessions. When a session is created, default_tags are automatically assigned to the session alongside any tags that are passed in.

On init()

Passing default_tags into the init function will assign these tags to the all subsequent Sessions.

agentops.init(default_tags=['test tag'])

set_tags([str])

This will override any existing tags on the session and set them to the value passed into the function.

agentops.set_tags(['test new tag'])

add_tags([str])

This will append an array of tags to the session’s existing tags.

agentops.add_tags(['appended tag'])

Sorting by tags

Overview

  1. Select the filter selector in the top bar
  2. Choose “Tags”
  3. Select the tag(s) to filter by

Session Drill-down

  1. Click the session selector button
  2. In the session selector, click “Tags”
  3. Choose what tags to search by