You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,14 +79,14 @@ All initialization options:
79
79
*`app_version` (Optional) Sets application version, which can be used to associate profiling information with the source code release.
80
80
*`app_environment` (Optional) Used to differentiate applications in different environments.
81
81
*`host_name` (Optional) By default, host name will be the OS hostname.
82
-
*`auto_profiling` (Optional) If set to `False`, disables automatic profiling and reporting. Programmatic or manual profiling should be used instead. Useful for environments without support for timers or background tasks.
82
+
*`auto_profiling` (Optional) If set to `False`, disables automatic profiling and reporting. Focused or manual profiling should be used instead. Useful for environments without support for timers or background tasks.
83
83
*`debug` (Optional) Enables debug logging.
84
84
*`cpu_profiler_disabled`, `allocation_profiler_disabled`, `block_profiler_disabled`, `error_profiler_disabled` (Optional) Disables respective profiler when `True`.
85
85
*`include_agent_frames` (Optional) Set to `True` to not exclude agent stack frames from profile call graphs.
86
86
*`auto_destroy` (Optional) Set to `False` to disable agent's exit handlers. If necessary, call `destroy()` to gracefully shutdown the agent.
87
87
88
88
89
-
#### Programmatic profiling
89
+
#### Focused profiling
90
90
91
91
Use `agent.profile(name)` to instruct the agent when to start and stop profiling. The agent decides if and which profiler is activated. Normally, this method should be used in repeating code, such as request or event handlers. In addition to more precise profiling, timing information will also be reported for the profiled spans. Usage example:
0 commit comments