Challenge - 5 Problems
Supabase Monitoring Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
Supabase Logs Retrieval Command Output
You run the command to fetch the latest 5 logs from your Supabase project:
What is the expected output format of this command?
supabase logs tail --limit 5
What is the expected output format of this command?
Attempts:
2 left
💡 Hint
Think about how CLI tools usually format logs for easy parsing.
✗ Incorrect
The 'supabase logs tail' command outputs logs in JSON format by default, showing structured data including timestamp, level, and message for each log entry.
🧠 Conceptual
intermediate2:00remaining
Understanding Supabase Monitoring Metrics
Which of the following metrics is NOT typically monitored by Supabase's built-in monitoring tools?
Attempts:
2 left
💡 Hint
Supabase monitoring focuses on cloud resources, not local client machines.
✗ Incorrect
Supabase monitoring tracks server-side metrics like database performance and storage usage, but does not monitor the CPU usage of the user's local machine.
❓ Troubleshoot
advanced2:00remaining
Diagnosing Missing Logs in Supabase
You notice that your Supabase project logs are not showing any entries for recent API requests. Which configuration issue is the MOST likely cause?
Attempts:
2 left
💡 Hint
Logs depend on the logging level to capture different types of events.
✗ Incorrect
If the logging level is set too high (like 'error'), informational logs about API requests won't appear. Setting it to 'info' or lower captures more details.
🔀 Workflow
advanced2:00remaining
Setting Up Alerting for Supabase Logs
You want to get notified immediately when your Supabase project logs show any 'error' level messages. Which workflow correctly sets this up?
Attempts:
2 left
💡 Hint
Automated alerting requires integration with external services.
✗ Incorrect
Supabase allows configuring webhooks to forward logs to alerting tools that can filter and notify on error messages automatically.
✅ Best Practice
expert2:00remaining
Best Practice for Long-Term Log Storage in Supabase
What is the recommended best practice for storing Supabase logs for long-term analysis beyond the default retention period?
Attempts:
2 left
💡 Hint
Think about durable, scalable storage solutions for logs.
✗ Incorrect
Exporting logs to external storage services ensures logs are preserved long-term and can be analyzed with other tools.