Plugin Directory

Changeset 1882017


Ignore:
Timestamp:
05/26/2018 08:30:18 PM (8 years ago)
Author:
ApplicationInsights
Message:

rsync after #17

Location:
application-insights/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • application-insights/trunk/.gitignore

    r1067499 r1882017  
    160160# Mac desktop service store files
    161161.DS_Store
     162/.cr
     163/.vs
  • application-insights/trunk/CONTRIBUTING.md

    r1879544 r1882017  
    55## Build and Test locally
    66
    7 1. Run `compose install` to install all dependencies.
     71. Run `composer install` to install all dependencies.
    882. Change to docker directory: `cd docker`
    993. Run `docker-compose up -d`. This step assumes you have docker installed and configured.
     
    4141The command `docker-compose down --volumes` removes the containers, default network, and the WordPress database.
    4242
     43## How to release a new version
     44
     45This is a section for maintainers.
     46
     47See instructions here: https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/
     48
     49```
     50svn co https://plugins.svn.wordpress.org/application-insights application-insights
     51cd application-insights/
     52rm -rf trunk/
     53mkdir trunk
     54cp -r ../../wordpress/ trunk/
     55cd trunk/
     56rm -rf .gitignore
     57rm -rf .gitattributes
     58rm -rf .git
     59svn add trunk/*
     60svn ci -m "updated to the latest version" --username ApplicationInsights --password ""
     61```
     62
    4363## Contributing
    4464
  • application-insights/trunk/README.txt

    r1879544 r1882017  
    2222== Installation ==
    2323
    24 1. Run `compose install`
    25 2. Upload all files to the '/wp-content/plugins/' directory.
    26 3. Activate the plugin through the 'Plugins' menu in WordPress.
    27 4. Go to Settings -> Application Insights and enter the Instrumentation Key you received from http://portal.azure.com. Use direct link https://ms.portal.azure.com/#create/Microsoft.AppInsights to create a new Application Insights resource.
     241. Upload all files to the '/wp-content/plugins/' directory.
     252. Activate the plugin through the 'Plugins' menu in WordPress.
     263. Go to Settings -> Application Insights and enter the Instrumentation Key you received from http://portal.azure.com. Use direct link https://ms.portal.azure.com/#create/Microsoft.AppInsights to create a new Application Insights resource.
    2827
    2928== Changelog ==
  • application-insights/trunk/src/Server_Instrumentation.php

    r1879544 r1882017  
    3636            $requestName = Common::getPageTitle();
    3737            $startTime = $_SERVER["REQUEST_TIME"];
    38             $duration = timer_stop(0, 3) * 1000;
     38            $duration = floatval(timer_stop(0, 3)) * 1000;
    3939            $this->_telemetryClient->trackRequest($requestName, $url, $startTime, $duration, http_response_code(), !is_404());
    4040
Note: See TracChangeset for help on using the changeset viewer.