Skip to content

Commit b51999a

Browse files
authored
Update RFC0016-Census-Telemetry.md
1 parent c9dde98 commit b51999a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

1-Draft/RFC0016-Census-Telemetry.md

Lines changed: 6 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,12 @@ 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+
Telemetry is only collect if the file DELETE_ME_TO_DISABLE_CONSOLEHOST_TELEMETRY exists in $PSHome.
28+
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.
29+
2830
## Design
2931

3032
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)