May 2020 Summaries
5 posts from Coralogix
Filter
Month:
Year:
Post Summaries
Back to Blog
DevOps monitoring, a critical component of modern engineering practices, encompasses monitoring, logging, and alerting to maintain system health and performance. As technology evolves, the complexity of systems has increased, necessitating more sophisticated monitoring methods, especially with the rise of microservices. Effective DevOps monitoring involves not just tracking system metrics but also ensuring traceability and quick issue resolution through comprehensive tools like Jaeger and Alertmanager. Logging has also evolved from simple text files to a foundational element of observability, providing detailed insights into system behavior and aiding in identifying the exact causes of issues. By integrating these practices, organizations can enhance their operational efficiency, reduce risk exposure, and improve overall performance.
May 20, 2020
1,552 words in the original blog post.
Serverless computing, exemplified by AWS Lambda, offers significant advantages by eliminating the need for server maintenance, but it introduces complexities that necessitate robust monitoring and logging solutions. Effective serverless monitoring solutions must scale with growing applications, integrate logs and metrics from various sources, and operate independently to ensure reliability even if the application fails. Essential practices include streaming logs, auto-subscribing new log groups, and setting log retention policies to manage data efficiently. A scalable logging architecture can be achieved by separating application logic from logging activities, using a log transporter to forward logs to platforms like the ELK stack or Coralogix, which provides a comprehensive view and analysis capabilities. Implementing a monitoring system involves setting up a test application with AWS Lambda, deploying it using the Serverless framework, and ensuring errors are captured and analyzed through logs. Tools like CloudWatch can be used for basic logging, but platforms like Coralogix enhance observability and allow for alert configurations that notify users of specific log events. This approach ensures rapid response to issues and maintains application performance without affecting core functionalities.
May 18, 2020
3,803 words in the original blog post.
The guide provides an overview of using the Morgan npm module for logging requests in web applications built on Express and similar frameworks. Morgan is a middleware function designed to log incoming request information, such as methods, origin IPs, and URLs, with flexibility in formatting and output destination. It offers predefined log formats like "combined" and "dev," and allows custom formats using tokens. The module supports output redirection using Node.js Streams, enabling logs to be written to files or other destinations. Morgan's simplicity and focus on request logging make it a valuable tool alongside other loggers like Winston, as it allows developers to efficiently monitor and customize request logging within middleware architecture.
May 12, 2020
2,897 words in the original blog post.
Heroku simplifies application development by handling infrastructure through features like its logging system, which is essential for monitoring and maintaining application performance. Heroku's architecture uses containers called Dynos to manage applications, which can be scaled both vertically and horizontally. The platform's Logplex tool aggregates log streams from various processes into a single channel, which can be integrated with third-party services like Coralogix for enhanced log monitoring and analysis. Heroku maintains four categories of logs—App, API, System, and Add-on logs—each serving different purposes, such as tracking application errors or developer actions. Best practices for Heroku logging include logging useful events, avoiding sensitive data in logs, using structured formats like JSON, employing correct log levels, and defining log retention policies to ensure efficient data storage, as Heroku's default log retention is limited to one week. Logging add-ons like Coralogix can extend log retention and provide advanced analysis tools, making them vital for maintaining a reliable application environment on Heroku.
May 10, 2020
1,842 words in the original blog post.
Coralogix provides analytics and insights for Fastly logs, allowing enterprises to harness data for performance and security enhancements through user-defined alerts and dashboards. By integrating Fastly's real-time logging capabilities with Coralogix, businesses can gain granular visibility into their applications and services, enabling them to discover trends, spot security threats, and receive real-time notifications. Users can customize their log data, choose desired log templates, and create alerts and dashboards with fields such as client-IP, status-code, and request-time. Advanced visualizations and aggregations through tools like Kibana and Timelion enhance the monitoring experience, allowing for proactive insights and a better understanding of application-client ecosystems. The flexibility of Coralogix's platform supports a variety of alert conditions, helping teams anticipate issues such as unusual request methods, backend outages, and potential data exfiltration.
May 05, 2020
1,224 words in the original blog post.