- 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
25 lines
1010 B
YAML
25 lines
1010 B
YAML
# Datacat Configuration Example
|
|
# Copy this file to config.yaml and update with your credentials
|
|
|
|
# Whisker/Litter Robot credentials
|
|
whisker:
|
|
username: "your-email@example.com"
|
|
password: "your-password"
|
|
|
|
# Datadog configuration
|
|
datadog:
|
|
api_key: "your-datadog-api-key"
|
|
app_key: "your-datadog-app-key" # Optional, required for some features
|
|
site: "datadoghq.com" # Use "datadoghq.eu" for EU region
|
|
metric_prefix: "litterrobot" # Prefix for all metrics
|
|
|
|
# Collector settings
|
|
collector:
|
|
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
|