toofz - toofz.Telemetry 1.0.3
Telemetry-related code used by toofz projects.
PM> Install-Package toofz.Telemetry -Version 1.0.3 -Source https://www.myget.org/F/toofz/api/v3/index.json
> nuget.exe install toofz.Telemetry -Version 1.0.3 -Source https://www.myget.org/F/toofz/api/v3/index.json
> dotnet add package toofz.Telemetry --version 1.0.3 --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 ~> 1.0.3
Copy to clipboard
> choco install toofz.Telemetry --version 1.0.3 --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 "1.0.3" -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>
- .NETFramework 4.5: 4.5.0.0
| Assembly | Assembly hash | Match |
|---|---|---|
| /lib/net45/toofz.telemetry.dll | 9b9489041cc2429f9cc4ae1479de5a541 |
OwnersLeonard Thieu |
AuthorsLeonard Thieu |
Project URLhttps://github.com/leonard-thieu/toofz-telemetry |
LicenseMIT |
Tagstoofz telemetry |
Info14 total downloads |
| 4 downloads for version 1.0.3 |
| Download (4.46 KB) |
| Download legacy symbols (7.28 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 |
|