
Can anyone explain how to use the AWS PHP SDK to register metrics in a style similar to the screen above.
I am using the following PHP code, but the select menu displays " ELB: AvaliabiltyZone ", how do I show it " Grouped by AvaliabiltyZone >"? What logic is used here?
$response = $cw->put_metric_data("ELB", array( array( "MetricName" => "Latency", "Dimensions" => array( array("Name" => "AvaliabiltyZone" , "Value" => "us-east-1c") ), "Timestamp" => "now", "Value" => 1, "Unit" => "None" ), ));
Howard
source share