Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Description

The CloudWatchProfiler uses AmazonWebServices' CloudWatch feature to store latency information about the DefaultController.  When turned on it, it tracks how long each method in the DefaultController takes to complete.  These latency times are collected anytime a method in the DefaultController is used, and periodically sent in the form of "metrics" to CloudWatch.  Each metric has a name representing the DefaultController method used, a value representing that method's latency in milliseconds, and a timestamp representing when that method was called.  The CloudWatchController can be turned on and off, and the trigger time for how often the batches are sent to CloudWatch can be modified.

The metrics go to the Sage Bionetworks team account found at https://console.aws.amazon.com/cloudwatch/home?region=us-west-1

The DefaultController's metrics can be located under a namespace that matches the Default Controller's package (package org.sagebionetworks.repo.web.controller).  You will need to look under the US East region to locate the namespace.

CloudWatch allows you to view the metrics via a line chart.  You can observe the metrics via different time periods allowing you to zoom in, and you can view the metrics individually or in the form of statistics per a time period in the form of average, minimum, maximum, sum, or sample count.  CloudWatch holds metric information for two weeks after they arrive.

Location

How To Turn On/Off

How Often Should It Fire?

How To Modify/Expand

  • No labels