FilterTextOrId

class oci.apm_config.models.FilterTextOrId(**kwargs)

Bases: object

A span filter written in text, or as the OCID of a SpanFilter resource. If both are given, the filterText is used.

Methods

__init__(**kwargs) Initializes a new FilterTextOrId object with values from keyword arguments.

Attributes

filter_id Gets the filter_id of this FilterTextOrId.
filter_text Gets the filter_text of this FilterTextOrId.
__init__(**kwargs)

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

Parameters:
  • filter_id (str) – The value to assign to the filter_id property of this FilterTextOrId.
  • filter_text (str) – The value to assign to the filter_text property of this FilterTextOrId.
filter_id

Gets the filter_id of this FilterTextOrId. The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created.

Returns:The filter_id of this FilterTextOrId.
Return type:str
filter_text

Gets the filter_text of this FilterTextOrId. The string that defines the Span Filter expression.

Returns:The filter_text of this FilterTextOrId.
Return type:str