📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
apm_config
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/apm_config/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: apdex.cpython-39.opt-1.pyc
a ���fX+ � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z dd� Zdd� Zdd� ZdS ) �Apdexa� An Apdex configuration rule. The Apdex score is computed based on how the response time of a span compares to two predefined threshold values. The first threshold defines the maximum response time that is considered satisfactory for the end user. The second one defines the maximum response time that is considered tolerable. All times larger than that will be considered frustrating for the end user. An Apdex configuration rule works by selecting a subset of spans based on a filter expression and applying the two threshold comparisons to compute a score for each of the selected spans. The rule has an "isApplyToErrorSpans" property that controls whether or not to compute the Apdex for spans that have been marked as errors. If this property is set to "true", then the Apdex score for error spans is computed in the same way as for non-error ones. If set to "false", then computation for error spans is skipped, and the score is set to "frustrating" regardless of the configured thresholds. The default is "false". The "isEnabled" property controls whether or not an Apdex score is computed and can be used to disable Apdex score for certain spans. The default is "true". The "priority" property specifies the importance of the rule within a rule set. Lower values indicate a higher priority. Rules with higher priorities are evaluated first in the rule set. The priority of the rules must be unique within a rule set. c K sZ dddddddd�| _ ddddd d dd�| _d| _d| _d| _d| _d| _d| _d| _dS ) a� Initializes a new Apdex object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param filter_text: The value to assign to the filter_text property of this Apdex. :type filter_text: str :param priority: The value to assign to the priority property of this Apdex. :type priority: int :param is_enabled: The value to assign to the is_enabled property of this Apdex. :type is_enabled: bool :param satisfied_response_time: The value to assign to the satisfied_response_time property of this Apdex. :type satisfied_response_time: int :param tolerating_response_time: The value to assign to the tolerating_response_time property of this Apdex. :type tolerating_response_time: int :param is_apply_to_error_spans: The value to assign to the is_apply_to_error_spans property of this Apdex. :type is_apply_to_error_spans: bool :param display_name: The value to assign to the display_name property of this Apdex. :type display_name: str �str�int�bool)�filter_text�priority� is_enabled�satisfied_response_time�tolerating_response_time�is_apply_to_error_spans�display_nameZ filterTextr Z isEnabledZsatisfiedResponseTimeZtoleratingResponseTimeZisApplyToErrorSpansZdisplayNameN) Z swagger_typesZ attribute_map�_filter_text� _priority�_is_enabled�_satisfied_response_time�_tolerating_response_time�_is_apply_to_error_spans� _display_name)�self�kwargs� r �?/usr/lib/python3.9/site-packages/oci/apm_config/models/apdex.py�__init__! s. #�� zApdex.__init__c C s | j S )z� **[Required]** Gets the filter_text of this Apdex. The string that defines the Span Filter expression. :return: The filter_text of this Apdex. :rtype: str �r �r r r r r _ s zApdex.filter_textc C s || _ dS )z� Sets the filter_text of this Apdex. The string that defines the Span Filter expression. :param filter_text: The filter_text of this Apdex. :type: str Nr )r r r r r r k s c C s | j S )a� **[Required]** Gets the priority of this Apdex. The priority controls the order in which multiple rules in a rule set are applied. Lower values indicate higher priorities. Rules with higher priority are applied first, and once a match is found, the rest of the rules are ignored. Rules within the same rule set cannot have the same priority. :return: The priority of this Apdex. :rtype: int �r r r r r r w s zApdex.priorityc C s || _ dS )a� Sets the priority of this Apdex. The priority controls the order in which multiple rules in a rule set are applied. Lower values indicate higher priorities. Rules with higher priority are applied first, and once a match is found, the rest of the rules are ignored. Rules within the same rule set cannot have the same priority. :param priority: The priority of this Apdex. :type: int Nr )r r r r r r � s c C s | j S )aE Gets the is_enabled of this Apdex. Specifies whether the Apdex score should be computed for spans matching the rule. This can be used to disable Apdex score for spans that do not need or require it. The default is "true". :return: The is_enabled of this Apdex. :rtype: bool �r r r r r r � s zApdex.is_enabledc C s || _ dS )aN Sets the is_enabled of this Apdex. Specifies whether the Apdex score should be computed for spans matching the rule. This can be used to disable Apdex score for spans that do not need or require it. The default is "true". :param is_enabled: The is_enabled of this Apdex. :type: bool Nr )r r r r r r � s c C s | j S )z� Gets the satisfied_response_time of this Apdex. The maximum response time in milliseconds that is considered "satisfactory" for the end user. :return: The satisfied_response_time of this Apdex. :rtype: int �r r r r r r � s zApdex.satisfied_response_timec C s || _ dS )a Sets the satisfied_response_time of this Apdex. The maximum response time in milliseconds that is considered "satisfactory" for the end user. :param satisfied_response_time: The satisfied_response_time of this Apdex. :type: int Nr! )r r r r r r � s c C s | j S )a� Gets the tolerating_response_time of this Apdex. The maximum response time in milliseconds that is considered "tolerable" for the end user. A response time beyond this threshold is considered "frustrating". This value cannot be lower than "satisfiedResponseTime". :return: The tolerating_response_time of this Apdex. :rtype: int �r r r r r r � s zApdex.tolerating_response_timec C s || _ dS )a� Sets the tolerating_response_time of this Apdex. The maximum response time in milliseconds that is considered "tolerable" for the end user. A response time beyond this threshold is considered "frustrating". This value cannot be lower than "satisfiedResponseTime". :param tolerating_response_time: The tolerating_response_time of this Apdex. :type: int Nr"