Skip to content

SelectionConfig

Source code in docs_src/capo_application_signals/types/selection_config.py
class SelectionConfig(TypedDict, closed=True):
    type: "capo_application_signals.types.selection_type.SelectionType"
    pattern: NotRequired[
        "capo_application_signals.types.selection_pattern.SelectionPattern"
    ]
    """<p>A prefix string or regular expression that specifies which operations to include in a service-level SLO. When <code>SelectionType</code> is <code>PREFIX</code>, this value is a prefix string that matches the beginning of operation names. When <code>SelectionType</code> is <code>REGEX</code>, this value is a regular expression that matches operation names.</p>"""

pattern instance-attribute

pattern: NotRequired[SelectionPattern]

A prefix string or regular expression that specifies which operations to include in a service-level SLO. When SelectionType is PREFIX, this value is a prefix string that matches the beginning of operation names. When SelectionType is REGEX, this value is a regular expression that matches operation names.

type instance-attribute