applicationinsights.channel.contracts module

Application class

class applicationinsights.channel.contracts.Application[source]

Data contract class for type Application.

write()[source]

Writes the contents of this object and returns the content as a dict object.

Returns:

(dict). the object that represents the same data as the current instance.

property ver

The ver property.

Returns:

(string). the property value. (defaults to: None)

Data class

class applicationinsights.channel.contracts.Data[source]

Data contract class for type Data.

write()[source]

Writes the contents of this object and returns the content as a dict object.

Returns:

(dict). the object that represents the same data as the current instance.

property base_data

The base_data property.

Returns:

(object). the property value. (defaults to: None)

property base_type

The base_type property.

Returns:

(string). the property value. (defaults to: None)

DataPoint class

class applicationinsights.channel.contracts.DataPoint[source]

Data contract class for type DataPoint.

write()[source]

Writes the contents of this object and returns the content as a dict object.

Returns:

(dict). the object that represents the same data as the current instance.

property count

The count property.

Returns:

(int). the property value. (defaults to: None)

property kind

The kind property.

Returns:

(DataPointType.measurement). the property value. (defaults to: DataPointType.measurement)

property max

The max property.

Returns:

(float). the property value. (defaults to: None)

property min

The min property.

Returns:

(float). the property value. (defaults to: None)

property name

The name property.

Returns:

(string). the property value. (defaults to: None)

property ns

The ns property.

Returns:

(string). the property value. (defaults to: None)

property std_dev

The std_dev property.

Returns:

(float). the property value. (defaults to: None)

property value

The value property.

Returns:

(float). the property value. (defaults to: None)

DataPointType class

class applicationinsights.channel.contracts.DataPointType[source]

Data contract class for type DataPointType.

Device class

class applicationinsights.channel.contracts.Device[source]

Data contract class for type Device.

write()[source]

Writes the contents of this object and returns the content as a dict object.

Returns:

(dict). the object that represents the same data as the current instance.

property id

The id property.

Returns:

(string). the property value. (defaults to: None)

property locale

The locale property.

Returns:

(string). the property value. (defaults to: None)

property model

The model property.

Returns:

(string). the property value. (defaults to: None)

property oem_name

The oem_name property.

Returns:

(string). the property value. (defaults to: None)

property os_version

The os_version property.

Returns:

(string). the property value. (defaults to: None)

property type

The type property.

Returns:

(string). the property value. (defaults to: None)

Envelope class

class applicationinsights.channel.contracts.Envelope[source]

Data contract class for type Envelope.

write()[source]

Writes the contents of this object and returns the content as a dict object.

Returns:

(dict). the object that represents the same data as the current instance.

property data

The data property.

Returns:

(object). the property value. (defaults to: None)

property ikey

The ikey property.

Returns:

(string). the property value. (defaults to: None)

property name

The name property.

Returns:

(string). the property value. (defaults to: None)

property sample_rate

The sample_rate property.

Returns:

(float). the property value. (defaults to: 100.0)

property seq

The seq property.

Returns:

(string). the property value. (defaults to: None)

property tags

The tags property.

Returns:

(hash). the property value. (defaults to: {})

property time

The time property.

Returns:

(string). the property value. (defaults to: None)

property ver

The ver property.

Returns:

(int). the property value. (defaults to: 1)

EventData class

class applicationinsights.channel.contracts.EventData[source]

Data contract class for type EventData.

write()[source]

Writes the contents of this object and returns the content as a dict object.

Returns:

(dict). the object that represents the same data as the current instance.

property measurements

The measurements property.

Returns:

(hash). the property value. (defaults to: {})

property name

The name property.

Returns:

(string). the property value. (defaults to: None)

property properties

The properties property.

Returns:

(hash). the property value. (defaults to: {})

property ver

The ver property.

Returns:

(int). the property value. (defaults to: 2)

ExceptionData class

class applicationinsights.channel.contracts.ExceptionData[source]

Data contract class for type ExceptionData.

write()[source]

Writes the contents of this object and returns the content as a dict object.

Returns:

(dict). the object that represents the same data as the current instance.

property exceptions

The exceptions property.

Returns:

(list). the property value. (defaults to: [])

property measurements

The measurements property.

Returns:

(hash). the property value. (defaults to: {})

property problem_id

The problem_id property.

Returns:

(string). the property value. (defaults to: None)

property properties

The properties property.

Returns:

(hash). the property value. (defaults to: {})

property severity_level

The severity_level property.

Returns:

(int). the property value. (defaults to: None)

property ver

The ver property.

Returns:

(int). the property value. (defaults to: 2)

ExceptionDetails class

class applicationinsights.channel.contracts.ExceptionDetails[source]

Data contract class for type ExceptionDetails.

write()[source]

Writes the contents of this object and returns the content as a dict object.

Returns:

(dict). the object that represents the same data as the current instance.

property has_full_stack

The has_full_stack property.

Returns:

(bool). the property value. (defaults to: True)

property id

The id property.

Returns:

(int). the property value. (defaults to: None)

property message

The message property.

Returns:

(string). the property value. (defaults to: None)

property outer_id

The outer_id property.

Returns:

(int). the property value. (defaults to: None)

property parsed_stack

The parsed_stack property.

Returns:

(list). the property value. (defaults to: [])

property stack

The stack property.

Returns:

(string). the property value. (defaults to: None)

property type_name

The type_name property.

Returns:

(string). the property value. (defaults to: None)

Internal class

class applicationinsights.channel.contracts.Internal[source]

Data contract class for type Internal.

write()[source]

Writes the contents of this object and returns the content as a dict object.

Returns:

(dict). the object that represents the same data as the current instance.

property agent_version

The agent_version property.

Returns:

(string). the property value. (defaults to: None)

property node_name

The node_name property.

Returns:

(string). the property value. (defaults to: None)

property sdk_version

The sdk_version property.

Returns:

(string). the property value. (defaults to: None)

Location class

class applicationinsights.channel.contracts.Location[source]

Data contract class for type Location.

write()[source]

Writes the contents of this object and returns the content as a dict object.

Returns:

(dict). the object that represents the same data as the current instance.

property ip

The ip property.

Returns:

(string). the property value. (defaults to: None)

MessageData class

class applicationinsights.channel.contracts.MessageData[source]

Data contract class for type MessageData.

write()[source]

Writes the contents of this object and returns the content as a dict object.

Returns:

(dict). the object that represents the same data as the current instance.

property message

The message property.

Returns:

(string). the property value. (defaults to: None)

property properties

The properties property.

Returns:

(hash). the property value. (defaults to: {})

property severity_level

The severity_level property.

Returns:

(int). the property value. (defaults to: None)

property ver

The ver property.

Returns:

(int). the property value. (defaults to: 2)

MetricData class

class applicationinsights.channel.contracts.MetricData[source]

Data contract class for type MetricData.

write()[source]

Writes the contents of this object and returns the content as a dict object.

Returns:

(dict). the object that represents the same data as the current instance.

property metrics

The metrics property.

Returns:

(list). the property value. (defaults to: [])

property properties

The properties property.

Returns:

(hash). the property value. (defaults to: {})

property ver

The ver property.

Returns:

(int). the property value. (defaults to: 2)

Operation class

class applicationinsights.channel.contracts.Operation[source]

Data contract class for type Operation.

write()[source]

Writes the contents of this object and returns the content as a dict object.

Returns:

(dict). the object that represents the same data as the current instance.

property correlation_vector

The correlation_vector property.

Returns:

(string). the property value. (defaults to: None)

property id

The id property.

Returns:

(string). the property value. (defaults to: None)

property name

The name property.

Returns:

(string). the property value. (defaults to: None)

property parent_id

The parent_id property.

Returns:

(string). the property value. (defaults to: None)

property synthetic_source

The synthetic_source property.

Returns:

(string). the property value. (defaults to: None)

PageViewData class

class applicationinsights.channel.contracts.PageViewData[source]

Data contract class for type PageViewData.

write()[source]

Writes the contents of this object and returns the content as a dict object.

Returns:

(dict). the object that represents the same data as the current instance.

property duration

The duration property.

Returns:

(string). the property value. (defaults to: None)

property id

The id property.

Returns:

(string). the property value. (defaults to: None)

property measurements

The measurements property.

Returns:

(hash). the property value. (defaults to: {})

property name

The name property.

Returns:

(string). the property value. (defaults to: None)

property properties

The properties property.

Returns:

(hash). the property value. (defaults to: {})

property referrer_uri

The referrer_uri property.

Returns:

(string). the property value. (defaults to: None)

property url

The url property.

Returns:

(string). the property value. (defaults to: None)

property ver

The ver property.

Returns:

(int). the property value. (defaults to: 2)

RemoteDependencyData class

class applicationinsights.channel.contracts.RemoteDependencyData[source]

Data contract class for type RemoteDependencyData.

write()[source]

Writes the contents of this object and returns the content as a dict object.

Returns:

(dict). the object that represents the same data as the current instance.

property data

The data property.

Returns:

(string). the property value. (defaults to: None)

property duration

The duration property.

Returns:

(string). the property value. (defaults to: None)

property id

The id property.

Returns:

(string). the property value. (defaults to: None)

property measurements

The measurements property.

Returns:

(hash). the property value. (defaults to: {})

property name

The name property.

Returns:

(string). the property value. (defaults to: None)

property properties

The properties property.

Returns:

(hash). the property value. (defaults to: {})

property result_code

The result_code property.

Returns:

(string). the property value. (defaults to: None)

property success

The success property.

Returns:

(bool). the property value. (defaults to: True)

property target

The target property.

Returns:

(string). the property value. (defaults to: None)

property type

The type property.

Returns:

(string). the property value. (defaults to: None)

property ver

The ver property.

Returns:

(int). the property value. (defaults to: 2)

RequestData class

class applicationinsights.channel.contracts.RequestData[source]

Data contract class for type RequestData.

write()[source]

Writes the contents of this object and returns the content as a dict object.

Returns:

(dict). the object that represents the same data as the current instance.

property duration

The duration property.

Returns:

(string). the property value. (defaults to: None)

property id

The id property.

Returns:

(string). the property value. (defaults to: None)

property measurements

The measurements property.

Returns:

(hash). the property value. (defaults to: {})

property name

The name property.

Returns:

(string). the property value. (defaults to: None)

property properties

The properties property.

Returns:

(hash). the property value. (defaults to: {})

property response_code

The response_code property.

Returns:

(string). the property value. (defaults to: None)

property source

The source property.

Returns:

(string). the property value. (defaults to: None)

property success

The success property.

Returns:

(bool). the property value. (defaults to: None)

property url

The url property.

Returns:

(string). the property value. (defaults to: None)

property ver

The ver property.

Returns:

(int). the property value. (defaults to: 2)

Session class

class applicationinsights.channel.contracts.Session[source]

Data contract class for type Session.

write()[source]

Writes the contents of this object and returns the content as a dict object.

Returns:

(dict). the object that represents the same data as the current instance.

property id

The id property.

Returns:

(string). the property value. (defaults to: None)

property is_first

The is_first property.

Returns:

(string). the property value. (defaults to: None)

SeverityLevel class

class applicationinsights.channel.contracts.SeverityLevel[source]

Data contract class for type SeverityLevel.

StackFrame class

class applicationinsights.channel.contracts.StackFrame[source]

Data contract class for type StackFrame.

write()[source]

Writes the contents of this object and returns the content as a dict object.

Returns:

(dict). the object that represents the same data as the current instance.

property assembly

The assembly property.

Returns:

(string). the property value. (defaults to: None)

property file_name

The file_name property.

Returns:

(string). the property value. (defaults to: None)

property level

The level property.

Returns:

(int). the property value. (defaults to: None)

property line

The line property.

Returns:

(int). the property value. (defaults to: None)

property method

The method property.

Returns:

(string). the property value. (defaults to: None)

User class

class applicationinsights.channel.contracts.User[source]

Data contract class for type User.

write()[source]

Writes the contents of this object and returns the content as a dict object.

Returns:

(dict). the object that represents the same data as the current instance.

property account_id

The account_id property.

Returns:

(string). the property value. (defaults to: None)

property auth_user_id

The auth_user_id property.

Returns:

(string). the property value. (defaults to: None)

property id

The id property.

Returns:

(string). the property value. (defaults to: None)