File tree 2 files changed +6
-0
lines changed 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -285,6 +285,8 @@ See the documentation for more information:
285
285
* [ ` trace_sql_database_request ` ] ( https://dynatrace.github.io/OneAgent-SDK-for-Python/docs/sdkref.html#oneagent.sdk.SDK.trace_sql_database_request )
286
286
* [ ` DatabaseRequestTracer ` ] ( https://dynatrace.github.io/OneAgent-SDK-for-Python/docs/sdkref.html#oneagent.sdk.tracers.DatabaseRequestTracer )
287
287
288
+ Please note that SQL database traces are only created if they occur within some other SDK trace (e.g. incoming remote call).
289
+
288
290
<a name =" incoming-web-requests " ></a >
289
291
### Incoming web requests
290
292
Original file line number Diff line number Diff line change @@ -136,6 +136,10 @@ def create_web_application_info(
136
136
def trace_sql_database_request (self , database , sql ):
137
137
'''Create a tracer for the given database info and SQL statement.
138
138
139
+ .. note::
140
+ Please note that SQL database traces are only created if they occur
141
+ within some other SDK trace (e.g. incoming remote call).
142
+
139
143
:param DbInfoHandle database: Database information (see
140
144
:meth:`create_database_info`).
141
145
:param str sql: The SQL statement to trace.
You can’t perform that action at this time.
0 commit comments