StackTraceElement¶
-
class
oci.apm_traces.models.
StackTraceElement
(**kwargs)¶ Bases:
object
Stack trace element.
Methods
__init__
(**kwargs)Initializes a new StackTraceElement object with values from keyword arguments. Attributes
class_name
Gets the class_name of this StackTraceElement. file_name
Gets the file_name of this StackTraceElement. line_number
Gets the line_number of this StackTraceElement. method_name
Gets the method_name of this StackTraceElement. weightage
Gets the weightage of this StackTraceElement. -
__init__
(**kwargs)¶ Initializes a new StackTraceElement object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - method_name (str) – The value to assign to the method_name property of this StackTraceElement.
- file_name (str) – The value to assign to the file_name property of this StackTraceElement.
- line_number (int) – The value to assign to the line_number property of this StackTraceElement.
- class_name (str) – The value to assign to the class_name property of this StackTraceElement.
- weightage (float) – The value to assign to the weightage property of this StackTraceElement.
-
class_name
¶ Gets the class_name of this StackTraceElement. Name of the class containing the execution point.
Returns: The class_name of this StackTraceElement. Return type: str
-
file_name
¶ Gets the file_name of this StackTraceElement. Name of the source file containing the execution point.
Returns: The file_name of this StackTraceElement. Return type: str
-
line_number
¶ Gets the line_number of this StackTraceElement. Line number of the source line containing the execution point.
Returns: The line_number of this StackTraceElement. Return type: int
-
method_name
¶ Gets the method_name of this StackTraceElement. Name of the method containing the execution point.
Returns: The method_name of this StackTraceElement. Return type: str
-
weightage
¶ Gets the weightage of this StackTraceElement. The weight distribution that denotes the percentage occurrence of a method in the captured snapshots.
Returns: The weightage of this StackTraceElement. Return type: float
-