How to use Tags

Tags belong to Sessions, but can be assigned in multiple ways.

On init()

Passing tags into the init function will assign these tags to the Session

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


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'])


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

agentops.add_tags(['appended tag'])

Sorting by tags


  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