azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/appinsights/v1/insights Index | Files

package insights

import "github.com/Azure/azure-sdk-for-go/services/appinsights/v1/insights"

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

Composite Swagger for Application Insights Data Client

Index

Package Files

client.go events.go metrics.go models.go query.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI string
}

BaseClient is the base client for Insights.

func New Uses

func New() BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BasicEventsResultData Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ErrorResponse contains details when the response code indicates an error.

type EventType Uses

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 Uses

func PossibleEventTypeValues() []EventType

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

type EventsAiInfo Uses

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 Uses

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

EventsApplicationInfo application info for an event result

type EventsAvailabilityResultInfo Uses

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 Uses

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 Uses

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

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsAvailabilityResultResult Uses

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

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsBrowserTimingResult Uses

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

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsCustomEventResult Uses

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

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsCustomMetricResult Uses

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

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsDependencyResult Uses

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

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsExceptionResult Uses

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

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsPageViewResult Uses

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

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsPerformanceCounterResult Uses

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

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsRequestResult Uses

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

AsEventsRequestResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsResultData Uses

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

AsEventsResultData is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) AsEventsTraceResult Uses

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

AsEventsTraceResult is the BasicEventsResultData implementation for EventsAvailabilityResultResult.

func (EventsAvailabilityResultResult) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EventsAvailabilityResultResult.

type EventsBrowserTimingInfo Uses

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 Uses

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 Uses

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

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsAvailabilityResultResult Uses

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

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsBrowserTimingResult Uses

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

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsCustomEventResult Uses

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

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsCustomMetricResult Uses

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

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsDependencyResult Uses

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

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsExceptionResult Uses

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

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsPageViewResult Uses

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

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsPerformanceCounterResult Uses

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

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsRequestResult Uses

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

AsEventsRequestResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsResultData Uses

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

AsEventsResultData is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) AsEventsTraceResult Uses

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

AsEventsTraceResult is the BasicEventsResultData implementation for EventsBrowserTimingResult.

func (EventsBrowserTimingResult) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EventsBrowserTimingResult.

type EventsClient Uses

type EventsClient struct {
    BaseClient
}

EventsClient is the composite Swagger for Application Insights Data Client

func NewEventsClient Uses

func NewEventsClient() EventsClient

NewEventsClient creates an instance of the EventsClient client.

func NewEventsClientWithBaseURI Uses

func NewEventsClientWithBaseURI(baseURI string) EventsClient

NewEventsClientWithBaseURI creates an instance of the EventsClient client.

func (EventsClient) Get Uses

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

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

func (EventsClient) GetByType Uses

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

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

func (EventsClient) GetByTypePreparer Uses

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

GetByTypePreparer prepares the GetByType request.

func (EventsClient) GetByTypeResponder Uses

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

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

func (EventsClient) GetByTypeSender Uses

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

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

func (EventsClient) GetOdataMetadata Uses

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

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

func (EventsClient) GetOdataMetadataPreparer Uses

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

GetOdataMetadataPreparer prepares the GetOdataMetadata request.

func (EventsClient) GetOdataMetadataResponder Uses

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

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

func (EventsClient) GetOdataMetadataSender Uses

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

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

func (EventsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (EventsClient) GetResponder Uses

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

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

func (EventsClient) GetSender Uses

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

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

type EventsClientInfo Uses

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 Uses

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

EventsClientPerformanceInfo client performance information

type EventsCloudInfo Uses

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 Uses

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

EventsCustomEventInfo the custom event information

type EventsCustomEventResult Uses

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 Uses

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

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsAvailabilityResultResult Uses

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

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsBrowserTimingResult Uses

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

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsCustomEventResult Uses

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

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsCustomMetricResult Uses

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

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsDependencyResult Uses

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

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsExceptionResult Uses

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

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsPageViewResult Uses

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

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsPerformanceCounterResult Uses

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

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsRequestResult Uses

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

AsEventsRequestResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsResultData Uses

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

AsEventsResultData is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) AsEventsTraceResult Uses

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

AsEventsTraceResult is the BasicEventsResultData implementation for EventsCustomEventResult.

func (EventsCustomEventResult) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EventsCustomEventResult.

type EventsCustomMetricInfo Uses

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

EventsCustomMetricInfo the custom metric info

type EventsCustomMetricResult Uses

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 Uses

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

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsAvailabilityResultResult Uses

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

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsBrowserTimingResult Uses

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

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsCustomEventResult Uses

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

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsCustomMetricResult Uses

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

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsDependencyResult Uses

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

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsExceptionResult Uses

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

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsPageViewResult Uses

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

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsPerformanceCounterResult Uses

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

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsRequestResult Uses

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

AsEventsRequestResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsResultData Uses

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

AsEventsResultData is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) AsEventsTraceResult Uses

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

AsEventsTraceResult is the BasicEventsResultData implementation for EventsCustomMetricResult.

func (EventsCustomMetricResult) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EventsCustomMetricResult.

type EventsDependencyInfo Uses

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 Uses

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 Uses

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

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsAvailabilityResultResult Uses

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

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsBrowserTimingResult Uses

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

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsCustomEventResult Uses

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

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsCustomMetricResult Uses

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

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsDependencyResult Uses

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

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsExceptionResult Uses

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

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsPageViewResult Uses

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

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsPerformanceCounterResult Uses

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

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsRequestResult Uses

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

AsEventsRequestResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsResultData Uses

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

AsEventsResultData is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) AsEventsTraceResult Uses

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

AsEventsTraceResult is the BasicEventsResultData implementation for EventsDependencyResult.

func (EventsDependencyResult) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EventsDependencyResult.

type EventsExceptionDetail Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsAvailabilityResultResult Uses

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

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsBrowserTimingResult Uses

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

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsCustomEventResult Uses

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

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsCustomMetricResult Uses

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

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsDependencyResult Uses

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

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsExceptionResult Uses

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

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsPageViewResult Uses

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

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsPerformanceCounterResult Uses

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

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsRequestResult Uses

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

AsEventsRequestResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsResultData Uses

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

AsEventsResultData is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) AsEventsTraceResult Uses

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

AsEventsTraceResult is the BasicEventsResultData implementation for EventsExceptionResult.

func (EventsExceptionResult) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EventsExceptionResult.

type EventsOperationInfo Uses

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 Uses

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 Uses

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 Uses

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

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsAvailabilityResultResult Uses

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

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsBrowserTimingResult Uses

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

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsCustomEventResult Uses

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

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsCustomMetricResult Uses

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

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsDependencyResult Uses

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

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsExceptionResult Uses

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

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsPageViewResult Uses

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

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsPerformanceCounterResult Uses

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

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsRequestResult Uses

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

AsEventsRequestResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsResultData Uses

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

AsEventsResultData is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) AsEventsTraceResult Uses

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

AsEventsTraceResult is the BasicEventsResultData implementation for EventsPageViewResult.

func (EventsPageViewResult) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EventsPageViewResult.

type EventsPerformanceCounterInfo Uses

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

EventsPerformanceCounterInfo the performance counter info

type EventsPerformanceCounterResult Uses

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 Uses

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

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsAvailabilityResultResult Uses

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

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsBrowserTimingResult Uses

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

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsCustomEventResult Uses

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

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsCustomMetricResult Uses

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

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsDependencyResult Uses

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

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsExceptionResult Uses

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

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsPageViewResult Uses

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

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsPerformanceCounterResult Uses

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

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsRequestResult Uses

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

AsEventsRequestResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsResultData Uses

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

AsEventsResultData is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) AsEventsTraceResult Uses

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

AsEventsTraceResult is the BasicEventsResultData implementation for EventsPerformanceCounterResult.

func (EventsPerformanceCounterResult) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EventsPerformanceCounterResult.

type EventsRequestInfo Uses

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 Uses

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 Uses

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

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsAvailabilityResultResult Uses

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

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsBrowserTimingResult Uses

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

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsCustomEventResult Uses

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

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsCustomMetricResult Uses

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

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsDependencyResult Uses

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

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsExceptionResult Uses

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

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsPageViewResult Uses

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

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsPerformanceCounterResult Uses

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

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsRequestResult Uses

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

AsEventsRequestResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsResultData Uses

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

AsEventsResultData is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) AsEventsTraceResult Uses

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

AsEventsTraceResult is the BasicEventsResultData implementation for EventsRequestResult.

func (EventsRequestResult) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EventsRequestResult.

type EventsResult Uses

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 Uses

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

UnmarshalJSON is the custom unmarshaler for EventsResult struct.

type EventsResultData Uses

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 Uses

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

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsAvailabilityResultResult Uses

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

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsBrowserTimingResult Uses

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

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsCustomEventResult Uses

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

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsCustomMetricResult Uses

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

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsDependencyResult Uses

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

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsExceptionResult Uses

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

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsPageViewResult Uses

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

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsPerformanceCounterResult Uses

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

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsRequestResult Uses

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

AsEventsRequestResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsResultData Uses

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

AsEventsResultData is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) AsEventsTraceResult Uses

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

AsEventsTraceResult is the BasicEventsResultData implementation for EventsResultData.

func (EventsResultData) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EventsResultData.

type EventsResultDataCustomDimensions Uses

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

EventsResultDataCustomDimensions custom dimensions of the event

type EventsResultDataCustomMeasurements Uses

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

EventsResultDataCustomMeasurements custom measurements of the event

type EventsResults Uses

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 Uses

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

UnmarshalJSON is the custom unmarshaler for EventsResults struct.

type EventsSessionInfo Uses

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

EventsSessionInfo session info for an event result

type EventsTraceInfo Uses

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 Uses

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 Uses

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

AsBasicEventsResultData is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsAvailabilityResultResult Uses

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

AsEventsAvailabilityResultResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsBrowserTimingResult Uses

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

AsEventsBrowserTimingResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsCustomEventResult Uses

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

AsEventsCustomEventResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsCustomMetricResult Uses

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

AsEventsCustomMetricResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsDependencyResult Uses

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

AsEventsDependencyResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsExceptionResult Uses

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

AsEventsExceptionResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsPageViewResult Uses

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

AsEventsPageViewResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsPerformanceCounterResult Uses

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

AsEventsPerformanceCounterResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsRequestResult Uses

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

AsEventsRequestResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsResultData Uses

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

AsEventsResultData is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) AsEventsTraceResult Uses

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

AsEventsTraceResult is the BasicEventsResultData implementation for EventsTraceResult.

func (EventsTraceResult) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EventsTraceResult.

type EventsUserInfo Uses

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 Uses

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

ListMetricsResultsItem ...

type MetricID Uses

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 Uses

func PossibleMetricIDValues() []MetricID

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

type MetricsAggregation Uses

type MetricsAggregation string

MetricsAggregation enumerates the values for metrics aggregation.

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

func PossibleMetricsAggregationValues Uses

func PossibleMetricsAggregationValues() []MetricsAggregation

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

type MetricsClient Uses

type MetricsClient struct {
    BaseClient
}

MetricsClient is the composite Swagger for Application Insights Data Client

func NewMetricsClient Uses

func NewMetricsClient() MetricsClient

NewMetricsClient creates an instance of the MetricsClient client.

func NewMetricsClientWithBaseURI Uses

func NewMetricsClientWithBaseURI(baseURI string) MetricsClient

NewMetricsClientWithBaseURI creates an instance of the MetricsClient client.

func (MetricsClient) Get Uses

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

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

func (MetricsClient) GetMetadata Uses

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

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

func (MetricsClient) GetMetadataPreparer Uses

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

GetMetadataPreparer prepares the GetMetadata request.

func (MetricsClient) GetMetadataResponder Uses

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

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

func (MetricsClient) GetMetadataSender Uses

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

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

func (MetricsClient) GetMultiple Uses

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

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

func (MetricsClient) GetMultiplePreparer Uses

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

GetMultiplePreparer prepares the GetMultiple request.

func (MetricsClient) GetMultipleResponder Uses

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

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

func (MetricsClient) GetMultipleSender Uses

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

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

func (MetricsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (MetricsClient) GetResponder Uses

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

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

func (MetricsClient) GetSender Uses

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

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

type MetricsPostBodySchema Uses

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 Uses

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

MetricsPostBodySchemaParameters the parameters for a single metrics query

type MetricsResult Uses

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

MetricsResult a metric result.

type MetricsResultInfo Uses

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 Uses

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

MarshalJSON is the custom marshaler for MetricsResultInfo.

func (*MetricsResultInfo) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for MetricsResultInfo struct.

type MetricsResultsItem Uses

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

MetricsResultsItem ...

type MetricsSegment Uses

type MetricsSegment string

MetricsSegment enumerates the values for metrics segment.

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

func PossibleMetricsSegmentValues Uses

func PossibleMetricsSegmentValues() []MetricsSegment

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

type MetricsSegmentInfo Uses

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 Uses

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

MarshalJSON is the custom marshaler for MetricsSegmentInfo.

func (*MetricsSegmentInfo) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for MetricsSegmentInfo struct.

type QueryBody Uses

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

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

type QueryClient Uses

type QueryClient struct {
    BaseClient
}

QueryClient is the composite Swagger for Application Insights Data Client

func NewQueryClient Uses

func NewQueryClient() QueryClient

NewQueryClient creates an instance of the QueryClient client.

func NewQueryClientWithBaseURI Uses

func NewQueryClientWithBaseURI(baseURI string) QueryClient

NewQueryClientWithBaseURI creates an instance of the QueryClient client.

func (QueryClient) Execute Uses

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

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

func (QueryClient) ExecutePreparer Uses

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

ExecutePreparer prepares the Execute request.

func (QueryClient) ExecuteResponder Uses

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

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

func (QueryClient) ExecuteSender Uses

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

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

type QueryResults Uses

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 Uses

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

SetObject ...

type Table Uses

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

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

type Type Uses

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 Uses

func PossibleTypeValues() []Type

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

Package insights imports 9 packages (graph) and is imported by 2 packages. Updated 2018-11-03. Refresh now. Tools for package owners.