Before You Start
You’ll need:- A Muxx account
- Your Muxx API key
- 5 minutes
Gateway Migration (Fastest)
The gateway approach requires just a base URL change.Before
After
SDK Migration
For deeper tracing, use the SDK wrapper.Before
After
Adding Traces
Once migrated, optionally add traces for better organization:Environment Variables
Store keys in environment variables:Rollback Plan
If you need to rollback:- Gateway: Remove base_url and headers
- SDK: Remove muxx.wrap() call
Gradual Migration
Migrate gradually by project or feature:- Start with non-critical features
- Verify logs appear in dashboard
- Expand to more features
- Enable for production
Troubleshooting
Logs not appearing
- Check API key is correct
- Verify project has provider keys configured
- Check network allows gateway.muxx.dev
Increased latency
- Gateway adds minimal overhead
- Enable caching for repeated queries
- Check if rate limited