Table of Contents

Class MetricSample

Namespace
Quilt4Net.Toolkit.Features.ApplicationInsights
Assembly
Quilt4Net.Toolkit.dll

One point of a host-grouped time series, materialised from a customMetrics KQL query.

Series is the per-line legend label — typically cloud_RoleInstance, or {cloud_RoleInstance} {device} for the disk metric where a single host can host several filesystems. The value is in the metric's natural unit (CPU/memory: percent, disk: GB, network: MB/s — see IApplicationInsightsService's metric methods).

public record MetricSample : IEquatable<MetricSample>
Inheritance
MetricSample
Implements
Inherited Members

Constructors

MetricSample(string, DateTime, double)

One point of a host-grouped time series, materialised from a customMetrics KQL query.

Series is the per-line legend label — typically cloud_RoleInstance, or {cloud_RoleInstance} {device} for the disk metric where a single host can host several filesystems. The value is in the metric's natural unit (CPU/memory: percent, disk: GB, network: MB/s — see IApplicationInsightsService's metric methods).

public MetricSample(string Series, DateTime Timestamp, double Value)

Parameters

Series string

Legend / series label.

Timestamp DateTime

Bin start (UTC).

Value double

Aggregated value for the bin, in the metric's natural unit.

Properties

Series

Legend / series label.

public string Series { get; init; }

Property Value

string

Timestamp

Bin start (UTC).

public DateTime Timestamp { get; init; }

Property Value

DateTime

Value

Aggregated value for the bin, in the metric's natural unit.

public double Value { get; init; }

Property Value

double