# Storage monitoring and alerts

> Automatic monitoring of storage usage with alerts when volumes exceed 80% capacity, helping prevent unexpected outages

Storage monitoring and alerts
=============================

Keep track of your application's storage usage with automatic monitoring and timely notifications. Never run out of disk space unexpectedly.

How storage monitoring works
----------------------------

We automatically monitor storage usage for:

- Database services (MySQL, PostgreSQL, MongoDB)
- Cache services (Redis, Valkey)
- Queue services (RabbitMQ)
- Storage services (MinIO, SFTP)
- Custom application volumes

Every 15 minutes, we check the storage usage of all your services and volumes. When usage exceeds 80% of capacity, we'll send you an alert.

Alert notifications
-------------------

When a storage volume reaches 80% capacity, you'll receive a notification through your configured channels:

- Email notifications to all team members
- Slack messages if you've connected Slack
- Discord notifications if configured
- Webhook calls to your custom endpoints

### What's included in alerts

Each storage alert contains:

- Service or volume name
- Current usage amount and percentage
- Total available capacity
- Recommended actions to resolve the issue

Preventing notification spam
----------------------------

We understand that constant notifications can be annoying. That's why we only send one notification per service when it crosses the 80% threshold. You won't receive duplicate alerts for the same storage issue.

Historical metrics
------------------

We keep storage usage history for the past 3 days, allowing you to:

- Track storage growth trends
- Identify which services consume the most space
- Plan capacity upgrades before hitting limits

Managing storage capacity
-------------------------

When you receive a storage alert, you have several options:

1. **Clean up unused data** - Remove old logs, temporary files, or unused database records
2. **Increase volume size** - Expand your storage capacity (may require brief downtime)
3. **Optimize storage usage** - Compress data, archive old records, or implement cleanup policies

Configuring notification channels
---------------------------------

To ensure you receive storage alerts:

1. Go to your team settings
2. Configure notification channels (email, Slack, Discord, or webhooks)
3. Test your notifications to ensure they're working

Best practices
--------------

To avoid storage issues:

- Implement regular cleanup routines for logs and temporary files
- Monitor storage trends in your dashboard
- Set up database maintenance tasks to remove old data
- Consider archiving strategies for historical data
- Plan for growth - upgrade storage before reaching 80%

Service-specific considerations
-------------------------------

### Database services

Databases can grow quickly with:

- Transaction logs
- Backup files
- Temporary tables
- Index bloat

### Cache services

Redis and Valkey storage depends on:

- Eviction policies
- Key expiration settings
- Persistence configuration

### Application volumes

Common causes of growth:

- User uploads
- Generated files
- Application logs
- Temporary processing files

Troubleshooting
---------------

If you're not receiving storage alerts:

- Verify your notification channels are configured correctly
- Check that team members have valid email addresses
- Test your webhook endpoints if using custom integrations
- Ensure your services have storage volumes attached

Remember: proactive storage management prevents downtime and ensures your applications run smoothly.
