官术网_书友最值得收藏!

  • Metabase Up and Running
  • Tim Abraham
  • 315字
  • 2021-06-11 18:03:27

Monitoring app performance

On the Elastic Beanstalk dashboard, we can see the overall health of our environment. Most of the time it should have the green checkmark, as in Figure 2.11. If you deploy using the smaller t2.micro EC2 instances, it may occasionally be in the Warning state (although I've noticed the actual app works fine in those cases):

Figure 2.12 -

In addition to the overall health check, we can drill into specific performance-related statistics around the resources we've deployed. Let's learn how to do that.

From the Elastic Beanstalk dashboard, click Monitoring on the left rail. This will bring up the performance monitoring overview, where you can view several high-level statistics about your app.

Rather than going over all the statistics presented on the dashboard, let's just learn how to create a chart of the average NetworkOut for our EC2 Instances. Recall that in the Scaling Triggers section of our environment configuration, we created rules based on this metric to decide whether or not we should add additional compute instances to handle increased traffic:

  1. In the Monitoring section, click Edit. An Add Graph section will appear on the screen. In this section, choose the following:

    a. AWSEBAutoScalingGroup as Resource.

    b. Average as Statistic.

    c. NetworkOut as CloudWatch metric.

  2. Click Add.
  3. Next, scroll back down to the Monitoring section and click Save.

Now your metric should appear in the Monitoring section of the page. To drill down into it, click the chart.

The chart presents you with a time series of the average NetworkOut value. In the upper right-hand corner of the page, you can adjust the period. Recall that we set out autoscaling rules based on a 5-minute period, and we chose 2 MB as the threshold value. Now you can monitor this statistic and see how close it gets to that threshold value based on the number of users using your Metabase instance.

主站蜘蛛池模板: 清远市| 二连浩特市| 鹤庆县| 当阳市| 丽江市| 新营市| 玉门市| 天祝| 策勒县| 榆林市| 和硕县| 雅安市| 梧州市| 弋阳县| 卢氏县| 芜湖市| 深州市| 福贡县| 景泰县| 石首市| 赞皇县| 桓仁| 甘洛县| 宣城市| 姚安县| 徐汇区| 专栏| 菏泽市| 赤水市| 山阴县| 龙海市| 会东县| 冀州市| 琼中| 通州市| 林州市| 万源市| 金秀| 皋兰县| 邯郸市| 红桥区|