📂 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
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
apm_traces
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/apm_traces/models
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: trace.pyc
a N��fO � @ 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 edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zed7d8� �Zejd9d8� �Zd:d;� Zd<d=� Zd>d?� Zd@S )A�Tracez' Definition of a trace object. c K s� ddddddddddddddddddd�| _ d d ddd dddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _dS )a� Initializes a new Trace object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param key: The value to assign to the key property of this Trace. :type key: str :param root_span_operation_name: The value to assign to the root_span_operation_name property of this Trace. :type root_span_operation_name: str :param time_earliest_span_started: The value to assign to the time_earliest_span_started property of this Trace. :type time_earliest_span_started: datetime :param time_latest_span_ended: The value to assign to the time_latest_span_ended property of this Trace. :type time_latest_span_ended: datetime :param span_count: The value to assign to the span_count property of this Trace. :type span_count: int :param error_span_count: The value to assign to the error_span_count property of this Trace. :type error_span_count: int :param root_span_service_name: The value to assign to the root_span_service_name property of this Trace. :type root_span_service_name: str :param time_root_span_started: The value to assign to the time_root_span_started property of this Trace. :type time_root_span_started: datetime :param time_root_span_ended: The value to assign to the time_root_span_ended property of this Trace. :type time_root_span_ended: datetime :param root_span_duration_in_ms: The value to assign to the root_span_duration_in_ms property of this Trace. :type root_span_duration_in_ms: int :param trace_duration_in_ms: The value to assign to the trace_duration_in_ms property of this Trace. :type trace_duration_in_ms: int :param is_fault: The value to assign to the is_fault property of this Trace. :type is_fault: bool :param trace_status: The value to assign to the trace_status property of this Trace. :type trace_status: str :param trace_error_type: The value to assign to the trace_error_type property of this Trace. :type trace_error_type: str :param trace_error_code: The value to assign to the trace_error_code property of this Trace. :type trace_error_code: str :param service_summaries: The value to assign to the service_summaries property of this Trace. :type service_summaries: list[oci.apm_traces.models.TraceServiceSummary] :param span_summary: The value to assign to the span_summary property of this Trace. :type span_summary: oci.apm_traces.models.TraceSpanSummary :param spans: The value to assign to the spans property of this Trace. :type spans: list[oci.apm_traces.models.Span] �str�datetime�int�boolzlist[TraceServiceSummary]�TraceSpanSummaryz list[Span])�key�root_span_operation_name�time_earliest_span_started�time_latest_span_ended� span_count�error_span_count�root_span_service_name�time_root_span_started�time_root_span_ended�root_span_duration_in_ms�trace_duration_in_ms�is_fault�trace_status�trace_error_type�trace_error_code�service_summaries�span_summary�spansr �rootSpanOperationName�timeEarliestSpanStarted�timeLatestSpanEnded� spanCount�errorSpanCount�rootSpanServiceName�timeRootSpanStarted�timeRootSpanEnded�rootSpanDurationInMs�traceDurationInMs�isFault�traceStatus�traceErrorType�traceErrorCode�serviceSummaries�spanSummaryr N)� swagger_types� attribute_map�_key�_root_span_operation_name�_time_earliest_span_started�_time_latest_span_ended�_span_count�_error_span_count�_root_span_service_name�_time_root_span_started�_time_root_span_ended�_root_span_duration_in_ms�_trace_duration_in_ms� _is_fault� _trace_status�_trace_error_type�_trace_error_code�_service_summaries� _span_summary�_spans)�self�kwargs� rD �/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/apm_traces/models/trace.py�__init__ sp O��zTrace.__init__c C s | j S )af **[Required]** Gets the key of this Trace. Unique identifier (traceId) for the trace that represents the span set. Note that this field is defined as traceKey in the API and it maps to the traceId in the trace data in Application Performance Monitoring. :return: The key of this Trace. :rtype: str �r0 �rB rD rD rE r � s z Trace.keyc C s || _ dS )aY Sets the key of this Trace. Unique identifier (traceId) for the trace that represents the span set. Note that this field is defined as traceKey in the API and it maps to the traceId in the trace data in Application Performance Monitoring. :param key: The key of this Trace. :type: str NrG )rB r rD rD rE r � s c C s | j S )a/ Gets the root_span_operation_name of this Trace. Root span name associated with the trace. This is the flow start operation name. Null is displayed if the root span is not yet completed. :return: The root_span_operation_name of this Trace. :rtype: str �r1 rH rD rD rE r � s zTrace.root_span_operation_namec C s || _ dS )aF Sets the root_span_operation_name of this Trace. Root span name associated with the trace. This is the flow start operation name. Null is displayed if the root span is not yet completed. :param root_span_operation_name: The root_span_operation_name of this Trace. :type: str NrI )rB r rD rD rE r � s c C s | j S )z� Gets the time_earliest_span_started of this Trace. Start time of the earliest span in the span collection. :return: The time_earliest_span_started of this Trace. :rtype: datetime �r2 rH rD rD rE r � s z Trace.time_earliest_span_startedc C s || _ dS )z� Sets the time_earliest_span_started of this Trace. Start time of the earliest span in the span collection. :param time_earliest_span_started: The time_earliest_span_started of this Trace. :type: datetime NrJ )rB r rD rD rE r � s c C s | j S )z� Gets the time_latest_span_ended of this Trace. End time of the span that most recently ended in the span collection. :return: The time_latest_span_ended of this Trace. :rtype: datetime �r3 rH rD rD rE r � s zTrace.time_latest_span_endedc C s || _ dS )z� Sets the time_latest_span_ended of this Trace. End time of the span that most recently ended in the span collection. :param time_latest_span_ended: The time_latest_span_ended of this Trace. :type: datetime NrK )rB r rD rD rE r � s c C s | j S )aV Gets the span_count of this Trace. The number of spans that have been processed by the system for the trace. Note that there could be additional spans that have not been processed or reported yet if the trace is still in progress. :return: The span_count of this Trace. :rtype: int �r4 rH rD rD rE r s zTrace.span_countc C s || _ dS )a_ Sets the span_count of this Trace. The number of spans that have been processed by the system for the trace. Note that there could be additional spans that have not been processed or reported yet if the trace is still in progress. :param span_count: The span_count of this Trace. :type: int NrL )rB r rD rD rE r s c C s | j S )a[ Gets the error_span_count of this Trace. The number of spans with errors that have been processed by the system for the trace. Note that the number of spans with errors will be less than or equal to the total number of spans in the trace. :return: The error_span_count of this Trace. :rtype: int �r5 rH rD rD rE r s zTrace.error_span_countc C s || _ dS )aj Sets the error_span_count of this Trace. The number of spans with errors that have been processed by the system for the trace. Note that the number of spans with errors will be less than or equal to the total number of spans in the trace. :param error_span_count: The error_span_count of this Trace. :type: int NrM )rB r rD rD rE r * s c C s | j S )z� Gets the root_span_service_name of this Trace. Service associated with the trace. :return: The root_span_service_name of this Trace. :rtype: str �r6 rH rD rD rE r 7 s zTrace.root_span_service_namec C s || _ dS )z� Sets the root_span_service_name of this Trace. Service associated with the trace. :param root_span_service_name: The root_span_service_name of this Trace. :type: str NrN )rB r rD rD rE r C s c C s | j S )z� Gets the time_root_span_started of this Trace. Start time of the root span for the span collection. :return: The time_root_span_started of this Trace. :rtype: datetime �r7 rH rD rD rE r O s zTrace.time_root_span_startedc C s || _ dS )z� Sets the time_root_span_started of this Trace. Start time of the root span for the span collection. :param time_root_span_started: The time_root_span_started of this Trace. :type: datetime NrO )rB r rD rD rE r [ s c C s | j S )z� Gets the time_root_span_ended of this Trace. End time of the root span for the span collection. :return: The time_root_span_ended of this Trace. :rtype: datetime �r8 rH rD rD rE r g s zTrace.time_root_span_endedc C s || _ dS )z� Sets the time_root_span_ended of this Trace. End time of the root span for the span collection. :param time_root_span_ended: The time_root_span_ended of this Trace. :type: datetime NrP )rB r rD rD rE r s s c C s | j S )z� Gets the root_span_duration_in_ms of this Trace. Time taken for the root span operation to complete in milliseconds. :return: The root_span_duration_in_ms of this Trace. :rtype: int �r9 rH rD rD rE r s zTrace.root_span_duration_in_msc C s || _ dS )z� Sets the root_span_duration_in_ms of this Trace. Time taken for the root span operation to complete in milliseconds. :param root_span_duration_in_ms: The root_span_duration_in_ms of this Trace. :type: int NrQ )rB r rD rD rE r � s c C s | j S )z� Gets the trace_duration_in_ms of this Trace. Time between the start of the earliest span and the end of the most recent span in milliseconds. :return: The trace_duration_in_ms of this Trace. :rtype: int �r: rH rD rD rE r � s zTrace.trace_duration_in_msc C s || _ dS )a Sets the trace_duration_in_ms of this Trace. Time between the start of the earliest span and the end of the most recent span in milliseconds. :param trace_duration_in_ms: The trace_duration_in_ms of this Trace. :type: int NrR )rB r rD rD rE r � s c C s | j S )z� Gets the is_fault of this Trace. Boolean flag that indicates whether the trace has an error. :return: The is_fault of this Trace. :rtype: bool �r; rH rD rD rE r � s zTrace.is_faultc C s || _ dS )z� Sets the is_fault of this Trace. Boolean flag that indicates whether the trace has an error. :param is_fault: The is_fault of this Trace. :type: bool NrS )rB r rD rD rE r � s c C s | j S )aQ Gets the trace_status of this Trace. The status of the trace. The trace statuses are defined as follows: complete - a root span has been recorded, but there is no information on the errors. success - a complete root span is recorded there is a successful error type and error code - HTTP 200. incomplete - the root span has not yet been received. error - the root span returned with an error. There may or may not be an associated error code or error type. :return: The trace_status of this Trace. :rtype: str �r<