DataRecord Class

Definition

This class contains all of the data associated with a specific timestamp. For certain data sources, multiple data points are generated for each timestamp. For example, the network well-known series reports both BytesInbound, BytesOutbound, and BytesTotal for each timestamp.

The order of data points within each DataRecord is specified in the SeriesNames dictionary.

For example, the SeriesNames object for the volume well-known series volume looks like: { {Size, 0} {SizeUsed, 1} {SizeFree, 2} } This means that for a given timestamp DateTime, there exists an array of three elements (Values), which looks like [{SizeValue}, {SizeUsedValue}, {SizeFreeValue}].

For the CPU well-known series, the SeriesNames looks like: { {ProcessorTime, 0} } So, for a given timestamp DateTime, there's an array with one value Values, which looks like [{ProcessorTimeValue}].

For the networking well-known series, SeriesNames looks like:
{ {BytesMaximum, 0} {BytesInbound, 1} {BytesOutbound, 2} {BytesTotal, 3} } So, for a given timestamp DateTime, the Values is an array of 4 elements, which looks like [{BytesMaximumValue}, {BytesInboundValue}, {BytesOutboundValue}, {BytesTotal}].

For the physical disk well-known series, SeriesNames looks like:
{ {Size, 0} } So, for a given timestamp DateTime, the Values is an array of 1 element, which looks like [{SizeValue}].

For each instance of a performance counter,SeriesNames looks like: { {"CounterValue", 0} } So, for a given timestamp DateTime, the Values is an array of 1 element, which looks like [{CounterValue}].

For each event data source, the SeriesNames looks like: { {"EventCount", 0} } So, for a given timestamp DateTime, the Values is an array of 1 element, which looks like [{EventCount}].

public ref class DataRecord : MarshalByRefObject
public class DataRecord : MarshalByRefObject
type DataRecord = class
    inherit MarshalByRefObject
Public Class DataRecord
Inherits MarshalByRefObject
Inheritance
DataRecord

Constructors

DataRecord(DateTime, IReadOnlyList<Double>)

Constructor for the DataRecord

Properties

DateTime

Specifies the timestamp for the record.

Values

The data recorded at a given timestamp.

Applies to