mobile

package
v1.46.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MetricDimensions = struct {
	AppVersion   MetricDimension
	Device       MetricDimension
	ErrorContext MetricDimension
	GeoLocation  MetricDimension
	Manufacturer MetricDimension
	OS           MetricDimension
}{
	"APP_VERSION",
	"DEVICE",
	"ERROR_CONTEXT",
	"GEOLOCATION",
	"MANUFACTURER",
	"OS",
}
View Source
var MetricTypes = struct {
	ReportedErrorCount   MetricType
	UserActionDuration   MetricType
	WebRequestCount      MetricType
	WebRequestErrorCount MetricType
}{
	"REPORTED_ERROR_COUNT",
	"USER_ACTION_DURATION",
	"WEB_REQUEST_COUNT",
	"WEB_REQUEST_ERROR_COUNT",
}

Functions

This section is empty.

Types

type CalculatedMobileMetric

type CalculatedMobileMetric struct {
	Description      *string           `json:"description,omitempty"`      // Descriptor of a calculated mobile/custom app metric.
	AppIdentifier    string            `json:"applicationIdentifier"`      // The Dynatrace entity ID of the application to which the metric belongs.
	Name             string            `json:"name"`                       // The displayed name of the metric.
	MetricKey        string            `json:"metricKey"`                  // The unique key of the calculated mobile/custom app metric.
	Enabled          bool              `json:"enabled"`                    // The metric is enabled (`true`) or disabled (`false`).
	MetricType       MetricType        `json:"metricType"`                 // The type of the metric. Possible values: [ REPORTED_ERROR_COUNT, USER_ACTION_DURATION, WEB_REQUEST_COUNT, WEB_REQUEST_ERROR_COUNT ]
	Dimensions       Dimensions        `json:"dimensions,omitempty"`       // Parameters of a definition of a calculated mobile/custom app metric.
	UserActionFilter *UserActionFilter `json:"userActionFilter,omitempty"` // User actions filter of the calculated mobile/custom app metric. Only user actions matching the provided criteria are used for metric calculation. A user action must match all the criteria.
}

CalculatedMobileMetric Descriptor of a calculated mobile/custom app metric.

func (*CalculatedMobileMetric) MarshalHCL

func (me *CalculatedMobileMetric) MarshalHCL(properties hcl.Properties) error

func (*CalculatedMobileMetric) Schema

func (me *CalculatedMobileMetric) Schema() map[string]*schema.Schema

func (*CalculatedMobileMetric) UnmarshalHCL

func (me *CalculatedMobileMetric) UnmarshalHCL(decoder hcl.Decoder) error

type Dimension

type Dimension struct {
	TopX      int32           `json:"topX"`      // The number of top values to be calculated.
	Dimension MetricDimension `json:"dimension"` // The dimension of the metric. Possible values are `ApdexType`, `Browser`, `ErrorContext`, `ErrorOrigin`, `ErrorType`, `GeoLocation`, `StringProperty`, `UserActionType`
}

Dimensions Parameters of a definition of a calculated web metric.

func (*Dimension) MarshalHCL

func (me *Dimension) MarshalHCL(properties hcl.Properties) error

func (*Dimension) Schema

func (me *Dimension) Schema() map[string]*schema.Schema

func (*Dimension) UnmarshalHCL

func (me *Dimension) UnmarshalHCL(decoder hcl.Decoder) error

type Dimensions

type Dimensions []*Dimension

func (Dimensions) MarshalHCL

func (me Dimensions) MarshalHCL(properties hcl.Properties) error

func (*Dimensions) Schema

func (me *Dimensions) Schema() map[string]*schema.Schema

func (*Dimensions) UnmarshalHCL

func (me *Dimensions) UnmarshalHCL(decoder hcl.Decoder) error

type MetricDimension

type MetricDimension string

type MetricType

type MetricType string

type UserActionFilter

type UserActionFilter struct {
	ActionDurationFromMilliseconds *int    `json:"actionDurationFromMilliseconds,omitempty"` // Only actions with a duration more than or equal to this value (in milliseconds) are included in the metric calculation.
	ActionDurationToMilliseconds   *int    `json:"actionDurationToMilliseconds,omitempty"`   // Only actions with a duration less than or equal to this value (in milliseconds) are included in the metric calculation.
	Apdex                          *string `json:"apdex,omitempty"`                          // Only actions with the specified Apdex score are included in the metric calculation. Possible values: [ Frustrated, Satisfied, Tolerating, Unknown ]
	UserActionName                 *string `json:"userActionName,omitempty"`                 // Only actions with this name are included in the metric calculation.
	HasReportedError               *bool   `json:"hasReportedError,omitempty"`               // The error status of the actions to be included in the metric calculation: `true` or `false`
	HasHttpError                   *bool   `json:"hasHttpError,omitempty"`                   // The request error status of the actions to be included in the metric calculation: `true` or `false`
	City                           *string `json:"city,omitempty"`                           // Only actions of users from this city are included in the metric calculation. Specify geolocation ID here.
	Continent                      *string `json:"continent,omitempty"`                      // Only actions of users from this continent are included in the metric calculation. Specify geolocation ID here.
	Country                        *string `json:"country,omitempty"`                        // Only actions of users from this country are included in the metric calculation. Specify geolocation ID here.
	Region                         *string `json:"region,omitempty"`                         // Only actions of users from this region are included in the metric calculation. Specify geolocation ID here.
	OSFamily                       *string `json:"osFamily,omitempty"`                       // Only actions coming from this OS family are included in the metric calculation.
	OSVersion                      *string `json:"osVersion,omitempty"`                      // Only actions coming from this OS version are included in the metric calculation.
	AppVersion                     *string `json:"appVersion,omitempty"`                     // Only actions coming from this app version are included in the metric calculation.
	Device                         *string `json:"device,omitempty"`                         // Only actions coming from this app version are included in the metric calculation.
	Manufacturer                   *string `json:"manufacturer,omitempty"`                   // Only actions coming from devices of this manufacturer are included in the metric calculation.
	Carrier                        *string `json:"carrier,omitempty"`                        // Only actions coming from this carrier type are included in the metric calculation.
	ConnectionType                 *string `json:"connectionType,omitempty"`                 // Only actions coming from this connection type are included in the metric calculation. Possible values: [ LAN, MOBILE, OFFLINE, UNKNOWN, WIFI ]
	NetworkTechnology              *string `json:"networkTechnology,omitempty"`              // Filter by network technology
	ISP                            *string `json:"isp,omitempty"`                            // Only actions coming from this internet service provider are included in the metric calculation.
	Orientation                    *string `json:"orientation,omitempty"`                    // Only actions coming from devices with this display orientation are included in the metric calculation. Possible values: [ LANDSCAPE, PORTRAIT, UNKNOWN ]
	Resolution                     *string `json:"resolution,omitempty"`                     // Only actions coming from devices with this display resolution are included in the metric calculation. Possible values: [ CGA, DCI2K, DCI4K, DVGA, FHD, FWVGA, FWXGA, GHDPlus, HD, HQVGA, HQVGA2, HSXGA, HUXGA, HVGA, HXGA, NTSC, PAL, QHD, QQVGA, QSXGA, QUXGA, QVGA, QWXGA, QXGA, SVGA, SXGA, SXGAMinus, SXGAPlus, UGA, UHD16K, UHD4K, UHD8K, UHDPlus, UNKNOWN, UWQHD, UXGA, VGA, WHSXGA, WHUXGA, WHXGA, WQSXGA, WQUXGA, WQVGA, WQVGA2, WQVGA3, WQXGA, WQXGA2, WSVGA, WSVGA2, WSXGA, WSXGAPlus, WUXGA, WVGA, WVGA2, WXGA, WXGA2, WXGA3, WXGAPlus, XGA, XGAPLUS, _1280x854, nHD, qHD ]
}

User action filter of a calculated web metric.

func (*UserActionFilter) MarshalHCL

func (me *UserActionFilter) MarshalHCL(properties hcl.Properties) error

func (*UserActionFilter) Schema

func (me *UserActionFilter) Schema() map[string]*schema.Schema

func (*UserActionFilter) UnmarshalHCL

func (me *UserActionFilter) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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