Class Metric
Stores precomputed aggregated analytic data for an entity.
Namespace: Google.Backstory
Assembly: Google.Backstory.dll
Syntax
public sealed class Metric : IMessage<Metric>, IEquatable<Metric>, IDeepCloneable<Metric>, IBufferMessage, IMessage
Constructors
Metric()
Declaration
public Metric()
Metric(Metric)
Declaration
public Metric(Metric other)
Parameters
| Type | Name | Description |
|---|---|---|
| Metric | other |
Properties
Dimensions
All group by clauses used to calculate the metric.
Declaration
public RepeatedField<Metric.Types.Dimension> Dimensions { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<Metric.Types.Dimension> |
DisplayName
Display name of the custom metric. Google-authored metrics do not have a display name.
Declaration
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ExportWindow
Export window for which the metric was exported.
Declaration
public long ExportWindow { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
FirstSeen
Timestamp of the first time the entity was seen in the environment.
Declaration
public Timestamp FirstSeen { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
LastSeen
Time stamp of the last time last time the entity was seen in the environment.
Declaration
public Timestamp LastSeen { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
MatchVariables
List of match variables used in the custom metric.
Declaration
public RepeatedField<FindingVariable> MatchVariables { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<FindingVariable> |
MetricName
Name of the analytic.
Declaration
public Metric.Types.MetricName MetricName { get; set; }
Property Value
| Type | Description |
|---|---|
| Metric.Types.MetricName |
OutcomeVariables
List of outcome variables used in the custom metric.
Declaration
public RepeatedField<FindingVariable> OutcomeVariables { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<FindingVariable> |
SumMeasure
Sum of all precomputed measures for the given metric.
Declaration
public Metric.Types.Measure SumMeasure { get; set; }
Property Value
| Type | Description |
|---|---|
| Metric.Types.Measure |
TimeRange
Time range for which the custom metric was calculated.
Declaration
public Interval TimeRange { get; set; }
Property Value
| Type | Description |
|---|---|
| Interval |
TotalEvents
Total number of events used to calculate the given precomputed metric.
Declaration
public long TotalEvents { get; set; }
Property Value
| Type | Description |
|---|---|
| long |