Skip to content

Commit 35aa7de

Browse files
authored
Merge pull request #89 from PowerShell/SteveL-MSFT-patch-2
Update RFC0016-Census-Telemetry.md
2 parents c9dde98 + 7d535cf commit 35aa7de

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

1-Draft/RFC0016-Census-Telemetry.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ RFC: RFC0016
33
Author: Steve Lee, Jim Truher
44
Status: Draft
55
SupercededBy: n/a
6-
Version: 0.2
6+
Version: 0.3
77
Area: Host
8-
Comments Due: 4/22/2017
8+
Comments Due: Done
99
Feedback: https://github.com/PowerShell/PowerShell-Language-RFC/issues/#
1010
---
1111

@@ -21,10 +21,15 @@ The platform (Windows, Linux, Mac) usage data helps to prioritize new feature wo
2121
## Specification
2222

2323
On every startup of the PowerShell Console host, telemetry will be sent via [ApplicationInsights](https://azure.microsoft.com/en-us/services/application-insights/) to collect the following information:
24-
- A SHA256 hash of System.Management.Automation.dll
25-
- Environment.OSVersion.VersionString
24+
- [System.Runtime.InteropServices.RuntimeInformation]::OSDescription (equivalent to `uname -a` on Unix)
2625
- GitCommitId (from $psversiontable)
2726

27+
Performance will be measured to ensure collecting and sending telemetry does not have an impact to PowerShell startup time.
28+
Target is <5ms impact.
29+
30+
Telemetry is only collected if the file DELETE_ME_TO_DISABLE_CONSOLEHOST_TELEMETRY exists in $PSHome.
31+
Eventually, we want to adopt [RFC0015 Startup Configuration](https://github.com/PowerShell/PowerShell-RFC/blob/master/1-Draft/RFC0015-PowerShell-StartupConfig.md) as the way to enable/disable telemetry.
32+
2833
## Design
2934

3035
ApplicationInsights provides a mechanism for sending a [`CustomEvent`](https://docs.microsoft.com/en-us/azure/application-insights/app-insights-api-custom-events-metrics) which is essentially three elements:

0 commit comments

Comments
 (0)