Module Import alias Import alias Import alias Import alias ImportFrom alias Assign NameStore Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If NameLoad body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore NameLoad orelse Raise Call NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr BoolOpOr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str If BoolOpOr UnaryOpNot NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr If BoolOpOr UnaryOpNot NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad body TryExcept body Raise Call NameLoad NameLoad handlers ExceptHandler body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Num For TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd NameStore Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr BoolOpOr NameLoad NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr BoolOpOr NameLoad NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Num Assign AttributeStore NameLoad attr BoolOpOr NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr BoolOpOr NameLoad NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad BinOpAdd Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore BoolOpOr NameLoad Num Assign NameStore ListLoad For NameStore ListLoad Num Num Num Num body Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad AugAssignFloorDiv NameStore NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpMod Str Call NameLoad NameLoad If NameLoad body Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A datetime N/A traceback N/A sys N/A uuid applicationinsights channel N/A NULL_CONSTANT_STRING Null TelemetryClient N/A object N/A N/A The telemetry client used for sending all types of telemetry. It serves as the main entry point for
    interacting with the Application Insights service.
     __init__ N/A N/A self instrumentation_key telemetry_channel N/A None N/A N/A Initializes a new instance of the class.

        Args:
            instrumentation_key (str). the instrumentation key to use for this telemetry client.

            telemetry_channel (:class:`channel.TelemetryChannel`). the optional telemetry channel to be used instead of
                constructing a default one.
         N/A instrumentation_key N/A N/A N/A isinstance instrumentation_key N/A channel TelemetryChannel N/A N/A telemetry_channel instrumentation_key N/A instrumentation_key None N/A N/A N/A Exception Instrumentation key was required but not provided N/A N/A self _context N/A N/A channel TelemetryContext N/A N/A N/A self _context instrumentation_key instrumentation_key N/A N/A self _channel N/A telemetry_channel N/A N/A channel TelemetryChannel N/A context N/A N/A self N/A N/A N/A The context associated with this client. All data objects created by this client will be accompanied by
        this value.

        Returns:
            :class:`channel.TelemetryChannel`. the context instance.
         N/A N/A self _context N/A property channel N/A N/A self N/A N/A N/A The channel associated with this telemetry client. All data created by this client will be passed along with
        the :func:`context` object to :class:`channel.TelemetryChannel`'s :func:`write`.

        Returns:
            :class:`channel.TelemetryChannel`. the channel instance.
         N/A N/A self _channel N/A property flush N/A N/A self N/A N/A N/A Flushes data in the queue. Data in the queue will be sent either immediately irrespective of what sender is
        being used.
         N/A N/A N/A N/A self _channel flush N/A track_pageview N/A N/A self name url duration properties measurements N/A 0 None None N/A N/A Send information about the page viewed in the application (a web page for instance).

        Args:
            name (str). the name of the page that was viewed.

            url (str). the URL of the page that was viewed.

            duration (int). the duration of the page view in milliseconds. (defaults to: 0)

            properties (dict). the set of custom properties the client wants attached to this data item. (defaults to: None)

            measurements (dict). the set of custom measurements the client wants to attach to this data item. (defaults to: None)
         N/A data N/A N/A N/A channel contracts PageViewData N/A N/A data name N/A name NULL_CONSTANT_STRING N/A N/A data url url N/A N/A data duration duration N/A properties N/A N/A N/A data properties properties N/A measurements N/A N/A N/A data measurements measurements N/A N/A N/A N/A self _channel write data N/A self _context N/A track_exception N/A N/A self type value tb properties measurements N/A None None None None None N/A N/A  Send information about a single exception that occurred in the application.

        Args:
            type (Type). the type of the exception that was thrown.

            value (:class:`Exception`). the exception that the client wants to send.

            tb (:class:`Traceback`). the traceback information as returned by :func:`sys.exc_info`.

            properties (dict). the set of custom properties the client wants attached to this data item. (defaults to: None)

            measurements (dict). the set of custom measurements the client wants to attach to this data item. (defaults to: None)
         N/A N/A N/A type N/A value N/A tb N/A N/A N/A type value tb N/A N/A sys exc_info N/A N/A N/A type N/A value N/A tb N/A N/A N/A N/A N/A Exception NULL_CONSTANT_STRING N/A N/A N/A N/A N/A type value tb N/A N/A sys exc_info N/A details N/A N/A N/A channel contracts ExceptionDetails N/A N/A details id 1 N/A N/A details outer_id 0 N/A N/A details type_name N/A type __name__ N/A N/A details message N/A str value N/A N/A details has_full_stack True N/A counter 0 N/A N/A tb_frame_file tb_frame_line tb_frame_function tb_frame_text N/A N/A traceback extract_tb tb N/A N/A frame N/A N/A N/A channel contracts StackFrame N/A N/A frame assembly Unknown N/A N/A frame file_name tb_frame_file N/A N/A frame level counter N/A N/A frame line tb_frame_line N/A N/A frame method tb_frame_function N/A N/A N/A N/A details parsed_stack append frame N/A counter 1 N/A N/A N/A N/A details parsed_stack reverse N/A data N/A N/A N/A channel contracts ExceptionData N/A N/A data handled_at UserCode N/A N/A N/A N/A data exceptions append details N/A properties N/A N/A N/A data properties properties N/A measurements N/A N/A N/A data measurements measurements N/A N/A N/A N/A self _channel write data N/A self _context N/A track_event N/A N/A self name properties measurements N/A None None N/A N/A  Send information about a single event that has occurred in the context of the application.

        Args:
            name (str). the data to associate to this event.

            properties (dict). the set of custom properties the client wants attached to this data item. (defaults to: None)

            measurements (dict). the set of custom measurements the client wants to attach to this data item. (defaults to: None)
         N/A data N/A N/A N/A channel contracts EventData N/A N/A data name N/A name NULL_CONSTANT_STRING N/A properties N/A N/A N/A data properties properties N/A measurements N/A N/A N/A data measurements measurements N/A N/A N/A N/A self _channel write data N/A self _context N/A track_metric N/A N/A self name value type count min max std_dev properties N/A None None None None None None N/A N/A Send information about a single metric data point that was captured for the application.

        Args:
            name (str). the name of the metric that was captured.

            value (float). the value of the metric that was captured.

            type (:class:`channel.contracts.DataPointType`). the type of the metric. (defaults to: :func:`channel.contracts.DataPointType.aggregation`)

            count (int). the number of metrics that were aggregated into this data point. (defaults to: None)

            min (float). the minimum of all metrics collected that were aggregated into this data point. (defaults to: None)

            max (float). the maximum of all metrics collected that were aggregated into this data point. (defaults to: None)

            std_dev (float). the standard deviation of all metrics collected that were aggregated into this data point. (defaults to: None)

            properties (dict). the set of custom properties the client wants attached to this data item. (defaults to: None)
         N/A dataPoint N/A N/A N/A channel contracts DataPoint N/A N/A dataPoint name N/A name NULL_CONSTANT_STRING N/A N/A dataPoint value N/A value 0 N/A N/A dataPoint kind N/A type N/A N/A N/A channel contracts DataPointType aggregation N/A N/A dataPoint count count N/A N/A dataPoint min min N/A N/A dataPoint max max N/A N/A dataPoint std_dev std_dev N/A data N/A N/A N/A channel contracts MetricData N/A N/A N/A N/A data metrics append dataPoint N/A properties N/A N/A N/A data properties properties N/A N/A N/A N/A self _channel write data N/A self _context N/A track_trace N/A N/A self name properties N/A None N/A N/A Sends a single trace statement.

        Args:
            name (str). the trace statement.

            properties (dict). the set of custom properties the client wants attached to this data item. (defaults to: None)
         N/A data N/A N/A N/A channel contracts MessageData N/A N/A data message N/A name NULL_CONSTANT_STRING N/A properties N/A N/A N/A data properties properties N/A N/A N/A N/A self _channel write data N/A self _context N/A track_request N/A N/A self name url success start_time duration response_code http_method properties measurements N/A None None None None None None N/A N/A Sends a single request that was captured for the application.

        Args:
            name (str). the name for this request. All requests with the same name will be grouped together.

            url (str). the actual URL for this request (to show in individual request instances).

            success (bool). true if the request ended in success, false otherwise.

            start_time (str). the start time of the request. The value should look the same as the one returned by :func:`datetime.isoformat()` (defaults to: None)

            duration (int). the number of milliseconds that this request lasted. (defaults to: None)

            response_code (string). the response code that this request returned. (defaults to: None)

            http_method (string). the HTTP method that triggered this request. (defaults to: None)

            properties (dict). the set of custom properties the client wants attached to this data item. (defaults to: None)

            measurements (dict). the set of custom measurements the client wants to attach to this data item. (defaults to: None)
         N/A data N/A N/A N/A channel contracts RequestData N/A N/A data id N/A str N/A N/A uuid uuid4 N/A N/A data name name N/A N/A data start_time N/A start_time N/A N/A N/A N/A N/A N/A datetime datetime utcnow isoformat Z N/A local_duration N/A duration 0 N/A duration_parts N/A N/A multiplier N/A 1000 60 60 24 N/A N/A N/A N/A duration_parts append N/A local_duration multiplier N/A local_duration multiplier N/A N/A N/A duration_parts reverse N/A N/A data duration N/A %02d:%02d:%02d.%03d N/A tuple duration_parts N/A local_duration N/A N/A N/A data duration N/A %d.%s N/A local_duration N/A data duration N/A N/A data response_code N/A response_code 200 N/A N/A data success success N/A N/A data http_method N/A http_method GET N/A N/A data url url N/A properties N/A N/A N/A data properties properties N/A measurements N/A N/A N/A data measurements measurements N/A N/A N/A N/A self channel write data N/A self _context N/A N/A