Logging, metrics, automation

Sumit Rawal answered on May 20, 2023 Popularity 3/10 Helpfulness 1/10

Contents


More Related Answers

  • logging in with selenium
  • logging levels hierarchy
  • logging.basicConfig()
  • python logging handlers
  • python logging traceback
  • python logging basicConfig+time
  • logger format
  • log4net logging levels
  • logger logback configuration
  • # logging
  • python logging level
  • Exception logging
  • what is logging in programming
  • python logging levels
  • testing logging python
  • logger levels explained
  • Logging best practices
  • Monitoring and Logging
  • logging request
  • log4j - Logging in Database
  • Logging from main project
  • logging is not creating a new log file
  • Centralized logging
  • Distributed Logging
  • Logging tools
  • Implementing LogAccessFilter
  • LoggingCallback
  • Use the right logging level:
  • Logging configuration for integration tests#

  • Logging, metrics, automation

    0

    When working with a small website that runs on a few servers, logging, metrics, and automation support are good practices but not a necessity. However, now that your site has grown to serve a large business, investing in those tools is essential.

    Logging: Monitoring error logs is important because it helps to identify errors and problems in the system. You can monitor error logs at per server level or use tools to aggregate them to a centralized service for easy search and viewing.

    Metrics: Collecting different types of metrics help us to gain business insights and understand the health status of the system. Some of the following metrics are useful:

    Host level metrics: CPU, Memory, disk I/O, etc.

    Aggregated level metrics: for example, the performance of the entire database tier, cache tier, etc.

    Key business metrics: daily active users, retention, revenue, etc.

    Automation: When a system gets big and complex, we need to build or leverage automation tools to improve productivity. Continuous integration is a good practice, in which each code check-in is verified through automation, allowing teams to detect problems early. Besides, automating your build, test, deploy process, etc. could improve developer productivity significantly.

    Adding message queues and different tools

    Figure 19 shows the updated design. Due to the space constraint, only one data center is shown in the figure.

    1. The design includes a message queue, which helps to make the system more loosely coupled and failure resilient.

    2. Logging, monitoring, metrics, and automation tools are included.

    Popularity 3/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on May 20 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.