synthetic

package
v1.44.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MetricDimensions = struct {
	Event          MetricDimension
	Location       MetricDimension
	ResourceOrigin MetricDimension
}{
	"Event",
	"Location",
	"ResourceOrigin",
}
View Source
var Metrics = struct {
	ApplicationCache        Metric
	Callback                Metric
	CumulativeLayoutShift   Metric
	DNSLookup               Metric
	DOMComplete             Metric
	DOMContentLoaded        Metric
	DOMInteractive          Metric
	FailedRequestsResources Metric
	FirstContentfulPaint    Metric
	FirstInputDelay         Metric
	FirstInputStart         Metric
	FirstPaint              Metric
	HTMLDownloaded          Metric
	HttpErrors              Metric
	JavaScriptErrors        Metric
	LargestContentfulPaint  Metric
	LoadEventEnd            Metric
	LoadEventStart          Metric
	LongTasks               Metric
	NavigationStart         Metric
	OnDOMContentLoaded      Metric
	OnLoad                  Metric
	Processing              Metric
	RedirectTime            Metric
	Request                 Metric
	RequestStart            Metric
	ResourceCount           Metric
	Response                Metric
	SecureConnect           Metric
	SpeedIndex              Metric
	TCPConnect              Metric
	TimeToFirstByte         Metric
	TotalDuration           Metric
	TransferSize            Metric
	UserActionDuration      Metric
	VisuallyComplete        Metric
}{
	"ApplicationCache",
	"Callback",
	"CumulativeLayoutShift",
	"DNSLookup",
	"DOMComplete",
	"DOMContentLoaded",
	"DOMInteractive",
	"FailedRequestsResources",
	"FirstContentfulPaint",
	"FirstInputDelay",
	"FirstInputStart",
	"FirstPaint",
	"HTMLDownloaded",
	"HttpErrors",
	"JavaScriptErrors",
	"LargestContentfulPaint",
	"LoadEventEnd",
	"LoadEventStart",
	"LongTasks",
	"NavigationStart",
	"OnDOMContentLoaded",
	"OnLoad",
	"Processing",
	"RedirectTime",
	"Request",
	"RequestStart",
	"ResourceCount",
	"Response",
	"SecureConnect",
	"SpeedIndex",
	"TCPConnect",
	"TimeToFirstByte",
	"TotalDuration",
	"TransferSize",
	"UserActionDuration",
	"VisuallyComplete",
}

Functions

This section is empty.

Types

type CalculatedSyntheticMetric

type CalculatedSyntheticMetric struct {
	Description       *string    `json:"description,omitempty"` // Descriptor of a calculated synthetic metric.
	MonitorIdentifier string     `json:"monitorIdentifier"`     // 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 synthetic metric.
	Enabled           bool       `json:"enabled"`               // The metric is enabled (`true`) or disabled (`false`).
	Metric            Metric     `json:"metric"`                // The type of the synthetic metric. Possible values: [ ApplicationCache, Callback, CumulativeLayoutShift, DNSLookup, DOMComplete, DOMContentLoaded, DOMInteractive, FailedRequestsResources, FirstContentfulPaint, FirstInputDelay, FirstInputStart, FirstPaint, HTMLDownloaded, HttpErrors, JavaScriptErrors, LargestContentfulPaint, LoadEventEnd, LoadEventStart, LongTasks, NavigationStart, OnDOMContentLoaded, OnLoad, Processing, RedirectTime, Request, RequestStart, ResourceCount, Response, SecureConnect, SpeedIndex, TCPConnect, TimeToFirstByte, TotalDuration, TransferSize, UserActionDuration, VisuallyComplete ]
	Dimensions        Dimensions `json:"dimensions,omitempty"`  // Dimension of the calculated synthetic metric.
	Filter            *Filter    `json:"filter,omitempty"`      // Filter of the calculated synthetic metric.
}

CalculatedSyntheticMetric Descriptor of a calculated synthetic metric.

func (*CalculatedSyntheticMetric) MarshalHCL

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

func (*CalculatedSyntheticMetric) Schema

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

func (*CalculatedSyntheticMetric) UnmarshalHCL

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

type Dimension

type Dimension struct {
	TopX      *int32          `json:"topX,omitempty"` // The number of top values to be calculated.
	Dimension MetricDimension `json:"dimension"`      // The dimension of the metric. Possible values are `Event`, `Location`, `ResourceOrigin`
}

Dimensions Parameters of a definition of a calculated synthetic 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 Filter

type Filter struct {
	ActionType *string `json:"actionType,omitempty"` // Only user actions of the specified type are included in the metric calculation
	HasError   *bool   `json:"hasError,omitempty"`   // The execution status of the monitors to be included in the metric calculation: `true` or `false`
	ErrorCode  *int    `json:"errorCode,omitempty"`  // Only executions finished with the specified error code are included in the metric calculation.
	Event      *string `json:"event,omitempty"`      // Only the specified browser clickpath event is included in the metric calculation. Specify the Dynatrace entity ID of the event here.
	Location   *string `json:"location,omitempty"`   // Only executions from the specified location are included in the metric calculation. Specify the Dynatrace entity ID of the location here.
}

Filter of a calculated synthetic metric.

func (*Filter) MarshalHCL

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

func (*Filter) Schema

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

func (*Filter) UnmarshalHCL

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

type Metric

type Metric string

type MetricDimension

type MetricDimension string

Jump to

Keyboard shortcuts

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