Skip to content

Sample related to the CK.ActivityMonitor, CK.Monitoring and CK.Monitoring.Hosting packages: demonstrates ActivityMonitor usage and GrandOutput configurations.

Notifications You must be signed in to change notification settings

signature-opensource/CK-Sample-Monitoring

Repository files navigation

Monitoring samples

This repository contains samples of ActivityMonitor and GrandOutput use and configuration.

Code and configuration files in this repository are heavily documented: this aims to be an always-synchronized documentation and how-to for anything related to the CK stack monitoring tools.

A sample for CK.Testing.Monitoring is currently missing.

ColoredConsoleDemo

This is a very basic example of logging with the Console client.

MonitoringDemoApp

This is a complete console application configured by its appsettings.json and also a sample of a typical IHostedService (the LoggerTestHostedService) with its own (also dynamically monitored) configuration LoggerTestHostedServiceConfiguration.

Changing the configuration file (with any file editor) is immediately reflected in the logs that the hosted service emits.

About

Sample related to the CK.ActivityMonitor, CK.Monitoring and CK.Monitoring.Hosting packages: demonstrates ActivityMonitor usage and GrandOutput configurations.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages