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.
set the proper startup project
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 |
|---|---|
![]() |
![]() |
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
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
Implements diginsight telemetry integrated into an example Web Api.
Implements diginsight telemetry integrated into standard example Web application. Examples are included with use of diginsight telemetry into a blazor webassembly application.
...
Contribute to the repository with your pull requests.
Thanks Filippo, Dario, Alessandro, Raffaele, Anusuya and Sandeep for your contributions to the samples!
See the LICENSE file for license rights and limitations (MIT).


