Implement effective logging and monitoring for production applications
# Logging and Monitoring
## Logging Best Practices
- Use structured logging
- Include context in logs
- Set appropriate log levels
- Use correlation IDs
## Monitoring
- Track key metrics
- Set up alerts
- Monitor error rates
- Track performance
## Tools
- Use Sentry for errors
- Implement DataDog
- Use CloudWatch
- Set up Grafana
## Observability
- Implement tracing
- Track user journeys
- Monitor business metrics
- Create dashboardsThis Logging prompt is ideal for developers working on:
By using this prompt, you can save hours of manual coding and ensure best practices are followed from the start. It's particularly valuable for teams looking to maintain consistency across their logging implementations.
Yes! All prompts on Antigravity AI Directory are free to use for both personal and commercial projects. No attribution required, though it's always appreciated.
This prompt works excellently with Claude, ChatGPT, Cursor, GitHub Copilot, and other modern AI coding assistants. For best results, use models with large context windows.
You can modify the prompt by adding specific requirements, constraints, or preferences. For Logging projects, consider mentioning your framework version, coding style, and any specific libraries you're using.