diff --git a/ApplicationInsights/Telemetry_Client.php b/ApplicationInsights/Telemetry_Client.php index d4f66bf..227e30c 100644 --- a/ApplicationInsights/Telemetry_Client.php +++ b/ApplicationInsights/Telemetry_Client.php @@ -89,7 +89,7 @@ class Telemetry_Client $dataPoint = new Channel\Contracts\Data_Point(); $dataPoint->setName($name); $dataPoint->setValue($value); - $dataPoint->setKind($type == NULL ? Channel\Contracts\Data_Point_Type::AGGREGATION : $type); + $dataPoint->setKind($type == NULL ? Channel\Contracts\Data_Point_Type::Aggregation : $type); $dataPoint->setCount($count); $dataPoint->setMin($min); $dataPoint->setMax($max);