Monitoring and logging

Updated at:

The robust monitoring and logging capabilities play a pivotal role in safeguarding service uptime, ensuring seamless business continuity and maintaining the overall health of your simple application servers. You can leverage the built-in monitoring capabilities to proactively gather monitoring data on an ongoing basis. Alibaba Cloud offers a suite of monitoring and log auditing services, including CloudMonitor and Cloud Config, which empower you to track resource utilization and service performance in real time. These services efficiently generate alerts, enabling prompt action to address any anomalies, thereby ensuring smooth operations.

Monitoring

Monitoring of simple application servers

Simple Application Server offers insights into key metrics such as data transfers, vCPU utilization, memory usage, network bandwidth utilization, and disk input/output (I/O) for efficient monitoring. For more information, see View instance monitoring information.

Simple Application Server Container Service instance monitoring

After creating a container service, you can view the CPU and memory usage of the service in the console. For more information, see View monitoring information.

Simple Application Server Database Service instance monitoring

After creating a database service, you can view detailed information about its CPU, memory, storage, storage IOPS (Input/Output Operations Per Second), and current total connections in the console. For more information, see View monitoring information.

Health status monitoring

We recommend that you monitor the health status of your cloud resources in real time so that you can take appropriate action if any issues occur. For more information, see the Alibaba Cloud Health Status homepage.

On the Alibaba Cloud Status page, you can check the real-time status of Alibaba Cloud services in each region for any issues. You can also subscribe to RSS feeds for service status updates.

To subscribe to status notifications for a specific product, click the RSS icon in the RSS column of the product list.

CloudMonitor-based monitoring

Simple Application Server is integrated with CloudMonitor, a free-of-charge monitoring service provided by Alibaba Cloud. CloudMonitor empowers you to effortlessly monitor your cloud resources and online applications in real time. If you need insights into cloud resource performance and usage to safeguard website uptime or detect business disruptions, you can activate CloudMonitor.

Once activated, CloudMonitor automatically fetches data of your simple application servers. This integration lets you directly view monitoring charts of simple application servers in the CloudMonitor console, providing instant visibility into the operational health of the servers. You can also configure alert rules to receive notifications for any data anomalies. This allows you to promptly address potential issues.

  • For information about how to view the monitoring data of simple application servers by using CloudMonitor and how to configure alert rules, see Cloud service monitoring.

  • For information about the Simple Application Server metrics supported by CloudMonitor, see Metric List.

Effortlessly enable initiative alert

CloudMonitor simplifies monitoring by letting you easily enable initiative alert for multiple key metrics of Simple Application Server, which ensures proactive surveillance of your cloud resources. It streamlines the setup of a comprehensive monitoring system, keeping you informed about resource consumption and the overall health of your business operations. For more information, see Enable proactive alerting.

Configure custom alert rules

You can tailor monitoring reports to gather specific, custom metrics based on your unique requirements. For more information, see Monitoring charts on a custom dashboard.

You can configure alert rules for each metric to receive important notifications by using multiple notification methods, including phone calls, text messages, emails, DingTalk chatbots, and the Alibaba Cloud app.

You can also create an alert blacklist to block alerts for specific metrics. For more information, see Manage blacklist policies.

ActionTrail

Simple Application Server is integrated with ActionTrail, which empowers you to centrally manage operational logs for all your cloud resources. ActionTrail documents user logons and access to resources within your Alibaba Cloud account. With ActionTrail, you gain capabilities for in-depth security analysis, real-time intrusion detection, efficient tracking of resource changes, and conducting compliance audits.

You can effortlessly manage log data related to accessing and utilizing cloud services and resources by using the ActionTrail console, API operations, and developer tools. For information about the supported audit events, see Audit events of Simple Application Server.

ActionTrail automatically records and stores event data for the previous 90 days. For extended retention beyond this period, you need to create a trail that delivers events to a Simple Log Service Logstore or an Object Storage Service (OSS) bucket. For more information, see Advanced event query.

After you create a trail to deliver events to a Simple Log Service Logstore or an OSS bucket, you can query or analyze the events in the Simple Log Service or OSS console. For more information, see Query events in the Simple Log Service or OSS console.

If you want to trace historical events, submit a ticket to request the required permissions.

Operational logs

Simple Application Server operational logs

You can view the historical operation records of your Simple Application Server instances on the Operation Records page. These records include actions such as starting, stopping, restarting, changing the password, and resetting the system. For more information, see View server operation records.

Simple Application Server Container Service operation logs

You can view the historical operation records of your container services on the Operation Records page. These records include actions such as creating, starting, and stopping a container service, and creating a container deployment. For more information, see View operation records.

Simple Application Server container application access logs

Container application access logs are HTTP access logs that show public network access. By default, the console displays access logs from the last 7 days. You can filter by time to view logs from a specific period, up to a maximum of 90 days. For more information, see View container application access logs.

Simple Application Server Database Service: Error and slow logs

On the Log Management page, you can query the error log and slow log for your Simple Application Server Database Service instances to diagnose issues.

  • Error logs are retained for 30 days.

  • Slow log details are retained for 7 days.

For more information, see View error logs and slow logs.