Changeset 1068140
- Timestamp:
- 01/14/2015 10:20:19 PM (11 years ago)
- Location:
- application-insights/trunk
- Files:
-
- 3 added
- 3 edited
-
ApplicationInsightsPlugin.php (modified) (2 diffs)
-
assets (added)
-
assets/icon-128x128.png (added)
-
assets/icon-256x256.png (added)
-
readme.txt (modified) (1 diff)
-
src/Server_Instrumentation.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
application-insights/trunk/ApplicationInsightsPlugin.php
r1068087 r1068140 3 3 Plugin Name: Application Insights 4 4 Description: Integrates a WordPress site with Microsoft Application Insights. 5 Version: 2. 0.25 Version: 2.1 6 6 Author: ApplicationInsights 7 7 License: MIT … … 20 20 $serverInstrumentation = new ApplicationInsights\WordPress\Server_Instrumentation(); 21 21 add_action('shutdown', array($serverInstrumentation, 'endRequest')); 22 -
application-insights/trunk/readme.txt
r1068087 r1068140 11 11 == Description == 12 12 13 Integrates a WordPress site with Microsoft Application Insights. 13 Integrates a WordPress site with Microsoft Application Insights. More information can about Application Insights can be found here: http://azure.microsoft.com/en-us/documentation/articles/app-insights-get-started/ 14 15 Active development is done on GitHub: https://github.com/Microsoft/AppInsights-WordPress 16 17 Other SDKs and documentation can be found here: https://github.com/Microsoft/AppInsights-Home 14 18 15 19 == Installation == 16 20 17 1. Upload `ApplicationInsightsPlugin.php`to the `/wp-content/plugins/` directory21 1. Upload all files to the `/wp-content/plugins/` directory 18 22 2. Activate the plugin through the 'Plugins' menu in WordPress 19 23 3. Go to Settings -> Application Insights and enter you Instrumentation Key you received from http://portal.azure.com 20 24 21 25 == Changelog == 26 27 = 2.1 = 28 * Removing unnecessary custom event from being logged. 22 29 23 30 = 2.0.2 = -
application-insights/trunk/src/Server_Instrumentation.php
r1067514 r1068140 14 14 $this->_telemetryClient = new \ApplicationInsights\Telemetry_Client(); 15 15 $this->_telemetryClient->getContext()->setInstrumentationKey($application_insights_options["instrumentation_key"]); 16 $this->_telemetryClient->trackEvent('ApplicationInsights_PluginLoaded');17 16 18 17 set_exception_handler(array($this, 'exceptionHandler')); … … 46 45 } 47 46 48 49 47 function exceptionHandler(\Exception $exception) 50 48 {
Note: See TracChangeset
for help on using the changeset viewer.