Class Metric
A message representing the actual monitoring data, values for each key bucket over time, of a metric.
Implements
Inherited Members
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class Metric : IDirectResponseSchema
Properties
Aggregation
The aggregation function used to aggregate each key bucket
Declaration
[JsonProperty("aggregation")]
public virtual string Aggregation { get; set; }
Property Value
Type | Description |
---|---|
string |
Category
The category of the metric, e.g. "Activity", "Alerts", "Reads", etc.
Declaration
[JsonProperty("category")]
public virtual LocalizedString Category { get; set; }
Property Value
Type | Description |
---|---|
LocalizedString |
Derived
The references to numerator and denominator metrics for a derived metric.
Declaration
[JsonProperty("derived")]
public virtual DerivedMetric Derived { get; set; }
Property Value
Type | Description |
---|---|
DerivedMetric |
DisplayLabel
The displayed label of the metric.
Declaration
[JsonProperty("displayLabel")]
public virtual LocalizedString DisplayLabel { get; set; }
Property Value
Type | Description |
---|---|
LocalizedString |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
HasNonzeroData
Whether the metric has any non-zero data.
Declaration
[JsonProperty("hasNonzeroData")]
public virtual bool? HasNonzeroData { get; set; }
Property Value
Type | Description |
---|---|
bool? |
HotValue
The value that is considered hot for the metric. On a per metric basis hotness signals high utilization and something that might potentially be a cause for concern by the end user. hot_value is used to calibrate and scale visual color scales.
Declaration
[JsonProperty("hotValue")]
public virtual float? HotValue { get; set; }
Property Value
Type | Description |
---|---|
float? |
IndexedHotKeys
The (sparse) mapping from time index to an IndexedHotKey message, representing those time intervals for which there are hot keys.
Declaration
[JsonProperty("indexedHotKeys")]
public virtual IDictionary<string, IndexedHotKey> IndexedHotKeys { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, IndexedHotKey> |
IndexedKeyRangeInfos
The (sparse) mapping from time interval index to an IndexedKeyRangeInfos message, representing those time intervals for which there are informational messages concerning key ranges.
Declaration
[JsonProperty("indexedKeyRangeInfos")]
public virtual IDictionary<string, IndexedKeyRangeInfos> IndexedKeyRangeInfos { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, IndexedKeyRangeInfos> |
Info
Information about the metric.
Declaration
[JsonProperty("info")]
public virtual LocalizedString Info { get; set; }
Property Value
Type | Description |
---|---|
LocalizedString |
Matrix
The data for the metric as a matrix.
Declaration
[JsonProperty("matrix")]
public virtual MetricMatrix Matrix { get; set; }
Property Value
Type | Description |
---|---|
MetricMatrix |
Unit
The unit of the metric.
Declaration
[JsonProperty("unit")]
public virtual LocalizedString Unit { get; set; }
Property Value
Type | Description |
---|---|
LocalizedString |
Visible
Whether the metric is visible to the end user.
Declaration
[JsonProperty("visible")]
public virtual bool? Visible { get; set; }
Property Value
Type | Description |
---|---|
bool? |