Attribute
Attribute
¶
Bases: ABC
Source code in lib/python/src/aria/ops/definition/attribute.py
__init__(key, label=None, unit=None, is_rate=False, is_discrete=False, is_kpi=False, is_impact=False, is_key_attribute=False, dashboard_order=0)
¶
Parameters:
Name | Type | Description | Default |
---|---|---|---|
key |
str
|
Used to identify the parameter. |
required |
label |
Optional[str]
|
Label that is displayed in the VMware Aria Operations UI. Defaults to the key. |
None
|
unit |
Optional[str]
|
Specifies what unit this metric is returned in. This allows the UI to display the units in a |
None
|
consistent manner, and perform conversions when appropriate. is_rate (bool): Declares this attribute as a rate (e.g., kilobytes per second). If a unit is specified, this will be set automatically. Otherwise, defaults to False. is_discrete (bool): Declares that this attribute's range of values is discrete (integer) rather than continuous (floating point). Defaults to False. is_kpi (bool): If set, threshold breaches for this metric will be used in the calculation of the object's 'Self - Health Score' metric, which can affect the 'Anomalies' Badge. Defaults to False. is_impact (bool): If set, this attribute will never be the 'root cause' of an issue. For example, it could be a proxy to a root cause, but not the root cause itself. Defaults to False. is_key_attribute (bool): True if the attribute should be shown in some object summary widgets in the UI. dashboard_order (int): Determines the order parameters will be displayed in the UI. Defaults to 0
Source code in lib/python/src/aria/ops/definition/attribute.py
MetricAttribute
¶
Bases: Attribute
Source code in lib/python/src/aria/ops/definition/attribute.py
__init__(key, label=None, unit=None, is_rate=False, is_discrete=False, is_kpi=False, is_impact=False, is_key_attribute=False, dashboard_order=0)
¶
Parameters:
Name | Type | Description | Default |
---|---|---|---|
key |
str
|
Used to identify the parameter. |
required |
label |
Optional[str]
|
Label that is displayed in the VMware Aria Operations UI. Defaults to the key. |
None
|
unit |
Optional[Unit]
|
Specifies what unit this metric is returned in. This allows the UI to display the units in a consistent manner, and perform conversions when appropriate. |
None
|
is_rate |
bool
|
Declares this attribute as a rate (e.g., kilobytes per second). If a unit is specified, this will be set automatically. Otherwise, defaults to False. |
False
|
is_discrete |
bool
|
Declares that this attribute's range of values is discrete (integer) rather than continuous (floating point) |
False
|
is_kpi |
bool
|
If set, threshold breaches for this metric will be used in the calculation of the object's 'Self - Health Score' metric, which can affect the 'Anomalies' Badge. |
False
|
is_impact |
bool
|
If set, this attribute will never be the 'root cause' of an issue. For example, it could be a proxy to a root cause, but not the root cause itself. |
False
|
is_key_attribute |
bool
|
True if the attribute should be shown in some object summary widgets in the UI. |
False
|
dashboard_order |
bool
|
Determines the order parameters will be displayed in the UI. |
0
|
Source code in lib/python/src/aria/ops/definition/attribute.py
PropertyAttribute
¶
Bases: Attribute
Source code in lib/python/src/aria/ops/definition/attribute.py
__init__(key, label=None, is_string=True, unit=None, is_rate=False, is_discrete=False, is_kpi=False, is_impact=False, is_key_attribute=False, dashboard_order=0)
¶
Parameters:
Name | Type | Description | Default |
---|---|---|---|
key |
str
|
Used to identify the parameter. |
required |
label |
Optional[str]
|
Label that is displayed in the VMware Aria Operations UI. Defaults to the key. |
None
|
is_string |
bool
|
Determines if the property is numeric or string (text). |
True
|
unit |
Optional[Unit]
|
Specifies what unit this metric is returned in. This allows the UI to display the units in a consistent manner, and perform conversions when appropriate. |
None
|
is_rate |
bool
|
Declares this attribute as a rate (e.g., kilobytes per second). If a unit is specified, this will be set automatically. Otherwise, defaults to False. |
False
|
is_discrete |
bool
|
Declares that this attribute's range of values is discrete (integer) rather than continuous (floating point). Defaults to False, unless 'is_string' is set, in which case it will always be set to True. |
False
|
is_kpi |
bool
|
If set, threshold breaches for this metric will be used in the calculation of the object's 'Self - Health Score' metric, which can affect the 'Anomalies' Badge. |
False
|
is_impact |
bool
|
If set, this attribute will never be the 'root cause' of an issue. For example, it could be a proxy to a root cause, but not the root cause itself. |
False
|
is_key_attribute |
bool
|
True if the attribute should be shown in some object summary widgets in the UI. |
False
|
dashboard_order |
int
|
Determines the order parameters will be displayed in the UI. |
0
|