TestSpanEnrichmentOutput¶
-
class
oci.apm_config.models.
TestSpanEnrichmentOutput
(**kwargs)¶ Bases:
oci.apm_config.models.test_output.TestOutput
Output of running a set of span enrichment rules against a span.
Attributes
TEST_TYPE_SPAN_ENRICHMENT
str(object=’’) -> str filters
Gets the filters of this TestSpanEnrichmentOutput. span
Gets the span of this TestSpanEnrichmentOutput. test_type
[Required] Gets the test_type of this TestOutput. Methods
__init__
(**kwargs)Initializes a new TestSpanEnrichmentOutput object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
TEST_TYPE_SPAN_ENRICHMENT
= 'SPAN_ENRICHMENT'¶
-
__init__
(**kwargs)¶ Initializes a new TestSpanEnrichmentOutput object with values from keyword arguments. The default value of the
test_type
attribute of this class isSPAN_ENRICHMENT
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - test_type (str) – The value to assign to the test_type property of this TestSpanEnrichmentOutput. Allowed values for this property are: “SPAN_ENRICHMENT”
- span (object) – The value to assign to the span property of this TestSpanEnrichmentOutput.
- filters (list[bool]) – The value to assign to the filters property of this TestSpanEnrichmentOutput.
-
filters
¶ Gets the filters of this TestSpanEnrichmentOutput. A list of booleans indicating whether the corresponding filter in the input matched the input span.
Returns: The filters of this TestSpanEnrichmentOutput. Return type: list[bool]
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
span
¶ Gets the span of this TestSpanEnrichmentOutput. The span after applying enrichment rules.
Returns: The span of this TestSpanEnrichmentOutput. Return type: object
-
test_type
¶ [Required] Gets the test_type of this TestOutput. The kind of test output.
Allowed values for this property are: “SPAN_ENRICHMENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The test_type of this TestOutput. Return type: str
-