Home / Companies / Rollbar / Blog / February 2017

February 2017 Summaries

2 posts from Rollbar

Filter
Month: Year:
Post Summaries Back to Blog
JavaScript source maps are essential tools for web developers aiming to maintain high website performance while ensuring ease of debugging and maintenance. By minimizing JavaScript, developers can reduce download sizes and HTTP requests, which improves website performance but complicates debugging due to the loss of original code details. Source maps address this by mapping minified code back to its original form, preserving filenames, line numbers, and column numbers. Rollbar offers support for incorporating source maps, allowing developers to obtain meaningful stack traces even when using minified JavaScript in production. To effectively use source maps with Rollbar, it's crucial to provide a stack trace with column numbers and a source map file, which can be uploaded manually or via API. Rollbar also offers an automatic download option, although it is less reliable than uploading, making the latter a recommended practice for production. Proper configuration, including setting relevant parameters and ensuring correct versioning, is essential for successful implementation. Despite some limitations, such as unsupported sectioned source maps, Rollbar provides comprehensive support and encourages users to update their configurations to leverage source maps effectively for debugging.
Feb 13, 2017 1,253 words in the original blog post.
GorillaStack has shared their experience of integrating Rollbar with the Serverless framework to enhance error monitoring and notification for applications. While the Serverless framework typically stores logs in CloudWatch, GorillaStack identified a need for better error escalation and chose Rollbar for this purpose due to its effective error management capabilities, even customizing a Rollbar transport for the 'winston' node module to fit their needs. They provided an open-source example on GitHub, demonstrating how to set up Rollbar for error escalation, requiring only a Rollbar API token to deploy. This setup ensures that logs are maintained in CloudWatch, while errors above a certain level trigger notifications via Rollbar, thus allowing more proactive management of application errors. Users are encouraged to try the integration through a 14-day Rollbar free trial and provide feedback or share simpler solutions in the comments.
Feb 07, 2017 381 words in the original blog post.