TestSpanEnrichmentOutput¶
- class oci.apm_config.models.TestSpanEnrichmentOutput(**kwargs)¶
Bases:
TestOutputOutput of running a set of span enrichment rules against a span.
Attributes:
A constant which can be used with the test_type property of a TestOutput.
Gets the filters of this TestSpanEnrichmentOutput.
Gets the span of this TestSpanEnrichmentOutput.
[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'¶
A constant which can be used with the test_type property of a TestOutput. This constant has a value of “SPAN_ENRICHMENT”
- __init__(**kwargs)¶
Initializes a new TestSpanEnrichmentOutput object with values from keyword arguments. The default value of the
test_typeattribute of this class isSPAN_ENRICHMENTand 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.
- property 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.
- property span¶
Gets the span of this TestSpanEnrichmentOutput. The span after applying enrichment rules.
- Returns
The span of this TestSpanEnrichmentOutput.
- Return type
object
- property 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