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
+17-35Lines changed: 17 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -75,11 +75,9 @@ def track_pageview(
75
75
:type url: str
76
76
:param duration: the duration of the page view in milliseconds. (defaults to: 0)
77
77
:duration: int
78
-
:param properties: the set of custom properties the client wants attached to this data item.
79
-
(defaults to: None)
78
+
:param properties: the set of custom properties the client wants attached to this data item. (defaults to: None)
:param success: True if the request ended in success, False otherwise.
205
195
:type success: bool
206
-
:param start_time: the start time of the request. The value should look the same as the one returned by
207
-
:func:`datetime.isoformat`. (defaults to: None)
196
+
: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)
208
197
:type start_time: str
209
198
:param duration: the number of milliseconds that this request lasted. (defaults to: None)
210
199
:type duration: int
211
200
:param response_code: the response code that this request returned. (defaults to: None)
212
201
:type response_code: str
213
202
:param http_method: the HTTP method that triggered this request. (defaults to: None)
214
203
:type http_method: str
215
-
:param properties: the set of custom properties the client wants attached to this data item.
216
-
(defaults to: None)
204
+
:param properties: the set of custom properties the client wants attached to this data item. (defaults to: None)
:param request_id: the id for this request. If None, a new uuid will be generated. (defaults to: None)
222
209
:type request_id: str
@@ -253,26 +240,21 @@ def track_dependency(
253
240
:param name: the name of the command initiated with this dependency call. Low cardinality value.
254
241
Examples are stored procedure name and URL path template.
255
242
:type name: str
256
-
:param data: the command initiated by this dependency call.
243
+
:param data: the command initiated by this dependency call. Examples are SQL statement and HTTP URL with all query parameters.
257
244
:type data: str
258
-
Examples are SQL statement and HTTP URL with all query parameters.
259
-
:param type_name: the dependency type name. Low cardinality value for logical grouping of dependencies and
260
-
interpretation of other fields like commandName and resultCode. Examples are SQL, Azure table, and HTTP.
261
-
(default to: None)
245
+
: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)
262
246
:type type_name: str
263
247
:param target: the target site of a dependency call. Examples are server name, host address. (default to: None)
264
248
:type target: str
265
249
:param duration: the number of milliseconds that this dependency call lasted. (defaults to: None)
266
250
:type duration: int
267
251
:param success: true if the dependency call ended in success, false otherwise. (defaults to: None)
268
252
:type success: bool
269
-
:param result_code: the result code of a dependency call. Examples are SQL error code and HTTP status code.
270
-
(defaults to: None)
253
+
:param result_code: the result code of a dependency call. Examples are SQL error code and HTTP status code. (defaults to: None)
271
254
:type result_code: str
272
255
:param properties: the set of custom properties the client wants attached to this data item. (defaults to: None)
0 commit comments