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: libraries/botbuilder-applicationinsights/botbuilder/applicationinsights/application_insights_telemetry_client.py
:param name: The name for this request. All requests with the same name will be grouped together.
187
197
:param url: The actual URL for this request (to show in individual request instances).
188
198
F438
:param success: True if the request ended in success, False otherwise.
189
-
:param start_time: the start time of the request. The value should look the same as the one returned by :func:`datetime.isoformat()` (defaults to: None)
199
+
:param start_time: the start time of the request. The value should look the same as the one returned by
200
+
:func:`datetime.isoformat()` (defaults to: None)
190
201
:param duration: the number of milliseconds that this request lasted. (defaults to: None)
191
202
:param response_code: the response code that this request returned. (defaults to: None)
192
203
:param http_method: the HTTP method that triggered this request. (defaults to: None)
193
-
:param properties: the set of custom properties the client wants attached to this data item. (defaults to: None)
194
-
:param measurements: the set of custom measurements the client wants to attach to this data item. (defaults to: None)
204
+
:param properties: the set of custom properties the client wants attached to this data item.
205
+
(defaults to: None)
206
+
:param measurements: the set of custom measurements the client wants to attach to this data item.
207
+
(defaults to: None)
195
208
:param request_id: the id for this request. If None, a new uuid will be generated. (defaults to: None)
196
209
"""
197
210
self._client.track_request(
@@ -222,15 +235,24 @@ def track_dependency(
222
235
):
223
236
"""
224
237
Sends a single dependency telemetry that was captured for the application.
225
-
:param name: the name of the command initiated with this dependency call. Low cardinality value. Examples are stored procedure name and URL path template.
226
-
:param data: the command initiated by this dependency call. Examples are SQL statement and HTTP URL with all query parameters.
227
-
:param type_name: the dependency type name. Low cardinality value for logical grouping of dependencies and interpretation of other fields like commandName and resultCode. Examples are SQL, Azure table, and HTTP. (default to: None)
228
-
:param target: the target site of a dependency call. Examples are server name, host address. (default to: None)
229
-
:param duration: the number of milliseconds that this dependency call lasted. (defaults to: None)
230
-
:param success: true if the dependency call ended in success, false otherwise. (defaults to: None)
231
-
:param result_code: the result code of a dependency call. Examples are SQL error code and HTTP status code. (defaults to: None)
238
+
:param name: the name of the command initiated with this dependency call. Low cardinality value.
239
+
Examples are stored procedure name and URL path template.
240
+
:param data: the command initiated by this dependency call.
241
+
Examples are SQL statement and HTTP URL with all query parameters.
242
+
:param type_name: the dependency type name. Low cardinality value for logical grouping of dependencies and
243
+
interpretation of other fields like commandName and resultCode. Examples are SQL, Azure table, and HTTP.
244
+
(default to: None)
245
+
:param target: the target site of a dependency call. Examples are server name, host address.
246
+
(default to: None)
247
+
:param duration: the number of milliseconds that this dependency call lasted.
248
+
(defaults to: None)
249
+
:param success: true if the dependency call ended in success, false otherwise.
250
+
(defaults to: None)
251
+
:param result_code: the result code of a dependency call. Examples are SQL error code and HTTP status code.
252
+
(defaults to: None)
232
253
:param properties: the set of custom properties the client wants attached to this data item. (defaults to: None)
233
-
:param measurements: the set of custom measurements the client wants to attach to this data item. (defaults to: None)
254
+
:param measurements: the set of custom measurements the client wants to attach to this data item.
255
+
(defaults to: None)
234
256
:param id: the id for this dependency call. If None, a new uuid will be generated. (defaults to: None)
0 commit comments