feat: add activity history, insights, and cat usage events
- Add activity history collection for cat usage events - Add insight metrics (total cycles, average cycles, cycles today) - Add cat usage events with weight for LR4 - Add intermediate state events (cycle started, cycle complete, etc.) - Add pet visits_24h metric from weight history - Add new LR4 metrics: lifetime_cycles, dfi_trigger_count, cat_detected - Add configurable activity lookback window to prevent duplicate events - Add API call delays to avoid rate limiting - Update default poll interval to 5 minutes - Update documentation with new metrics and events
This commit is contained in:
@@ -15,6 +15,10 @@ datadog:
|
||||
|
||||
# Collector settings
|
||||
collector:
|
||||
poll_interval_seconds: 120 # How often to collect metrics (default: 2 minutes)
|
||||
poll_interval_seconds: 300 # How often to collect metrics (default: 5 minutes)
|
||||
include_pets: true # Include pet profile metrics
|
||||
emit_events: true # Emit Datadog events for state changes
|
||||
collect_activity_history: true # Fetch activity history for cat usage events
|
||||
collect_insights: true # Fetch insight data (cycle counts, averages)
|
||||
api_call_delay_seconds: 1.0 # Delay between API calls to avoid rate limits
|
||||
activity_lookback_minutes: 10 # Only emit events for activities within this window
|
||||
|
||||
Reference in New Issue
Block a user