microsoft / ApplicationInsights-PHP

Azure Application Insights SDK for PHP
https://azure.microsoft.com/services/application-insights/
Other
108 stars 92 forks source link

PHP Fatal error: Undefined class constant 'AGGREGATION' in /var/app/current/vendor/microsoft/application-insights/ApplicationInsights/Telemetry_Client.php on line 92 #59

Closed MichelZ closed 5 years ago

MichelZ commented 6 years ago

This happens when I'm using the trackMetric functionality like this:

$telemetryClient->trackMetric('NumberOfActivitiesInEvent', count($objContent), \ApplicationInsights\Channel\Contracts\Data_Point_Type::Measurement);

or this $telemetryClient->trackMetric('NumberOfActivitiesInEvent', count($objContent));

MichelZ commented 6 years ago

Actually, just found #56 Can this be released?

MichelZ commented 6 years ago

@SergeyKanzhelev Ping

MichelZ commented 6 years ago

@SergeyKanzhelev Trying to ping again