Namespace SuperOffice.Diagnostics
Classes
AggregatedServiceCall
DeferredToString
Accept and store objects that can later be evaluated to strings with object.ToString();
DiagnoseException
Exception thrown by the Diagnostic.
Diagnostic
Helper class for performing scaffolding operations.
Use Diagnose(DiagnoseMethod) to perform scaffolding operations.
ExceptionLoggingContextExtensions
ExecutionStopwatch
Stopwatch to measure CPU time. Works only on Windows.
ExecutionStopwatchNoop
OperationResourcesUsage
ResourceTraceWriter
ResourceTracer
ResourceTracerContext
ResourceUsage
ResourceUsageBucket
SelfTestHelper
Helper to execute SelTest
ServiceCall
Information about a running service call. This class needs to be kept as small as possible, and with as few references to external objects as possible. It's created and abandoned for each API request.
ServiceCallsDiagnosticSnapshot
ServiceCallsRepositoryResourceLogger
Recorder plugin for the SoTimer system, to selectively track only Database Operations and contribute them to the parent service statistics
ServiceCallsRepositoryResourceLoggerContext
Actual resource logger context that is passed to SoTimer instances, and is called to record events.
SimplePeriodicGrafanaReporter
SoActivity
SoEnvironment
SoLogger
Summary description for SoLogger.
SoMetrics
SoOperation
SoOperation.DisposableDummy
An empty disposable class that does nothing.
SoTimeLogger
Disposable class used for logging timing operations being carried out by NetServer
SoTimeLoggerPlugin
Plugin responsible for logging times to file.
SoTimeRecorderPluginAttribute
Plugin's for recording time spent on different operations.
SoTimer
Disposable class used for timing operations being carried out by NetServer
SqlCommandInfo
SqlCommandParameterInfo
SystemInfoSelfTest
WorkList
WorkRow
Interfaces
IDiagnosticSnapshot
IExceptionLoggingContext
IExecutionStopwatch
IResourceTraceWriter
IResourceUsageBucket
ISelfTest
Interface to be implemented by SelfTests. SelfTests must be registered by the service provider and is resolved by TryCreateTypes(Type, out IEnumerable<object>)
IServiceCallsRepository
Repository for currently executing service calls
ISoTimeRecorderContext
Context passed by implementers of SoTimeRecorder plugins to the user of the time recorder to measure time.
ISoTimeRecorderPlugin
Plugin implemented by time recorders. Start will be called when timing starts
Enums
SoTimerType
Enumerator describing what kind of task is being timed.
Delegates
DiagnoseMethod
Delegate used by Diagnose(DiagnoseMethod) to carry out scaffolding logic.
DiagnoseMethodAsync
Delegate used by Diagnose(DiagnoseMethod) to carry out scaffolding logic.