Skip to content

diginsight/telemetry.samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telemetry.samples

INTRODUCTION

The telemetry_samples repository provides examples of using diginsight telemetry for various .NET versions and application types.

It includes samples for older .NET frameworks like 4.8 up to the newer .NET 8, and for different application types such as web apps, web APIs, WPF client apps, and console apps.

The repository is designed to help developers understand how to integrate diginsight telemetry into their applications by providing practical, hands-on examples.
By exploring the samples, developers can learn how to implement automatic observability provided by diginsight and utilize the full application flow for local text-based streams and remote analysis tools like Azure Monitor and Prometheus/Grafana.

For overview and details of diginsight telemetry and application observability concepts please refer to diginsight telemetry repository and documentation.

STEPS to build and use the telemetry samples

STEP 01. Open and build the solution Telemetry.Samples

alt text

STEP 02. run the sample you wish to analyze

set the proper startup project

STEP 02. open the file log

Look at the application flow on the console log, the file log or other tool according to the sample description. File logs can normally be obtained under the %UserProfile%/LogFiles/Diginsight folder, as shown below:

Samples log streaming Logs folder
alt text alt text

TELEMETRY SAMPLES REFERENCE

SampleCoconaApp

Implements diginsight telemetry integrated into an example console application.

  • diginsight flow is enabled at the console output
  • diginsight flow is also enabled for the file log

file log can be obtained under the %UserProfile%/LogFiles/Diginsight folder

SampleWpfApp.. SampleWpfApp480

Implements diginsight telemetry integrated into an example client application with .Net Framework versions from old .net framework 4.8 to latest .net framework version.

diginsight flow is enabled for the file log

file log can be obtained under the %UserProfile%/LogFiles/Diginsight folder

SampleWebAPI

Implements diginsight telemetry integrated into an example Web Api.

SampleWebApplication

Implements diginsight telemetry integrated into standard example Web application. Examples are included with use of diginsight telemetry into a blazor webassembly application.

...

Contribute

Contribute to the repository with your pull requests.

Thanks Filippo, Dario, Alessandro, Raffaele, Anusuya and Sandeep for your contributions to the samples!

License

See the LICENSE file for license rights and limitations (MIT).

About

No description, website, or topics provided.

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •