Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFAdmin.DiagnosticNames Class

  • Last UpdatedNov 18, 2025
  • 4 minute read
AFAdmin.DiagnosticNames Class
Diagnostic names to be used with the values returned from the GetDiagnostics(PISystem) method.

Inheritance Hierarchy

SystemObject
  OSIsoft.AF.DiagnosticsAFAdminDiagnosticNames

Namespace:  OSIsoft.AF.Diagnostics
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public static class DiagnosticNames
Public NotInheritable Class DiagnosticNames

You do not need to declare an instance of a static class in order to access its members.
public ref class DiagnosticNames abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type DiagnosticNames =  class end

The AFAdminDiagnosticNames type exposes the following members.

Methods

  NameDescription
Public methodStatic member
GetDiagnosticNames
Gets the full list of known diagnostic names that could be returned from the GetDiagnostics(PISystem) method.

Fields

  NameDescription
Public fieldStatic member
ChangedItemsNumberOfRecords
Total number of records in the server's FindChanges_AT table. These are change items to be consumed by client refresh mechanism. Retention is set using ClearChangeTables configuration setting in the server's configuration file.
Public fieldStatic member
ChangedItemsOperationsAwaitingCompaction
Total number of records in the server's FindChanges_AT_Op table. These are change item operations waiting to be compacted by the server's FindChanges cleanup thread.
Public fieldStatic member
DatabaseFileCurrentSizeInMB
Total size of database files (not including transaction log) in megabytes.
Public fieldStatic member
DatabaseLogFileCurrentSizeInMB
Total size of database transaction log in megabytes.
Public fieldStatic member
DatabasesItemsAwaitingDeletion
Total number of records in the server's AFDatabase table marked as being deleted. These are deleted database objects waiting to be cleaned up by SQL cleanup thread.
Public fieldStatic member
PathCacheItemsAwaitingProcessing
Total number of records in the server's afelementpathcachelist. These are path cache changes waiting to be processed by hierarchy path thread.
Public fieldStatic member
PathCacheNumberOfRecords
Total number of records in the server's vwelementhierarchy (active path cache) view.

Remarks

This class contains a list of diagnostic names can be used as keys for the dictionary returned from the GetDiagnostics(PISystem) method. This makes programmatic access to the desired diagnostic information easier.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5

See Also

TitleResults for “How to create a CRG?”Also Available in