toofz - toofz.Telemetry 2.0.0
Telemetry-related code used by toofz projects.
PM> Install-Package toofz.Telemetry -Version 2.0.0 -Source https://www.myget.org/F/toofz/api/v3/index.json
> nuget.exe install toofz.Telemetry -Version 2.0.0 -Source https://www.myget.org/F/toofz/api/v3/index.json
> dotnet add package toofz.Telemetry --version 2.0.0 --source https://www.myget.org/F/toofz/api/v3/index.json
source https://www.myget.org/F/toofz/api/v3/index.json
nuget toofz.Telemetry ~> 2.0.0
Copy to clipboard
> choco install toofz.Telemetry --version 2.0.0 --source https://www.myget.org/F/toofz/api/v2
Import-Module PowerShellGet
Register-PSRepository -Name "toofz" -SourceLocation "https://www.myget.org/F/toofz/api/v2"
Install-Module -Name "toofz.Telemetry" -RequiredVersion "2.0.0" -Repository "toofz"
Copy to clipboard
Browse the sources in this package using Visual Studio or WinDbg by configuring the following legacy symbol server URL: https://www.myget.org/F/toofz/symbols/
toofz Telemetry
Getting started
Installation
Create NuGet.Config in your solution folder.
NuGet.Config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="toofz" value="https://www.myget.org/F/toofz/api/v3/index.json" />
</packageSources>
</configuration>
Restart Visual Studio. toofz will now show up as a package source in NuGet Package Manager. Select toofz as the package source. Search for and install the toofz.Telemetry package.

Usage
CloudRoleNameTelemetryInitializer
CloudRoleNameTelemetryInitializer configures the name of a component in a multi-component application. The name can be used to filter telemetry and is displayed on the component in a multi-component Application map.
ApplicationInsights.config
<?xml version="1.0" encoding="utf-8"?>
<ApplicationInsights xmlns="http://schemas.microsoft.com/ApplicationInsights/2013/Settings">
<TelemetryInitializers>
<Add Type="toofz.Telemetry.CloudRoleNameTelemetryInitializer, toofz.Telemetry">
<CloudRoleName>My Cloud Role Name</CloudRoleName>
</Add>
</TelemetryInitializers>
</ApplicationInsights>
toofz and toofz API are components in a multi-component application.

ServiceTelemetryInitializer
ServiceTelemetryInitializer adds the version of the calling assembly and a session ID to telemetry.
ApplicationInsights.config
<?xml version="1.0" encoding="utf-8"?>
<ApplicationInsights xmlns="http://schemas.microsoft.com/ApplicationInsights/2013/Settings">
<TelemetryInitializers>
<Add Type="toofz.Telemetry.ServiceTelemetryInitializer, toofz.Telemetry" />
</TelemetryInitializers>
</ApplicationInsights>
- .NETStandard 2.0: 2.0.0.0
| Assembly | Assembly hash | Match |
|---|---|---|
| /lib/netstandard2.0/toofz.telemetry.dll | f66268b9ad3f92509f814afb4e3ed2fb1 |
OwnersLeonard Thieu |
AuthorsLeonard Thieu |
Project URLhttps://github.com/leonard-thieu/toofz-telemetry |
LicenseMIT |
Info14 total downloads |
| 3 downloads for version 2.0.0 |
| Download (4.54 KB) |
| Download legacy symbols (8.21 KB) |
| Found on the current feed only |
Package history
| Version | Size | Last updated | Downloads | Mirrored? | |||
|---|---|---|---|---|---|---|---|
|
2.0.1 | 4.58 KB | Sat, 04 Nov 2017 19:29:32 GMT | 3 |
|
||
|
2.0.0 | 4.54 KB | Fri, 03 Nov 2017 20:39:03 GMT | 3 |
|
||
|
1.0.3 | 4.46 KB | Sun, 27 Aug 2017 19:13:04 GMT | 4 |
|
||
|
1.0.2 | 4.39 KB | Wed, 23 Aug 2017 17:51:53 GMT | 4 |
|