insights

package
v17.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2018 License: Apache-2.0 Imports: 8 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
	AppID   string
}

BaseClient is the base client for Insights.

func New

func New(appID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, appID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

func (BaseClient) GetEvent

func (client BaseClient) GetEvent(ctx context.Context, eventType EventType, eventID string, timespan *string) (result EventsResults, err error)

GetEvent gets the data for a single event Parameters: 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 (BaseClient) GetEventPreparer

func (client BaseClient) GetEventPreparer(ctx context.Context, eventType EventType, eventID string, timespan *string) (*http.Request, error)

GetEventPreparer prepares the GetEvent request.

func (BaseClient) GetEventResponder

func (client BaseClient) GetEventResponder(resp *http.Response) (result EventsResults, err error)

GetEventResponder handles the response to the GetEvent request. The method always closes the http.Response Body.

func (BaseClient) GetEventSender

func (client BaseClient) GetEventSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetEvents

func (client BaseClient) GetEvents(ctx context.Context, 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)

GetEvents executes an OData query for events Parameters: 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 (BaseClient) GetEventsMetadataOData

func (client BaseClient) GetEventsMetadataOData(ctx context.Context) (result SetObject, err error)

GetEventsMetadataOData gets OData EDMX metadata describing the event data model

func (BaseClient) GetEventsMetadataODataPreparer

func (client BaseClient) GetEventsMetadataODataPreparer(ctx context.Context) (*http.Request, error)

GetEventsMetadataODataPreparer prepares the GetEventsMetadataOData request.

func (BaseClient) GetEventsMetadataODataResponder

func (client BaseClient) GetEventsMetadataODataResponder(resp *http.Response) (result SetObject, err error)

GetEventsMetadataODataResponder handles the response to the GetEventsMetadataOData request. The method always closes the http.Response Body.

func (BaseClient) GetEventsMetadataODataSender

func (client BaseClient) GetEventsMetadataODataSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetEventsPreparer

func (client BaseClient) GetEventsPreparer(ctx context.Context, 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)

GetEventsPreparer prepares the GetEvents request.

func (BaseClient) GetEventsResponder

func (client BaseClient) GetEventsResponder(resp *http.Response) (result EventsResults, err error)

GetEventsResponder handles the response to the GetEvents request. The method always closes the http.Response Body.

func (BaseClient) GetEventsSender

func (client BaseClient) GetEventsSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetMetric

func (client BaseClient) GetMetric(ctx context.Context, metricID string, timespan *string, interval *string, aggregation []string, segment []string, top *int32, orderby string, filter string) (result MetricsResult, err error)

GetMetric gets data for a single metric. Parameters: 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 (BaseClient) GetMetricPreparer

func (client BaseClient) GetMetricPreparer(ctx context.Context, metricID string, timespan *string, interval *string, aggregation []string, segment []string, top *int32, orderby string, filter string) (*http.Request, error)

GetMetricPreparer prepares the GetMetric request.

func (BaseClient) GetMetricResponder

func (client BaseClient) GetMetricResponder(resp *http.Response) (result MetricsResult, err error)

GetMetricResponder handles the response to the GetMetric request. The method always closes the http.Response Body.

func (BaseClient) GetMetricSender

func (client BaseClient) GetMetricSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetMetrics

func (client BaseClient) GetMetrics(ctx context.Context, body []MetricsPostBodySchema) (result ListMetricsResultsItem, err error)

GetMetrics gets metric values for multiple metrics Parameters: body - the batched metrics query.

func (BaseClient) GetMetricsMetadata

func (client BaseClient) GetMetricsMetadata(ctx context.Context) (result SetObject, err error)

GetMetricsMetadata gets metadata describing the available metrics

func (BaseClient) GetMetricsMetadataPreparer

func (client BaseClient) GetMetricsMetadataPreparer(ctx context.Context) (*http.Request, error)

GetMetricsMetadataPreparer prepares the GetMetricsMetadata request.

func (BaseClient) GetMetricsMetadataResponder

func (client BaseClient) GetMetricsMetadataResponder(resp *http.Response) (result SetObject, err error)

GetMetricsMetadataResponder handles the response to the GetMetricsMetadata request. The method always closes the http.Response Body.

func (BaseClient) GetMetricsMetadataSender

func (client BaseClient) GetMetricsMetadataSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetMetricsPreparer

func (client BaseClient) GetMetricsPreparer(ctx context.Context, body []MetricsPostBodySchema) (*http.Request, error)

GetMetricsPreparer prepares the GetMetrics request.

func (BaseClient) GetMetricsResponder

func (client BaseClient) GetMetricsResponder(resp *http.Response) (result ListMetricsResultsItem, err error)

GetMetricsResponder handles the response to the GetMetrics request. The method always closes the http.Response Body.

func (BaseClient) GetMetricsSender

func (client BaseClient) GetMetricsSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetQuery

func (client BaseClient) GetQuery(ctx context.Context, query string, timespan *string) (result QueryResults, err error)

GetQuery executes an Analytics query for data Parameters: query - the Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/) 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.

func (BaseClient) GetQueryPreparer

func (client BaseClient) GetQueryPreparer(ctx context.Context, query string, timespan *string) (*http.Request, error)

GetQueryPreparer prepares the GetQuery request.

func (BaseClient) GetQueryResponder

func (client BaseClient) GetQueryResponder(resp *http.Response) (result QueryResults, err error)

GetQueryResponder handles the response to the GetQuery request. The method always closes the http.Response Body.

func (BaseClient) GetQuerySchema

func (client BaseClient) GetQuerySchema(ctx context.Context) (result QueryResults, err error)

GetQuerySchema gets Analytics query schema describing the data model

func (BaseClient) GetQuerySchemaPreparer

func (client BaseClient) GetQuerySchemaPreparer(ctx context.Context) (*http.Request, error)

GetQuerySchemaPreparer prepares the GetQuerySchema request.

func (BaseClient) GetQuerySchemaResponder

func (client BaseClient) GetQuerySchemaResponder(resp *http.Response) (result QueryResults, err error)

GetQuerySchemaResponder handles the response to the GetQuerySchema request. The method always closes the http.Response Body.

func (BaseClient) GetQuerySchemaSender

func (client BaseClient) GetQuerySchemaSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetQuerySender

func (client BaseClient) GetQuerySender(req *http.Request) (*http.Response, error)

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

func (BaseClient) Query

func (client BaseClient) Query(ctx context.Context, body QueryBody, timespan *string) (result QueryResults, err error)

Query executes an Analytics query for data. [Here](/documentation/2-Using-the-API/Query) is an example for using POST with an Analytics query. Parameters: body - the Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/) 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.

func (BaseClient) QueryPreparer

func (client BaseClient) QueryPreparer(ctx context.Context, body QueryBody, timespan *string) (*http.Request, error)

QueryPreparer prepares the Query request.

func (BaseClient) QueryResponder

func (client BaseClient) QueryResponder(resp *http.Response) (result QueryResults, err error)

QueryResponder handles the response to the Query request. The method always closes the http.Response Body.

func (BaseClient) QuerySender

func (client BaseClient) QuerySender(req *http.Request) (*http.Response, error)

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

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 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 *float64 `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 *int64 `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 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 *[]string `json:"aggregation,omitempty"`
	Interval    *string   `json:"interval,omitempty"`
	Segment     *[]string `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.

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 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.

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 applications that are included in the query.
	Applications *[]string `json:"applications,omitempty"`
}

QueryBody query request body

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 *[][]string `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