Skip to Content
FeaturesCost Guard

Cost Guard

Cost Guard monitors your cloud infrastructure spending against configurable thresholds and alerts your team before costs spiral out of control. Instead of discovering surprise bills at the end of the month, you get notified the moment spending crosses your budget limits.

How It Works

Cost Guard connects to your cloud service APIs, polls for current usage data on a schedule, and compares metrics against your defined thresholds. When a threshold is breached, TinyOps sends a notification through your preferred channel.

Live Rules

Vercel Budget Alert

Monitors your Vercel month-to-date spend and alerts when it exceeds your configured threshold.

SettingDefault
MetricMonth-to-date spend
Threshold$50
TriggerSchedule (9 AM daily)
NotificationSlack
vercel-budget-alert.yaml
name: vercel-budget-alert trigger: type: schedule cron: "0 9 * * *" provider: vercel condition: field: billing.mtd_spend operator: gte value: 50 action: type: notify channel: slack message: "Vercel MTD spend is ${{billing.mtd_spend}}, exceeding $50 threshold"

Supabase Row Limit

Monitors per-table row counts in your Supabase database and alerts when a table exceeds the configured row limit.

SettingDefault
MetricTable row count
Threshold10,000 rows
TriggerPoll (every 1 hour)
NotificationEmail
supabase-row-limit.yaml
name: supabase-row-limit trigger: type: poll interval: 1h provider: supabase condition: field: table.row_count operator: gte value: 10000 action: type: notify channel: email message: "Table '{{table.name}}' has {{table.row_count}} rows, exceeding 10,000 limit"

Supabase row count checks use the database statistics view for performance. Counts may lag slightly behind real-time values. For exact counts, consider a lower poll interval.

Coming Soon

RuleDescription
Daily Cost DigestAggregated daily summary of spending across all connected services

Configuration Options

You can customize thresholds and notification channels for each Cost Guard rule:

OptionTypeDescription
thresholdnumberThe spending or usage limit that triggers an alert
channelstringNotification destination: slack, email, or webhook
schedulestringCron expression or poll interval for checking
providerstringCloud service to monitor: vercel, supabase