toofz - toofz.Telemetry 2.0.1

Telemetry-related code used by toofz projects.

PM> Install-Package toofz.Telemetry -Version 2.0.1 -Source https://www.myget.org/F/toofz/api/v3/index.json

Copy to clipboard

> nuget.exe install toofz.Telemetry -Version 2.0.1 -Source https://www.myget.org/F/toofz/api/v3/index.json

Copy to clipboard

> dotnet add package toofz.Telemetry --version 2.0.1 --source https://www.myget.org/F/toofz/api/v3/index.json

Copy to clipboard
<PackageReference Include="toofz.Telemetry" Version="2.0.1" />
Copy to clipboard
source https://www.myget.org/F/toofz/api/v3/index.json

nuget toofz.Telemetry  ~> 2.0.1
Copy to clipboard

> choco install toofz.Telemetry --version 2.0.1 --source https://www.myget.org/F/toofz/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "toofz" -SourceLocation "https://www.myget.org/F/toofz/api/v2"
Install-Module -Name "toofz.Telemetry" -RequiredVersion "2.0.1" -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

Build status codecov MyGet

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.

Installing toofz.Telemetry

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.

App map

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
    • Microsoft.ApplicationInsights (>= 2.4.0)
  • .NETStandard 2.0: 2.0.0.0

                        
Assembly Assembly hash Match
/lib/netstandard2.0/toofz.telemetry.dll f66268b9ad3f92509f814afb4e3ed2fb1

Owners

Leonard Thieu

Authors

Leonard Thieu

Project URL

https://github.com/leonard-thieu/toofz-telemetry

License

MIT

Info

14 total downloads
3 downloads for version 2.0.1
Download (4.58 KB)
Download legacy symbols (8.29 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