User Tracking

Introduction

User tracking allows grouping and visualization of user-related traces, interactions, metrics, and costs. It also enables detection of user interaction outliers and other events.

Integration

See Quick Start guide on how to install and configure Graphsignal tracer.

Set user identifier as user tag for every request, e.g. in a request handler.

graphsignal.set_context_tag('user', user_id)

If you are running a single process per user and added Graphsignal at command line, you can set the user tag in an environment variable.

env GRAPHSIGNAL_TAGS="user=user_id" python -m graphsignal