TagMetadata

class oci.apm_traces.models.TagMetadata(**kwargs)

Bases: object

Definition of the tag metadata.

Attributes

TAG_TYPE_NUMERIC A constant which can be used with the tag_type property of a TagMetadata.
TAG_TYPE_STRING A constant which can be used with the tag_type property of a TagMetadata.
TAG_UNIT_BYTES A constant which can be used with the tag_unit property of a TagMetadata.
TAG_UNIT_COUNT A constant which can be used with the tag_unit property of a TagMetadata.
TAG_UNIT_DURATION_MS A constant which can be used with the tag_unit property of a TagMetadata.
TAG_UNIT_EPOCH_TIME_MS A constant which can be used with the tag_unit property of a TagMetadata.
TAG_UNIT_NONE A constant which can be used with the tag_unit property of a TagMetadata.
TAG_UNIT_PERCENTAGE A constant which can be used with the tag_unit property of a TagMetadata.
TAG_UNIT_TRACE_STATUS A constant which can be used with the tag_unit property of a TagMetadata.
tag_type Gets the tag_type of this TagMetadata.
tag_unit Gets the tag_unit of this TagMetadata.

Methods

__init__(**kwargs) Initializes a new TagMetadata object with values from keyword arguments.
TAG_TYPE_NUMERIC = 'NUMERIC'

A constant which can be used with the tag_type property of a TagMetadata. This constant has a value of “NUMERIC”

TAG_TYPE_STRING = 'STRING'

A constant which can be used with the tag_type property of a TagMetadata. This constant has a value of “STRING”

TAG_UNIT_BYTES = 'BYTES'

A constant which can be used with the tag_unit property of a TagMetadata. This constant has a value of “BYTES”

TAG_UNIT_COUNT = 'COUNT'

A constant which can be used with the tag_unit property of a TagMetadata. This constant has a value of “COUNT”

TAG_UNIT_DURATION_MS = 'DURATION_MS'

A constant which can be used with the tag_unit property of a TagMetadata. This constant has a value of “DURATION_MS”

TAG_UNIT_EPOCH_TIME_MS = 'EPOCH_TIME_MS'

A constant which can be used with the tag_unit property of a TagMetadata. This constant has a value of “EPOCH_TIME_MS”

TAG_UNIT_NONE = 'NONE'

A constant which can be used with the tag_unit property of a TagMetadata. This constant has a value of “NONE”

TAG_UNIT_PERCENTAGE = 'PERCENTAGE'

A constant which can be used with the tag_unit property of a TagMetadata. This constant has a value of “PERCENTAGE”

TAG_UNIT_TRACE_STATUS = 'TRACE_STATUS'

A constant which can be used with the tag_unit property of a TagMetadata. This constant has a value of “TRACE_STATUS”

__init__(**kwargs)

Initializes a new TagMetadata object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • tag_type (str) – The value to assign to the tag_type property of this TagMetadata. Allowed values for this property are: “STRING”, “NUMERIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • tag_unit (str) – The value to assign to the tag_unit property of this TagMetadata. Allowed values for this property are: “EPOCH_TIME_MS”, “BYTES”, “COUNT”, “DURATION_MS”, “TRACE_STATUS”, “PERCENTAGE”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
tag_type

Gets the tag_type of this TagMetadata. Type associated with the tag key.

Allowed values for this property are: “STRING”, “NUMERIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The tag_type of this TagMetadata.
Return type:str
tag_unit

Gets the tag_unit of this TagMetadata. Unit associated with the tag key.

Allowed values for this property are: “EPOCH_TIME_MS”, “BYTES”, “COUNT”, “DURATION_MS”, “TRACE_STATUS”, “PERCENTAGE”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The tag_unit of this TagMetadata.
Return type:str