Tracking and Metrics
Overview
Usage
Basic Usage
from gyrinx.tracker import track
# Track a simple event
track("user_login")
# Track with count
track("api_call", n=5)
# Track with distribution value
track("response_time", value=123.45)Adding Context with Labels
Common Patterns
Feature Usage Tracking
Performance Metrics
User Events
Event Naming Conventions
Environment Detection
Querying Events in Google Cloud
Best Practices
Implementation Details
Future Considerations
Last updated