CodeLocation
¶
Source code in docs_src/capo_application_signals/types/code_location.py
class_name
instance-attribute
¶
class_name: NotRequired[str]
The class or type name that contains the method. This is required for Java and optional for Python module-level functions.
code_unit
instance-attribute
¶
code_unit: NotRequired[str]
The package, module, or namespace that contains the target code, for example com.amazon.payment or payment_service.
file_path
instance-attribute
¶
file_path: str
The source file path relative to the project or source root, such as src/payment/PaymentProcessor.java or src/payment/PaymentProcessor.py.
language
instance-attribute
¶
language: ProgrammingLanguage
The programming language for this instrumentation point, such as Java, Python, or JavaScript.