insights

package
v22.1.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package insights implements the Azure ARM Insights service API version v1.

Composite Swagger for Application Insights Data Client

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Insights
	DefaultBaseURI = "https://api.applicationinsights.io/v1"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI string
}

BaseClient is the base client for Insights.

func New

func New() BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BasicEventsResultData

type BasicEventsResultData interface {
	AsEventsTraceResult() (*EventsTraceResult, bool)
	AsEventsCustomEventResult() (*EventsCustomEventResult, bool)
	AsEventsPageViewResult() (*EventsPageViewResult, bool)
	AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)
	AsEventsRequestResult() (*EventsRequestResult, bool)
	AsEventsDependencyResult() (*EventsDependencyResult, bool)
	AsEventsExceptionResult() (*EventsExceptionResult, bool)
	AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)
	AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)
	AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)
	AsEventsResultData() (*EventsResultData, bool)
}

BasicEventsResultData events query result data.

type Column

type Column struct {
	// Name - The name of this column.
	Name *string `json:"name,omitempty"`
	// Type - The data type of this column.
	Type *string `json:"type,omitempty"`
}

Column a column in a table.

type ErrorDetail

type ErrorDetail struct {
	// Code - The error's code.
	Code *string `json:"code,omitempty"`
	// Message - A human readable error message.
	Message *string `json:"message,omitempty"`
	// Target - Indicates which property in the request is responsible for the error.
	Target *string `json:"target,omitempty"`
	// Value - Indicates which value in 'target' is responsible for the error.
	Value *string `json:"value,omitempty"`
	// Resources - Indicates resources which were responsible for the error.
	Resources            *[]string   `json:"resources,omitempty"`
	AdditionalProperties interface{} `json:"additionalProperties,omitempty"`
}

ErrorDetail ...

type ErrorInfo

type ErrorInfo struct {
	// Code - A machine readable error code.
	Code *string `json:"code,omitempty"`
	// Message - A human readable error message.
	Message *string `json:"message,omitempty"`
	// Details - error details.
	Details *[]ErrorDetail `json:"details,omitempty"`
	// Innererror - Inner error details if they exist.
	Innererror           *ErrorInfo  `json:"innererror,omitempty"`
	AdditionalProperties interface{} `json:"additionalProperties,omitempty"`
}

ErrorInfo ...

type ErrorResponse

type ErrorResponse struct {
	// Error - The error details.
	Error *ErrorInfo `json:"error,omitempty"`
}

ErrorResponse contains details when the response code indicates an error.

type EventType

type EventType string

EventType enumerates the values for event type.

const (
	// All ...
	All EventType = "$all"
	// AvailabilityResults ...
	AvailabilityResults EventType = "availabilityResults"
	// BrowserTimings ...
	BrowserTimings EventType = "browserTimings"
	// CustomEvents ...
	CustomEvents EventType = "customEvents"
	// CustomMetrics ...
	CustomMetrics EventType = "customMetrics"
	// Dependencies ...
	Dependencies EventType = "dependencies"
	// Exceptions ...
	Exceptions EventType = "exceptions"
	// PageViews ...
	PageViews EventType = "pageViews"
	// PerformanceCounters ...
	PerformanceCounters EventType = "performanceCounters"
	// Requests ...
	Requests EventType = "requests"
	// Traces ...
	Traces EventType = "traces"
)

func PossibleEventTypeValues

func PossibleEventTypeValues() []EventType

PossibleEventTypeValues returns an array of possible values for the EventType const type.

type EventsAiInfo

type EventsAiInfo struct {
	// IKey - iKey of the app
	IKey *string `json:"iKey,omitempty"`
	// AppName - Name of the application
	AppName *string `json:"appName,omitempty"`
	// AppID - ID of the application
	AppID *string `json:"appId,omitempty"`
	// SdkVersion - SDK version of the application
	SdkVersion *string `json:"sdkVersion,omitempty"`
}

EventsAiInfo AI related application info for an event result

type EventsApplicationInfo

type EventsApplicationInfo struct {
	// Version - Version of the application
	Version *string `json:"version,omitempty"`
}

EventsApplicationInfo application info for an event result

type EventsAvailabilityResultInfo

type EventsAvailabilityResultInfo struct {
	// Name - The name of the availability result
	Name *string `json:"name,omitempty"`
	// Success - Indicates if the availability result was successful
	Success *string `json:"success,omitempty"`
	// Duration - The duration of the availability result
	Duration *int64 `json:"duration,omitempty"`
	// PerformanceBucket - The performance bucket of the availability result
	PerformanceBucket *string `json:"performanceBucket,omitempty"`
	// Message - The message of the availability result
	Message *string `json:"message,omitempty"`
	// Location - The location of the availability result
	Location *string `json:"location,omitempty"`
	// ID - The ID of the availability result
	ID *string `json:"id,omitempty"`
	// Size - The size of the availability result
	Size *string `json:"size,omitempty"`
}

EventsAvailabilityResultInfo the availability result info

type EventsAvailabilityResultResult

type EventsAvailabilityResultResult struct {
	AvailabilityResult *EventsAvailabilityResultInfo `json:"availabilityResult,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfo `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfo `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfo `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfo `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfo `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfo `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfo `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type Type `json:"type,omitempty"`
}

EventsAvailabilityResultResult an availability result result

func (EventsAvailabilityResultResult) AsBasicEventsResultData

func (earr EventsAvailabilityResultResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsAvailabilityResultResult

func (earr EventsAvailabilityResultResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsBrowserTimingResult

func (earr EventsAvailabilityResultResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsCustomEventResult

func (earr EventsAvailabilityResultResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsCustomMetricResult

func (earr EventsAvailabilityResultResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsDependencyResult

func (earr EventsAvailabilityResultResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsExceptionResult

func (earr EventsAvailabilityResultResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsPageViewResult

func (earr EventsAvailabilityResultResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsPerformanceCounterResult

func (earr EventsAvailabilityResultResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsRequestResult

func (earr EventsAvailabilityResultResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsResultData

func (earr EventsAvailabilityResultResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsTraceResult

func (earr EventsAvailabilityResultResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) MarshalJSON

func (earr EventsAvailabilityResultResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsAvailabilityResultResult.

type EventsBrowserTimingInfo

type EventsBrowserTimingInfo struct {
	// URLPath - The path of the URL
	URLPath *string `json:"urlPath,omitempty"`
	// URLHost - The host of the URL
	URLHost *string `json:"urlHost,omitempty"`
	// Name - The name of the page
	Name *string `json:"name,omitempty"`
	// URL - The url of the page
	URL *string `json:"url,omitempty"`
	// TotalDuration - The total duration of the load
	TotalDuration *int64 `json:"totalDuration,omitempty"`
	// PerformanceBucket - The performance bucket of the load
	PerformanceBucket *string `json:"performanceBucket,omitempty"`
	// NetworkDuration - The network duration of the load
	NetworkDuration *int64 `json:"networkDuration,omitempty"`
	// SendDuration - The send duration of the load
	SendDuration *int64 `json:"sendDuration,omitempty"`
	// ReceiveDuration - The receive duration of the load
	ReceiveDuration *int64 `json:"receiveDuration,omitempty"`
	// ProcessingDuration - The processing duration of the load
	ProcessingDuration *int64 `json:"processingDuration,omitempty"`
}

EventsBrowserTimingInfo the browser timing information

type EventsBrowserTimingResult

type EventsBrowserTimingResult struct {
	BrowserTiming     *EventsBrowserTimingInfo     `json:"browserTiming,omitempty"`
	ClientPerformance *EventsClientPerformanceInfo `json:"clientPerformance,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfo `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfo `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfo `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfo `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfo `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfo `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfo `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type Type `json:"type,omitempty"`
}

EventsBrowserTimingResult a browser timing result

func (EventsBrowserTimingResult) AsBasicEventsResultData

func (ebtr EventsBrowserTimingResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsAvailabilityResultResult

func (ebtr EventsBrowserTimingResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsBrowserTimingResult

func (ebtr EventsBrowserTimingResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsCustomEventResult

func (ebtr EventsBrowserTimingResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsCustomMetricResult

func (ebtr EventsBrowserTimingResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsDependencyResult

func (ebtr EventsBrowserTimingResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsExceptionResult

func (ebtr EventsBrowserTimingResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsPageViewResult

func (ebtr EventsBrowserTimingResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsPerformanceCounterResult

func (ebtr EventsBrowserTimingResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsRequestResult

func (ebtr EventsBrowserTimingResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsResultData

func (ebtr EventsBrowserTimingResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsTraceResult

func (ebtr EventsBrowserTimingResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) MarshalJSON

func (ebtr EventsBrowserTimingResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsBrowserTimingResult.

type EventsClient

type EventsClient struct {
	BaseClient
}

EventsClient is the composite Swagger for Application Insights Data Client

func NewEventsClient

func NewEventsClient() EventsClient

NewEventsClient creates an instance of the EventsClient client.

func NewEventsClientWithBaseURI

func NewEventsClientWithBaseURI(baseURI string) EventsClient

NewEventsClientWithBaseURI creates an instance of the EventsClient client.

func (EventsClient) Get

func (client EventsClient) Get(ctx context.Context, appID string, eventType EventType, eventID string, timespan string) (result EventsResults, err error)

Get gets the data for a single event Parameters: appID - ID of the application. This is Application ID from the API Access settings blade in the Azure portal. eventType - the type of events to query; either a standard event type (`traces`, `customEvents`, `pageViews`, `requests`, `dependencies`, `exceptions`, `availabilityResults`) or `$all` to query across all event types. eventID - ID of event. timespan - optional. The timespan over which to retrieve events. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the Odata expression.

func (EventsClient) GetByType

func (client EventsClient) GetByType(ctx context.Context, appID string, eventType EventType, timespan string, filter string, search string, orderby string, selectParameter string, skip *int32, top *int32, formatParameter string, count *bool, apply string) (result EventsResults, err error)

GetByType executes an OData query for events Parameters: appID - ID of the application. This is Application ID from the API Access settings blade in the Azure portal. eventType - the type of events to query; either a standard event type (`traces`, `customEvents`, `pageViews`, `requests`, `dependencies`, `exceptions`, `availabilityResults`) or `$all` to query across all event types. timespan - optional. The timespan over which to retrieve events. This is an ISO8601 time period value. This timespan is applied in addition to any that are specified in the Odata expression. filter - an expression used to filter the returned events search - a free-text search expression to match for whether a particular event should be returned orderby - a comma-separated list of properties with \"asc\" (the default) or \"desc\" to control the order of returned events selectParameter - limits the properties to just those requested on each returned event skip - the number of items to skip over before returning events top - the number of events to return formatParameter - format for the returned events count - request a count of matching items included with the returned events apply - an expression used for aggregation over returned events

func (EventsClient) GetByTypePreparer

func (client EventsClient) GetByTypePreparer(ctx context.Context, appID string, eventType EventType, timespan string, filter string, search string, orderby string, selectParameter string, skip *int32, top *int32, formatParameter string, count *bool, apply string) (*http.Request, error)

GetByTypePreparer prepares the GetByType request.

func (EventsClient) GetByTypeResponder

func (client EventsClient) GetByTypeResponder(resp *http.Response) (result EventsResults, err error)

GetByTypeResponder handles the response to the GetByType request. The method always closes the http.Response Body.

func (EventsClient) GetByTypeSender

func (client EventsClient) GetByTypeSender(req *http.Request) (*http.Response, error)

GetByTypeSender sends the GetByType request. The method will close the http.Response Body if it receives an error.

func (EventsClient) GetOdataMetadata

func (client EventsClient) GetOdataMetadata(ctx context.Context, appID string) (result SetObject, err error)

GetOdataMetadata gets OData EDMX metadata describing the event data model Parameters: appID - ID of the application. This is Application ID from the API Access settings blade in the Azure portal.

func (EventsClient) GetOdataMetadataPreparer

func (client EventsClient) GetOdataMetadataPreparer(ctx context.Context, appID string) (*http.Request, error)

GetOdataMetadataPreparer prepares the GetOdataMetadata request.

func (EventsClient) GetOdataMetadataResponder

func (client EventsClient) GetOdataMetadataResponder(resp *http.Response) (result SetObject, err error)

GetOdataMetadataResponder handles the response to the GetOdataMetadata request. The method always closes the http.Response Body.

func (EventsClient) GetOdataMetadataSender

func (client EventsClient) GetOdataMetadataSender(req *http.Request) (*http.Response, error)

GetOdataMetadataSender sends the GetOdataMetadata request. The method will close the http.Response Body if it receives an error.

func (EventsClient) GetPreparer

func (client EventsClient) GetPreparer(ctx context.Context, appID string, eventType EventType, eventID string, timespan string) (*http.Request, error)

GetPreparer prepares the Get request.

func (EventsClient) GetResponder

func (client EventsClient) GetResponder(resp *http.Response) (result EventsResults, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (EventsClient) GetSender

func (client EventsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type EventsClientInfo

type EventsClientInfo struct {
	// Model - Model of the client
	Model *string `json:"model,omitempty"`
	// Os - Operating system of the client
	Os *string `json:"os,omitempty"`
	// Type - Type of the client
	Type *string `json:"type,omitempty"`
	// Browser - Browser of the client
	Browser *string `json:"browser,omitempty"`
	// IP - IP address of the client
	IP *string `json:"ip,omitempty"`
	// City - City of the client
	City *string `json:"city,omitempty"`
	// StateOrProvince - State or province of the client
	StateOrProvince *string `json:"stateOrProvince,omitempty"`
	// CountryOrRegion - Country or region of the client
	CountryOrRegion *string `json:"countryOrRegion,omitempty"`
}

EventsClientInfo client info for an event result

type EventsClientPerformanceInfo

type EventsClientPerformanceInfo struct {
	// Name - The name of the client performance
	Name *string `json:"name,omitempty"`
}

EventsClientPerformanceInfo client performance information

type EventsCloudInfo

type EventsCloudInfo struct {
	// RoleName - Role name of the cloud
	RoleName *string `json:"roleName,omitempty"`
	// RoleInstance - Role instance of the cloud
	RoleInstance *string `json:"roleInstance,omitempty"`
}

EventsCloudInfo cloud info for an event result

type EventsCustomEventInfo

type EventsCustomEventInfo struct {
	// Name - The name of the custom event
	Name *string `json:"name,omitempty"`
}

EventsCustomEventInfo the custom event information

type EventsCustomEventResult

type EventsCustomEventResult struct {
	CustomEvent *EventsCustomEventInfo `json:"customEvent,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfo `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfo `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfo `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfo `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfo `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfo `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfo `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type Type `json:"type,omitempty"`
}

EventsCustomEventResult a custom event result

func (EventsCustomEventResult) AsBasicEventsResultData

func (ecer EventsCustomEventResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsAvailabilityResultResult

func (ecer EventsCustomEventResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsBrowserTimingResult

func (ecer EventsCustomEventResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsCustomEventResult

func (ecer EventsCustomEventResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsCustomMetricResult

func (ecer EventsCustomEventResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsDependencyResult

func (ecer EventsCustomEventResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsExceptionResult

func (ecer EventsCustomEventResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsPageViewResult

func (ecer EventsCustomEventResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsPerformanceCounterResult

func (ecer EventsCustomEventResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsRequestResult

func (ecer EventsCustomEventResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsResultData

func (ecer EventsCustomEventResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsTraceResult

func (ecer EventsCustomEventResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) MarshalJSON

func (ecer EventsCustomEventResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsCustomEventResult.

type EventsCustomMetricInfo

type EventsCustomMetricInfo struct {
	// Name - The name of the custom metric
	Name *string `json:"name,omitempty"`
	// Value - The value of the custom metric
	Value *float64 `json:"value,omitempty"`
	// ValueSum - The sum of the custom metric
	ValueSum *float64 `json:"valueSum,omitempty"`
	// ValueCount - The count of the custom metric
	ValueCount *int32 `json:"valueCount,omitempty"`
	// ValueMin - The minimum value of the custom metric
	ValueMin *float64 `json:"valueMin,omitempty"`
	// ValueMax - The maximum value of the custom metric
	ValueMax *float64 `json:"valueMax,omitempty"`
	// ValueStdDev - The standard deviation of the custom metric
	ValueStdDev *float64 `json:"valueStdDev,omitempty"`
}

EventsCustomMetricInfo the custom metric info

type EventsCustomMetricResult

type EventsCustomMetricResult struct {
	CustomMetric *EventsCustomMetricInfo `json:"customMetric,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfo `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfo `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfo `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfo `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfo `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfo `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfo `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type Type `json:"type,omitempty"`
}

EventsCustomMetricResult a custom metric result

func (EventsCustomMetricResult) AsBasicEventsResultData

func (ecmr EventsCustomMetricResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsAvailabilityResultResult

func (ecmr EventsCustomMetricResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsBrowserTimingResult

func (ecmr EventsCustomMetricResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsCustomEventResult

func (ecmr EventsCustomMetricResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsCustomMetricResult

func (ecmr EventsCustomMetricResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsDependencyResult

func (ecmr EventsCustomMetricResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsExceptionResult

func (ecmr EventsCustomMetricResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsPageViewResult

func (ecmr EventsCustomMetricResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsPerformanceCounterResult

func (ecmr EventsCustomMetricResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsRequestResult

func (ecmr EventsCustomMetricResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsResultData

func (ecmr EventsCustomMetricResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsTraceResult

func (ecmr EventsCustomMetricResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) MarshalJSON

func (ecmr EventsCustomMetricResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsCustomMetricResult.

type EventsDependencyInfo

type EventsDependencyInfo struct {
	// Target - The target of the dependency
	Target *string `json:"target,omitempty"`
	// Data - The data of the dependency
	Data *string `json:"data,omitempty"`
	// Success - Indicates if the dependency was successful
	Success *string `json:"success,omitempty"`
	// Duration - The duration of the dependency
	Duration *int64 `json:"duration,omitempty"`
	// PerformanceBucket - The performance bucket of the dependency
	PerformanceBucket *string `json:"performanceBucket,omitempty"`
	// ResultCode - The result code of the dependency
	ResultCode *string `json:"resultCode,omitempty"`
	// Type - The type of the dependency
	Type *string `json:"type,omitempty"`
	// Name - The name of the dependency
	Name *string `json:"name,omitempty"`
	// ID - The ID of the dependency
	ID *string `json:"id,omitempty"`
}

EventsDependencyInfo the dependency info

type EventsDependencyResult

type EventsDependencyResult struct {
	Dependency *EventsDependencyInfo `json:"dependency,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfo `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfo `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfo `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfo `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfo `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfo `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfo `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type Type `json:"type,omitempty"`
}

EventsDependencyResult a dependency result

func (EventsDependencyResult) AsBasicEventsResultData

func (edr EventsDependencyResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsAvailabilityResultResult

func (edr EventsDependencyResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsBrowserTimingResult

func (edr EventsDependencyResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsCustomEventResult

func (edr EventsDependencyResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsCustomMetricResult

func (edr EventsDependencyResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsDependencyResult

func (edr EventsDependencyResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsExceptionResult

func (edr EventsDependencyResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsPageViewResult

func (edr EventsDependencyResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsPerformanceCounterResult

func (edr EventsDependencyResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsRequestResult

func (edr EventsDependencyResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsResultData

func (edr EventsDependencyResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsTraceResult

func (edr EventsDependencyResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) MarshalJSON

func (edr EventsDependencyResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsDependencyResult.

type EventsExceptionDetail

type EventsExceptionDetail struct {
	// SeverityLevel - The severity level of the exception detail
	SeverityLevel *string `json:"severityLevel,omitempty"`
	// OuterID - The outer ID of the exception detail
	OuterID *string `json:"outerId,omitempty"`
	// Message - The message of the exception detail
	Message *string `json:"message,omitempty"`
	// Type - The type of the exception detail
	Type *string `json:"type,omitempty"`
	// ID - The ID of the exception detail
	ID *string `json:"id,omitempty"`
	// ParsedStack - The parsed stack
	ParsedStack *[]EventsExceptionDetailsParsedStack `json:"parsedStack,omitempty"`
}

EventsExceptionDetail exception details

type EventsExceptionDetailsParsedStack

type EventsExceptionDetailsParsedStack struct {
	// Assembly - The assembly of the stack entry
	Assembly *string `json:"assembly,omitempty"`
	// Method - The method of the stack entry
	Method *string `json:"method,omitempty"`
	// Level - The level of the stack entry
	Level *int64 `json:"level,omitempty"`
	// Line - The line of the stack entry
	Line *int64 `json:"line,omitempty"`
}

EventsExceptionDetailsParsedStack a parsed stack entry

type EventsExceptionInfo

type EventsExceptionInfo struct {
	// SeverityLevel - The severity level of the exception
	SeverityLevel *int32 `json:"severityLevel,omitempty"`
	// ProblemID - The problem ID of the exception
	ProblemID *string `json:"problemId,omitempty"`
	// HandledAt - Indicates where the exception was handled at
	HandledAt *string `json:"handledAt,omitempty"`
	// Assembly - The assembly which threw the exception
	Assembly *string `json:"assembly,omitempty"`
	// Method - The method that threw the exception
	Method *string `json:"method,omitempty"`
	// Message - The message of the exception
	Message *string `json:"message,omitempty"`
	// Type - The type of the exception
	Type *string `json:"type,omitempty"`
	// OuterType - The outer type of the exception
	OuterType *string `json:"outerType,omitempty"`
	// OuterMethod - The outer method of the exception
	OuterMethod *string `json:"outerMethod,omitempty"`
	// OuterAssembly - The outer assmebly of the exception
	OuterAssembly *string `json:"outerAssembly,omitempty"`
	// OuterMessage - The outer message of the exception
	OuterMessage *string `json:"outerMessage,omitempty"`
	// InnermostType - The inner most type of the exception
	InnermostType *string `json:"innermostType,omitempty"`
	// InnermostMessage - The inner most message of the exception
	InnermostMessage *string `json:"innermostMessage,omitempty"`
	// InnermostMethod - The inner most method of the exception
	InnermostMethod *string `json:"innermostMethod,omitempty"`
	// InnermostAssembly - The inner most assembly of the exception
	InnermostAssembly *string `json:"innermostAssembly,omitempty"`
	// Details - The details of the exception
	Details *[]EventsExceptionDetail `json:"details,omitempty"`
}

EventsExceptionInfo the exception info

type EventsExceptionResult

type EventsExceptionResult struct {
	Exception *EventsExceptionInfo `json:"exception,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfo `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfo `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfo `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfo `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfo `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfo `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfo `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type Type `json:"type,omitempty"`
}

EventsExceptionResult an exception result

func (EventsExceptionResult) AsBasicEventsResultData

func (eer EventsExceptionResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsAvailabilityResultResult

func (eer EventsExceptionResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsBrowserTimingResult

func (eer EventsExceptionResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsCustomEventResult

func (eer EventsExceptionResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsCustomMetricResult

func (eer EventsExceptionResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsDependencyResult

func (eer EventsExceptionResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsExceptionResult

func (eer EventsExceptionResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsPageViewResult

func (eer EventsExceptionResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsPerformanceCounterResult

func (eer EventsExceptionResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsRequestResult

func (eer EventsExceptionResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsResultData

func (eer EventsExceptionResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsTraceResult

func (eer EventsExceptionResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) MarshalJSON

func (eer EventsExceptionResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsExceptionResult.

type EventsOperationInfo

type EventsOperationInfo struct {
	// Name - Name of the operation
	Name *string `json:"name,omitempty"`
	// ID - ID of the operation
	ID *string `json:"id,omitempty"`
	// ParentID - Parent ID of the operation
	ParentID *string `json:"parentId,omitempty"`
	// SyntheticSource - Synthetic source of the operation
	SyntheticSource *string `json:"syntheticSource,omitempty"`
}

EventsOperationInfo operation info for an event result

type EventsPageViewInfo

type EventsPageViewInfo struct {
	// Name - The name of the page
	Name *string `json:"name,omitempty"`
	// URL - The URL of the page
	URL *string `json:"url,omitempty"`
	// Duration - The duration of the page view
	Duration *string `json:"duration,omitempty"`
	// PerformanceBucket - The performance bucket of the page view
	PerformanceBucket *string `json:"performanceBucket,omitempty"`
}

EventsPageViewInfo the page view information

type EventsPageViewResult

type EventsPageViewResult struct {
	PageView *EventsPageViewInfo `json:"pageView,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfo `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfo `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfo `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfo `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfo `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfo `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfo `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type Type `json:"type,omitempty"`
}

EventsPageViewResult a page view result

func (EventsPageViewResult) AsBasicEventsResultData

func (epvr EventsPageViewResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsAvailabilityResultResult

func (epvr EventsPageViewResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsBrowserTimingResult

func (epvr EventsPageViewResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsCustomEventResult

func (epvr EventsPageViewResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsCustomMetricResult

func (epvr EventsPageViewResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsDependencyResult

func (epvr EventsPageViewResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsExceptionResult

func (epvr EventsPageViewResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsPageViewResult

func (epvr EventsPageViewResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsPerformanceCounterResult

func (epvr EventsPageViewResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsRequestResult

func (epvr EventsPageViewResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsResultData

func (epvr EventsPageViewResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsTraceResult

func (epvr EventsPageViewResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) MarshalJSON

func (epvr EventsPageViewResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsPageViewResult.

type EventsPerformanceCounterInfo

type EventsPerformanceCounterInfo struct {
	// Value - The value of the performance counter
	Value *float64 `json:"value,omitempty"`
	// Name - The name of the performance counter
	Name *string `json:"name,omitempty"`
	// Category - The category of the performance counter
	Category *string `json:"category,omitempty"`
	// Counter - The counter of the performance counter
	Counter *string `json:"counter,omitempty"`
	// InstanceName - The instance name of the performance counter
	InstanceName *string `json:"instanceName,omitempty"`
	// Instance - The instance of the performance counter
	Instance *string `json:"instance,omitempty"`
}

EventsPerformanceCounterInfo the performance counter info

type EventsPerformanceCounterResult

type EventsPerformanceCounterResult struct {
	PerformanceCounter *EventsPerformanceCounterInfo `json:"performanceCounter,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfo `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfo `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfo `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfo `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfo `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfo `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfo `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type Type `json:"type,omitempty"`
}

EventsPerformanceCounterResult a performance counter result

func (EventsPerformanceCounterResult) AsBasicEventsResultData

func (epcr EventsPerformanceCounterResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsAvailabilityResultResult

func (epcr EventsPerformanceCounterResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsBrowserTimingResult

func (epcr EventsPerformanceCounterResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsCustomEventResult

func (epcr EventsPerformanceCounterResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsCustomMetricResult

func (epcr EventsPerformanceCounterResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsDependencyResult

func (epcr EventsPerformanceCounterResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsExceptionResult

func (epcr EventsPerformanceCounterResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsPageViewResult

func (epcr EventsPerformanceCounterResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsPerformanceCounterResult

func (epcr EventsPerformanceCounterResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsRequestResult

func (epcr EventsPerformanceCounterResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsResultData

func (epcr EventsPerformanceCounterResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsTraceResult

func (epcr EventsPerformanceCounterResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) MarshalJSON

func (epcr EventsPerformanceCounterResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsPerformanceCounterResult.

type EventsRequestInfo

type EventsRequestInfo struct {
	// Name - The name of the request
	Name *string `json:"name,omitempty"`
	// URL - The URL of the request
	URL *string `json:"url,omitempty"`
	// Success - Indicates if the request was successful
	Success *string `json:"success,omitempty"`
	// Duration - The duration of the request
	Duration *float64 `json:"duration,omitempty"`
	// PerformanceBucket - The performance bucket of the request
	PerformanceBucket *string `json:"performanceBucket,omitempty"`
	// ResultCode - The result code of the request
	ResultCode *string `json:"resultCode,omitempty"`
	// Source - The source of the request
	Source *string `json:"source,omitempty"`
	// ID - The ID of the request
	ID *string `json:"id,omitempty"`
}

EventsRequestInfo the request info

type EventsRequestResult

type EventsRequestResult struct {
	Request *EventsRequestInfo `json:"request,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfo `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfo `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfo `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfo `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfo `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfo `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfo `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type Type `json:"type,omitempty"`
}

EventsRequestResult a request result

func (EventsRequestResult) AsBasicEventsResultData

func (errVar EventsRequestResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsAvailabilityResultResult

func (errVar EventsRequestResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsBrowserTimingResult

func (errVar EventsRequestResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsCustomEventResult

func (errVar EventsRequestResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsCustomMetricResult

func (errVar EventsRequestResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsDependencyResult

func (errVar EventsRequestResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsExceptionResult

func (errVar EventsRequestResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsPageViewResult

func (errVar EventsRequestResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsPerformanceCounterResult

func (errVar EventsRequestResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsRequestResult

func (errVar EventsRequestResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsResultData

func (errVar EventsRequestResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsTraceResult

func (errVar EventsRequestResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) MarshalJSON

func (errVar EventsRequestResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsRequestResult.

type EventsResult

type EventsResult struct {
	// AiMessages - OData messages for this response.
	AiMessages *[]ErrorInfo          `json:"@ai.messages,omitempty"`
	Value      BasicEventsResultData `json:"value,omitempty"`
}

EventsResult an event query result.

func (*EventsResult) UnmarshalJSON

func (er *EventsResult) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventsResult struct.

type EventsResultData

type EventsResultData struct {
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfo `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfo `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfo `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfo `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfo `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfo `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfo `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type Type `json:"type,omitempty"`
}

EventsResultData events query result data.

func (EventsResultData) AsBasicEventsResultData

func (erd EventsResultData) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsAvailabilityResultResult

func (erd EventsResultData) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsBrowserTimingResult

func (erd EventsResultData) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsCustomEventResult

func (erd EventsResultData) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsCustomMetricResult

func (erd EventsResultData) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsDependencyResult

func (erd EventsResultData) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsExceptionResult

func (erd EventsResultData) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsPageViewResult

func (erd EventsResultData) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsPerformanceCounterResult

func (erd EventsResultData) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsRequestResult

func (erd EventsResultData) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsResultData

func (erd EventsResultData) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsTraceResult

func (erd EventsResultData) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) MarshalJSON

func (erd EventsResultData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsResultData.

type EventsResultDataCustomDimensions

type EventsResultDataCustomDimensions struct {
	AdditionalProperties interface{} `json:"additionalProperties,omitempty"`
}

EventsResultDataCustomDimensions custom dimensions of the event

type EventsResultDataCustomMeasurements

type EventsResultDataCustomMeasurements struct {
	AdditionalProperties interface{} `json:"additionalProperties,omitempty"`
}

EventsResultDataCustomMeasurements custom measurements of the event

type EventsResults

type EventsResults struct {
	autorest.Response `json:"-"`
	// OdataContext - OData context metadata endpoint for this response
	OdataContext *string `json:"@odata.context,omitempty"`
	// AiMessages - OData messages for this response.
	AiMessages *[]ErrorInfo `json:"@ai.messages,omitempty"`
	// Value - Contents of the events query result.
	Value *[]BasicEventsResultData `json:"value,omitempty"`
}

EventsResults an events query result.

func (*EventsResults) UnmarshalJSON

func (er *EventsResults) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventsResults struct.

type EventsSessionInfo

type EventsSessionInfo struct {
	// ID - ID of the session
	ID *string `json:"id,omitempty"`
}

EventsSessionInfo session info for an event result

type EventsTraceInfo

type EventsTraceInfo struct {
	// Message - The trace message
	Message *string `json:"message,omitempty"`
	// SeverityLevel - The trace severity level
	SeverityLevel *int32 `json:"severityLevel,omitempty"`
}

EventsTraceInfo the trace information

type EventsTraceResult

type EventsTraceResult struct {
	Trace *EventsTraceInfo `json:"trace,omitempty"`
	// ID - The unique ID for this event.
	ID *string `json:"id,omitempty"`
	// Count - Count of the event
	Count *int64 `json:"count,omitempty"`
	// Timestamp - Timestamp of the event
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// CustomDimensions - Custom dimensions of the event
	CustomDimensions *EventsResultDataCustomDimensions `json:"customDimensions,omitempty"`
	// CustomMeasurements - Custom measurements of the event
	CustomMeasurements *EventsResultDataCustomMeasurements `json:"customMeasurements,omitempty"`
	// Operation - Operation info of the event
	Operation *EventsOperationInfo `json:"operation,omitempty"`
	// Session - Session info of the event
	Session *EventsSessionInfo `json:"session,omitempty"`
	// User - User info of the event
	User *EventsUserInfo `json:"user,omitempty"`
	// Cloud - Cloud info of the event
	Cloud *EventsCloudInfo `json:"cloud,omitempty"`
	// Ai - AI info of the event
	Ai *EventsAiInfo `json:"ai,omitempty"`
	// Application - Application info of the event
	Application *EventsApplicationInfo `json:"application,omitempty"`
	// Client - Client info of the event
	Client *EventsClientInfo `json:"client,omitempty"`
	// Type - Possible values include: 'TypeEventsResultData', 'TypeTrace', 'TypeCustomEvent', 'TypePageView', 'TypeBrowserTiming', 'TypeRequest', 'TypeDependency', 'TypeException', 'TypeAvailabilityResult', 'TypePerformanceCounter', 'TypeCustomMetric'
	Type Type `json:"type,omitempty"`
}

EventsTraceResult a trace result

func (EventsTraceResult) AsBasicEventsResultData

func (etr EventsTraceResult) AsBasicEventsResultData() (BasicEventsResultData, bool)

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsAvailabilityResultResult

func (etr EventsTraceResult) AsEventsAvailabilityResultResult() (*EventsAvailabilityResultResult, bool)

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsBrowserTimingResult

func (etr EventsTraceResult) AsEventsBrowserTimingResult() (*EventsBrowserTimingResult, bool)

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsCustomEventResult

func (etr EventsTraceResult) AsEventsCustomEventResult() (*EventsCustomEventResult, bool)

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsCustomMetricResult

func (etr EventsTraceResult) AsEventsCustomMetricResult() (*EventsCustomMetricResult, bool)

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsDependencyResult

func (etr EventsTraceResult) AsEventsDependencyResult() (*EventsDependencyResult, bool)

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsExceptionResult

func (etr EventsTraceResult) AsEventsExceptionResult() (*EventsExceptionResult, bool)

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsPageViewResult

func (etr EventsTraceResult) AsEventsPageViewResult() (*EventsPageViewResult, bool)

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsPerformanceCounterResult

func (etr EventsTraceResult) AsEventsPerformanceCounterResult() (*EventsPerformanceCounterResult, bool)

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsRequestResult

func (etr EventsTraceResult) AsEventsRequestResult() (*EventsRequestResult, bool)

AsEventsRequestResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsResultData

func (etr EventsTraceResult) AsEventsResultData() (*EventsResultData, bool)

AsEventsResultData is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsTraceResult

func (etr EventsTraceResult) AsEventsTraceResult() (*EventsTraceResult, bool)

AsEventsTraceResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) MarshalJSON

func (etr EventsTraceResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventsTraceResult.

type EventsUserInfo

type EventsUserInfo struct {
	// ID - ID of the user
	ID *string `json:"id,omitempty"`
	// AccountID - Account ID of the user
	AccountID *string `json:"accountId,omitempty"`
	// AuthenticatedID - Authenticated ID of the user
	AuthenticatedID *string `json:"authenticatedId,omitempty"`
}

EventsUserInfo user info for an event result

type ListMetricsResultsItem

type ListMetricsResultsItem struct {
	autorest.Response `json:"-"`
	Value             *[]MetricsResultsItem `json:"value,omitempty"`
}

ListMetricsResultsItem ...

type MetricID

type MetricID string

MetricID enumerates the values for metric id.

const (
	// AvailabilityResultsavailabilityPercentage ...
	AvailabilityResultsavailabilityPercentage MetricID = "availabilityResults/availabilityPercentage"
	// AvailabilityResultsduration ...
	AvailabilityResultsduration MetricID = "availabilityResults/duration"
	// BillingtelemetryCount ...
	BillingtelemetryCount MetricID = "billing/telemetryCount"
	// ClientnetworkDuration ...
	ClientnetworkDuration MetricID = "client/networkDuration"
	// ClientprocessingDuration ...
	ClientprocessingDuration MetricID = "client/processingDuration"
	// ClientreceiveDuration ...
	ClientreceiveDuration MetricID = "client/receiveDuration"
	// ClientsendDuration ...
	ClientsendDuration MetricID = "client/sendDuration"
	// ClienttotalDuration ...
	ClienttotalDuration MetricID = "client/totalDuration"
	// CustomEventscount ...
	CustomEventscount MetricID = "customEvents/count"
	// Dependenciescount ...
	Dependenciescount MetricID = "dependencies/count"
	// Dependenciesduration ...
	Dependenciesduration MetricID = "dependencies/duration"
	// Dependenciesfailed ...
	Dependenciesfailed MetricID = "dependencies/failed"
	// Exceptionsbrowser ...
	Exceptionsbrowser MetricID = "exceptions/browser"
	// Exceptionscount ...
	Exceptionscount MetricID = "exceptions/count"
	// Exceptionsserver ...
	Exceptionsserver MetricID = "exceptions/server"
	// PageViewscount ...
	PageViewscount MetricID = "pageViews/count"
	// PageViewsduration ...
	PageViewsduration MetricID = "pageViews/duration"
	// PerformanceCountersexceptionsPerSecond ...
	PerformanceCountersexceptionsPerSecond MetricID = "performanceCounters/exceptionsPerSecond"
	// PerformanceCountersmemoryAvailableBytes ...
	PerformanceCountersmemoryAvailableBytes MetricID = "performanceCounters/memoryAvailableBytes"
	// PerformanceCountersprocessCPUPercentage ...
	PerformanceCountersprocessCPUPercentage MetricID = "performanceCounters/processCpuPercentage"
	// PerformanceCountersprocessIOBytesPerSecond ...
	PerformanceCountersprocessIOBytesPerSecond MetricID = "performanceCounters/processIOBytesPerSecond"
	// PerformanceCountersprocessorCPUPercentage ...
	PerformanceCountersprocessorCPUPercentage MetricID = "performanceCounters/processorCpuPercentage"
	// PerformanceCountersprocessPrivateBytes ...
	PerformanceCountersprocessPrivateBytes MetricID = "performanceCounters/processPrivateBytes"
	// PerformanceCountersrequestExecutionTime ...
	PerformanceCountersrequestExecutionTime MetricID = "performanceCounters/requestExecutionTime"
	// PerformanceCountersrequestsInQueue ...
	PerformanceCountersrequestsInQueue MetricID = "performanceCounters/requestsInQueue"
	// PerformanceCountersrequestsPerSecond ...
	PerformanceCountersrequestsPerSecond MetricID = "performanceCounters/requestsPerSecond"
	// Requestscount ...
	Requestscount MetricID = "requests/count"
	// Requestsduration ...
	Requestsduration MetricID = "requests/duration"
	// Requestsfailed ...
	Requestsfailed MetricID = "requests/failed"
	// Sessionscount ...
	Sessionscount MetricID = "sessions/count"
	// Usersauthenticated ...
	Usersauthenticated MetricID = "users/authenticated"
	// Userscount ...
	Userscount MetricID = "users/count"
)

func PossibleMetricIDValues

func PossibleMetricIDValues() []MetricID

PossibleMetricIDValues returns an array of possible values for the MetricID const type.

type MetricsAggregation

type MetricsAggregation string

MetricsAggregation enumerates the values for metrics aggregation.

const (
	// Avg ...
	Avg MetricsAggregation = "avg"
	// Count ...
	Count MetricsAggregation = "count"
	// Max ...
	Max MetricsAggregation = "max"
	// Min ...
	Min MetricsAggregation = "min"
	// Sum ...
	Sum MetricsAggregation = "sum"
	// Unique ...
	Unique MetricsAggregation = "unique"
)

func PossibleMetricsAggregationValues

func PossibleMetricsAggregationValues() []MetricsAggregation

PossibleMetricsAggregationValues returns an array of possible values for the MetricsAggregation const type.

type MetricsClient

type MetricsClient struct {
	BaseClient
}

MetricsClient is the composite Swagger for Application Insights Data Client

func NewMetricsClient

func NewMetricsClient() MetricsClient

NewMetricsClient creates an instance of the MetricsClient client.

func NewMetricsClientWithBaseURI

func NewMetricsClientWithBaseURI(baseURI string) MetricsClient

NewMetricsClientWithBaseURI creates an instance of the MetricsClient client.

func (MetricsClient) Get

func (client MetricsClient) Get(ctx context.Context, appID string, metricID MetricID, timespan string, interval *string, aggregation []MetricsAggregation, segment []MetricsSegment, top *int32, orderby string, filter string) (result MetricsResult, err error)

Get gets metric values for a single metric Parameters: appID - ID of the application. This is Application ID from the API Access settings blade in the Azure portal. metricID - ID of the metric. This is either a standard AI metric, or an application-specific custom metric. timespan - the timespan over which to retrieve metric values. This is an ISO8601 time period value. If timespan is omitted, a default time range of `PT12H` ("last 12 hours") is used. The actual timespan that is queried may be adjusted by the server based. In all cases, the actual time span used for the query is included in the response. interval - the time interval to use when retrieving metric values. This is an ISO8601 duration. If interval is omitted, the metric value is aggregated across the entire timespan. If interval is supplied, the server may adjust the interval to a more appropriate size based on the timespan used for the query. In all cases, the actual interval used for the query is included in the response. aggregation - the aggregation to use when computing the metric values. To retrieve more than one aggregation at a time, separate them with a comma. If no aggregation is specified, then the default aggregation for the metric is used. segment - the name of the dimension to segment the metric values by. This dimension must be applicable to the metric you are retrieving. To segment by more than one dimension at a time, separate them with a comma (,). In this case, the metric data will be segmented in the order the dimensions are listed in the parameter. top - the number of segments to return. This value is only valid when segment is specified. orderby - the aggregation function and direction to sort the segments by. This value is only valid when segment is specified. filter - an expression used to filter the results. This value should be a valid OData filter expression where the keys of each clause should be applicable dimensions for the metric you are retrieving.

func (MetricsClient) GetMetadata

func (client MetricsClient) GetMetadata(ctx context.Context, appID string) (result SetObject, err error)

GetMetadata gets metadata describing the available metrics Parameters: appID - ID of the application. This is Application ID from the API Access settings blade in the Azure portal.

func (MetricsClient) GetMetadataPreparer

func (client MetricsClient) GetMetadataPreparer(ctx context.Context, appID string) (*http.Request, error)

GetMetadataPreparer prepares the GetMetadata request.

func (MetricsClient) GetMetadataResponder

func (client MetricsClient) GetMetadataResponder(resp *http.Response) (result SetObject, err error)

GetMetadataResponder handles the response to the GetMetadata request. The method always closes the http.Response Body.

func (MetricsClient) GetMetadataSender

func (client MetricsClient) GetMetadataSender(req *http.Request) (*http.Response, error)

GetMetadataSender sends the GetMetadata request. The method will close the http.Response Body if it receives an error.

func (MetricsClient) GetMultiple

func (client MetricsClient) GetMultiple(ctx context.Context, appID string, body []MetricsPostBodySchema) (result ListMetricsResultsItem, err error)

GetMultiple gets metric values for multiple metrics Parameters: appID - ID of the application. This is Application ID from the API Access settings blade in the Azure portal. body - the batched metrics query.

func (MetricsClient) GetMultiplePreparer

func (client MetricsClient) GetMultiplePreparer(ctx context.Context, appID string, body []MetricsPostBodySchema) (*http.Request, error)

GetMultiplePreparer prepares the GetMultiple request.

func (MetricsClient) GetMultipleResponder

func (client MetricsClient) GetMultipleResponder(resp *http.Response) (result ListMetricsResultsItem, err error)

GetMultipleResponder handles the response to the GetMultiple request. The method always closes the http.Response Body.

func (MetricsClient) GetMultipleSender

func (client MetricsClient) GetMultipleSender(req *http.Request) (*http.Response, error)

GetMultipleSender sends the GetMultiple request. The method will close the http.Response Body if it receives an error.

func (MetricsClient) GetPreparer

func (client MetricsClient) GetPreparer(ctx context.Context, appID string, metricID MetricID, timespan string, interval *string, aggregation []MetricsAggregation, segment []MetricsSegment, top *int32, orderby string, filter string) (*http.Request, error)

GetPreparer prepares the Get request.

func (MetricsClient) GetResponder

func (client MetricsClient) GetResponder(resp *http.Response) (result MetricsResult, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (MetricsClient) GetSender

func (client MetricsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type MetricsPostBodySchema

type MetricsPostBodySchema struct {
	// ID - An identifier for this query.  Must be unique within the post body of the request.  This identifier will be the 'id' property of the response object representing this query.
	ID *string `json:"id,omitempty"`
	// Parameters - The parameters for a single metrics query
	Parameters *MetricsPostBodySchemaParameters `json:"parameters,omitempty"`
}

MetricsPostBodySchema a metric request

type MetricsPostBodySchemaParameters

type MetricsPostBodySchemaParameters struct {
	// MetricID - Possible values include: 'Requestscount', 'Requestsduration', 'Requestsfailed', 'Userscount', 'Usersauthenticated', 'PageViewscount', 'PageViewsduration', 'ClientprocessingDuration', 'ClientreceiveDuration', 'ClientnetworkDuration', 'ClientsendDuration', 'ClienttotalDuration', 'Dependenciescount', 'Dependenciesfailed', 'Dependenciesduration', 'Exceptionscount', 'Exceptionsbrowser', 'Exceptionsserver', 'Sessionscount', 'PerformanceCountersrequestExecutionTime', 'PerformanceCountersrequestsPerSecond', 'PerformanceCountersrequestsInQueue', 'PerformanceCountersmemoryAvailableBytes', 'PerformanceCountersexceptionsPerSecond', 'PerformanceCountersprocessCPUPercentage', 'PerformanceCountersprocessIOBytesPerSecond', 'PerformanceCountersprocessPrivateBytes', 'PerformanceCountersprocessorCPUPercentage', 'AvailabilityResultsavailabilityPercentage', 'AvailabilityResultsduration', 'BillingtelemetryCount', 'CustomEventscount'
	MetricID    MetricID              `json:"metricId,omitempty"`
	Timespan    *string               `json:"timespan,omitempty"`
	Aggregation *[]MetricsAggregation `json:"aggregation,omitempty"`
	Interval    *string               `json:"interval,omitempty"`
	Segment     *[]MetricsSegment     `json:"segment,omitempty"`
	Top         *int32                `json:"top,omitempty"`
	Orderby     *string               `json:"orderby,omitempty"`
	Filter      *string               `json:"filter,omitempty"`
}

MetricsPostBodySchemaParameters the parameters for a single metrics query

type MetricsResult

type MetricsResult struct {
	autorest.Response `json:"-"`
	Value             *MetricsResultInfo `json:"value,omitempty"`
}

MetricsResult a metric result.

type MetricsResultInfo

type MetricsResultInfo struct {
	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
	AdditionalProperties map[string]interface{} `json:""`
	// Start - Start time of the metric.
	Start *date.Time `json:"start,omitempty"`
	// End - Start time of the metric.
	End *date.Time `json:"end,omitempty"`
	// Interval - The interval used to segment the metric data.
	Interval *string `json:"interval,omitempty"`
	// Segments - Segmented metric data (if segmented).
	Segments *[]MetricsSegmentInfo `json:"segments,omitempty"`
}

MetricsResultInfo a metric result data.

func (MetricsResultInfo) MarshalJSON

func (mri MetricsResultInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricsResultInfo.

func (*MetricsResultInfo) UnmarshalJSON

func (mri *MetricsResultInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MetricsResultInfo struct.

type MetricsResultsItem

type MetricsResultsItem struct {
	// ID - The specified ID for this metric.
	ID *string `json:"id,omitempty"`
	// Status - The HTTP status code of this metric query.
	Status *int32 `json:"status,omitempty"`
	// Body - The results of this metric query.
	Body *MetricsResult `json:"body,omitempty"`
}

MetricsResultsItem ...

type MetricsSegment

type MetricsSegment string

MetricsSegment enumerates the values for metrics segment.

const (
	// ApplicationBuild ...
	ApplicationBuild MetricsSegment = "applicationBuild"
	// ApplicationVersion ...
	ApplicationVersion MetricsSegment = "applicationVersion"
	// AuthenticatedOrAnonymousTraffic ...
	AuthenticatedOrAnonymousTraffic MetricsSegment = "authenticatedOrAnonymousTraffic"
	// Browser ...
	Browser MetricsSegment = "browser"
	// BrowserVersion ...
	BrowserVersion MetricsSegment = "browserVersion"
	// City ...
	City MetricsSegment = "city"
	// CloudRoleName ...
	CloudRoleName MetricsSegment = "cloudRoleName"
	// CloudServiceName ...
	CloudServiceName MetricsSegment = "cloudServiceName"
	// Continent ...
	Continent MetricsSegment = "continent"
	// CountryOrRegion ...
	CountryOrRegion MetricsSegment = "countryOrRegion"
	// DeploymentID ...
	DeploymentID MetricsSegment = "deploymentId"
	// DeploymentUnit ...
	DeploymentUnit MetricsSegment = "deploymentUnit"
	// DeviceType ...
	DeviceType MetricsSegment = "deviceType"
	// Environment ...
	Environment MetricsSegment = "environment"
	// HostingLocation ...
	HostingLocation MetricsSegment = "hostingLocation"
	// InstanceName ...
	InstanceName MetricsSegment = "instanceName"
)

func PossibleMetricsSegmentValues

func PossibleMetricsSegmentValues() []MetricsSegment

PossibleMetricsSegmentValues returns an array of possible values for the MetricsSegment const type.

type MetricsSegmentInfo

type MetricsSegmentInfo struct {
	// AdditionalProperties - Unmatched properties from the message are deserialized this collection
	AdditionalProperties map[string]interface{} `json:""`
	// Start - Start time of the metric segment (only when an interval was specified).
	Start *date.Time `json:"start,omitempty"`
	// End - Start time of the metric segment (only when an interval was specified).
	End *date.Time `json:"end,omitempty"`
	// Segments - Segmented metric data (if further segmented).
	Segments *[]MetricsSegmentInfo `json:"segments,omitempty"`
}

MetricsSegmentInfo a metric segment

func (MetricsSegmentInfo) MarshalJSON

func (msi MetricsSegmentInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricsSegmentInfo.

func (*MetricsSegmentInfo) UnmarshalJSON

func (msi *MetricsSegmentInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MetricsSegmentInfo struct.

type QueryBody

type QueryBody struct {
	// Query - The query to execute.
	Query *string `json:"query,omitempty"`
	// Timespan - Optional. The timespan over which to query data. This is an ISO8601 time period value.  This timespan is applied in addition to any that are specified in the query expression.
	Timespan *string `json:"timespan,omitempty"`
	// Applications - A list of Application IDs for cross-application queries.
	Applications *[]string `json:"applications,omitempty"`
}

QueryBody the Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/)

type QueryClient

type QueryClient struct {
	BaseClient
}

QueryClient is the composite Swagger for Application Insights Data Client

func NewQueryClient

func NewQueryClient() QueryClient

NewQueryClient creates an instance of the QueryClient client.

func NewQueryClientWithBaseURI

func NewQueryClientWithBaseURI(baseURI string) QueryClient

NewQueryClientWithBaseURI creates an instance of the QueryClient client.

func (QueryClient) Execute

func (client QueryClient) Execute(ctx context.Context, appID string, body QueryBody) (result QueryResults, err error)

Execute executes an Analytics query for data. [Here](https://dev.applicationinsights.io/documentation/Using-the-API/Query) is an example for using POST with an Analytics query. Parameters: appID - ID of the application. This is Application ID from the API Access settings blade in the Azure portal. body - the Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/)

func (QueryClient) ExecutePreparer

func (client QueryClient) ExecutePreparer(ctx context.Context, appID string, body QueryBody) (*http.Request, error)

ExecutePreparer prepares the Execute request.

func (QueryClient) ExecuteResponder

func (client QueryClient) ExecuteResponder(resp *http.Response) (result QueryResults, err error)

ExecuteResponder handles the response to the Execute request. The method always closes the http.Response Body.

func (QueryClient) ExecuteSender

func (client QueryClient) ExecuteSender(req *http.Request) (*http.Response, error)

ExecuteSender sends the Execute request. The method will close the http.Response Body if it receives an error.

type QueryResults

type QueryResults struct {
	autorest.Response `json:"-"`
	// Tables - The list of tables, columns and rows.
	Tables *[]Table `json:"tables,omitempty"`
}

QueryResults contains the tables, columns & rows resulting from a query.

type SetObject

type SetObject struct {
	autorest.Response `json:"-"`
	Value             interface{} `json:"value,omitempty"`
}

SetObject ...

type Table

type Table struct {
	// Name - The name of the table.
	Name *string `json:"name,omitempty"`
	// Columns - The list of columns in this table.
	Columns *[]Column `json:"columns,omitempty"`
	// Rows - The resulting rows from this query.
	Rows *[][]interface{} `json:"rows,omitempty"`
}

Table contains the columns and rows for one table in a query response.

type Type

type Type string

Type enumerates the values for type.

const (
	// TypeAvailabilityResult ...
	TypeAvailabilityResult Type = "availabilityResult"
	// TypeBrowserTiming ...
	TypeBrowserTiming Type = "browserTiming"
	// TypeCustomEvent ...
	TypeCustomEvent Type = "customEvent"
	// TypeCustomMetric ...
	TypeCustomMetric Type = "customMetric"
	// TypeDependency ...
	TypeDependency Type = "dependency"
	// TypeEventsResultData ...
	TypeEventsResultData Type = "eventsResultData"
	// TypeException ...
	TypeException Type = "exception"
	// TypePageView ...
	TypePageView Type = "pageView"
	// TypePerformanceCounter ...
	TypePerformanceCounter Type = "performanceCounter"
	// TypeRequest ...
	TypeRequest Type = "request"
	// TypeTrace ...
	TypeTrace Type = "trace"
)

func PossibleTypeValues

func PossibleTypeValues() []Type

PossibleTypeValues returns an array of possible values for the Type const type.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL