dashboards

package
v1.22.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AggregationRates = struct {
	Hour   AggregationRate
	Minute AggregationRate
	Second AggregationRate
	Total  AggregationRate
}{
	"HOUR",
	"MINUTE",
	"SECOND",
	"TOTAL",
}

AggregationRates offers the known enum values

View Source
var Aggregations = struct {
	Avg              Aggregation
	Count            Aggregation
	Distinct         Aggregation
	Fastest10percent Aggregation
	Max              Aggregation
	Median           Aggregation
	Min              Aggregation
	None             Aggregation
	OfInterestRatio  Aggregation
	OtherRatio       Aggregation
	Percentile       Aggregation
	PerMin           Aggregation
	Slowest10percent Aggregation
	Slowest5percent  Aggregation
	Sum              Aggregation
	SumDimensions    Aggregation
}{
	"AVG",
	"COUNT",
	"DISTINCT",
	"FASTEST10PERCENT",
	"MAX",
	"MEDIAN",
	"MIN",
	"NONE",
	"OF_INTEREST_RATIO",
	"OTHER_RATIO",
	"PERCENTILE",
	"PER_MIN",
	"SLOWEST10PERCENT",
	"SLOWEST5PERCENT",
	"SUM",
	"SUM_DIMENSIONS",
}

Aggregations offers the known enum values

View Source
var CustomFilterChartConfigTypes = struct {
	Pie         CustomFilterChartConfigType
	SingleValue CustomFilterChartConfigType
	TimeSeries  CustomFilterChartConfigType
	TopList     CustomFilterChartConfigType
}{
	"PIE",
	"SINGLE_VALUE",
	"TIMESERIES",
	"TOP_LIST",
}

CustomFilterChartConfigTypes offers the known enum values

View Source
var CustomFilterChartSeriesConfigTypes = struct {
	Area CustomFilterChartSeriesConfigType
	Bar  CustomFilterChartSeriesConfigType
	Line CustomFilterChartSeriesConfigType
}{
	"AREA",
	"BAR",
	"LINE",
}

CustomFilterChartSeriesConfigTypes offers the known enum values

View Source
var CustomFilterConfigTypes = struct {
	Alb                       CustomFilterConfigType
	Application               CustomFilterConfigType
	ApplicationMethod         CustomFilterConfigType
	Appmon                    CustomFilterConfigType
	Asg                       CustomFilterConfigType
	AwsCredentials            CustomFilterConfigType
	AwsCustomService          CustomFilterConfigType
	AwsLambdaFunction         CustomFilterConfigType
	CloudApplication          CustomFilterConfigType
	CloudApplicationInstance  CustomFilterConfigType
	CloudApplicationNamespace CustomFilterConfigType
	ContainerGroupInstance    CustomFilterConfigType
	CustomApplication         CustomFilterConfigType
	CustomDevices             CustomFilterConfigType
	CustomServices            CustomFilterConfigType
	Database                  CustomFilterConfigType
	DatabaseKeyRequest        CustomFilterConfigType
	DcrumApplication          CustomFilterConfigType
	DcrumEntity               CustomFilterConfigType
	DynamoDb                  CustomFilterConfigType
	Ebs                       CustomFilterConfigType
	Ec2                       CustomFilterConfigType
	Elb                       CustomFilterConfigType
	Environment               CustomFilterConfigType
	Esxi                      CustomFilterConfigType
	ExternalSyntheticTest     CustomFilterConfigType
	GlobalBackgroundActivity  CustomFilterConfigType
	Host                      CustomFilterConfigType
	Iot                       CustomFilterConfigType
	KubernetesCluster         CustomFilterConfigType
	KubernetesNode            CustomFilterConfigType
	MdaService                CustomFilterConfigType
	Mixed                     CustomFilterConfigType
	MobileApplication         CustomFilterConfigType
	MonitoredEntity           CustomFilterConfigType
	Nlb                       CustomFilterConfigType
	PgBackgroundActivity      CustomFilterConfigType
	Problem                   CustomFilterConfigType
	ProcessGroupInstance      CustomFilterConfigType
	Rds                       CustomFilterConfigType
	RemotePlugin              CustomFilterConfigType
	Service                   CustomFilterConfigType
	ServiceKeyRequest         CustomFilterConfigType
	SyntheticBrowserMonitor   CustomFilterConfigType
	SyntheticHTTPcheck        CustomFilterConfigType
	SyntheticHTTPcheckStep    CustomFilterConfigType
	SyntheticLocation         CustomFilterConfigType
	SyntheticTest             CustomFilterConfigType
	SyntheticTestStep         CustomFilterConfigType
	UUEntity                  CustomFilterConfigType
	VirtualMachine            CustomFilterConfigType
	WebCheck                  CustomFilterConfigType
}{
	"ALB",
	"APPLICATION",
	"APPLICATION_METHOD",
	"APPMON",
	"ASG",
	"AWS_CREDENTIALS",
	"AWS_CUSTOM_SERVICE",
	"AWS_LAMBDA_FUNCTION",
	"CLOUD_APPLICATION",
	"CLOUD_APPLICATION_INSTANCE",
	"CLOUD_APPLICATION_NAMESPACE",
	"CONTAINER_GROUP_INSTANCE",
	"CUSTOM_APPLICATION",
	"CUSTOM_DEVICES",
	"CUSTOM_SERVICES",
	"DATABASE",
	"DATABASE_KEY_REQUEST",
	"DCRUM_APPLICATION",
	"DCRUM_ENTITY",
	"DYNAMO_DB",
	"EBS",
	"EC2",
	"ELB",
	"ENVIRONMENT",
	"ESXI",
	"EXTERNAL_SYNTHETIC_TEST",
	"GLOBAL_BACKGROUND_ACTIVITY",
	"HOST",
	"IOT",
	"KUBERNETES_CLUSTER",
	"KUBERNETES_NODE",
	"MDA_SERVICE",
	"MIXED",
	"MOBILE_APPLICATION",
	"MONITORED_ENTITY",
	"NLB",
	"PG_BACKGROUND_ACTIVITY",
	"PROBLEM",
	"PROCESS_GROUP_INSTANCE",
	"RDS",
	"REMOTE_PLUGIN",
	"SERVICE",
	"SERVICE_KEY_REQUEST",
	"SYNTHETIC_BROWSER_MONITOR",
	"SYNTHETIC_HTTPCHECK",
	"SYNTHETIC_HTTPCHECK_STEP",
	"SYNTHETIC_LOCATION",
	"SYNTHETIC_TEST",
	"SYNTHETIC_TEST_STEP",
	"UI_ENTITY",
	"VIRTUAL_MACHINE",
	"WEB_CHECK",
}

CustomFilterConfigTypes offers the known enum values

View Source
var LeftAxisCustomUnits = struct {
	Bit                  LeftAxisCustomUnit
	Bitperhour           LeftAxisCustomUnit
	Bitperminute         LeftAxisCustomUnit
	Bitpersecond         LeftAxisCustomUnit
	Byte                 LeftAxisCustomUnit
	Byteperhour          LeftAxisCustomUnit
	Byteperminute        LeftAxisCustomUnit
	Bytepersecond        LeftAxisCustomUnit
	Cores                LeftAxisCustomUnit
	Count                LeftAxisCustomUnit
	Day                  LeftAxisCustomUnit
	Decibelmilliwatt     LeftAxisCustomUnit
	Gibibyte             LeftAxisCustomUnit
	Giga                 LeftAxisCustomUnit
	Gigabyte             LeftAxisCustomUnit
	Hour                 LeftAxisCustomUnit
	Kibibyte             LeftAxisCustomUnit
	Kibibyteperhour      LeftAxisCustomUnit
	Kibibyteperminute    LeftAxisCustomUnit
	Kibibytepersecond    LeftAxisCustomUnit
	Kilo                 LeftAxisCustomUnit
	Kilobyte             LeftAxisCustomUnit
	Kilobyteperhour      LeftAxisCustomUnit
	Kilobyteperminute    LeftAxisCustomUnit
	Kilobytepersecond    LeftAxisCustomUnit
	Mebibyte             LeftAxisCustomUnit
	Mebibyteperhour      LeftAxisCustomUnit
	Mebibyteperminute    LeftAxisCustomUnit
	Mebibytepersecond    LeftAxisCustomUnit
	Mega                 LeftAxisCustomUnit
	Megabyte             LeftAxisCustomUnit
	Megabyteperhour      LeftAxisCustomUnit
	Megabyteperminute    LeftAxisCustomUnit
	Megabytepersecond    LeftAxisCustomUnit
	Microsecond          LeftAxisCustomUnit
	Millicores           LeftAxisCustomUnit
	Millisecond          LeftAxisCustomUnit
	Millisecondperminute LeftAxisCustomUnit
	Minute               LeftAxisCustomUnit
	Month                LeftAxisCustomUnit
	Nanosecond           LeftAxisCustomUnit
	Nanosecondperminute  LeftAxisCustomUnit
	Notapplicable        LeftAxisCustomUnit
	Perhour              LeftAxisCustomUnit
	Perminute            LeftAxisCustomUnit
	Persecond            LeftAxisCustomUnit
	Percent              LeftAxisCustomUnit
	Pixel                LeftAxisCustomUnit
	Promille             LeftAxisCustomUnit
	Ratio                LeftAxisCustomUnit
	Second               LeftAxisCustomUnit
	State                LeftAxisCustomUnit
	Unspecified          LeftAxisCustomUnit
	Week                 LeftAxisCustomUnit
	Year                 LeftAxisCustomUnit
}{
	"Bit",
	"BitPerHour",
	"BitPerMinute",
	"BitPerSecond",
	"Byte",
	"BytePerHour",
	"BytePerMinute",
	"BytePerSecond",
	"Cores",
	"Count",
	"Day",
	"DecibelMilliWatt",
	"GibiByte",
	"Giga",
	"GigaByte",
	"Hour",
	"KibiByte",
	"KibiBytePerHour",
	"KibiBytePerMinute",
	"KibiBytePerSecond",
	"Kilo",
	"KiloByte",
	"KiloBytePerHour",
	"KiloBytePerMinute",
	"KiloBytePerSecond",
	"MebiByte",
	"MebiBytePerHour",
	"MebiBytePerMinute",
	"MebiBytePerSecond",
	"Mega",
	"MegaByte",
	"MegaBytePerHour",
	"MegaBytePerMinute",
	"MegaBytePerSecond",
	"MicroSecond",
	"MilliCores",
	"MilliSecond",
	"MilliSecondPerMinute",
	"Minute",
	"Month",
	"NanoSecond",
	"NanoSecondPerMinute",
	"NotApplicable",
	"PerHour",
	"PerMinute",
	"PerSecond",
	"Percent",
	"Pixel",
	"Promille",
	"Ratio",
	"Second",
	"State",
	"Unspecified",
	"Week",
	"Year",
}

LeftAxisCustomUnits has no documentation

View Source
var NameSizes = struct {
	Small  NameSize
	Medium NameSize
	Large  NameSize
}{
	"small",
	"medium",
	"large",
}

NameSizes offers the known enum values

View Source
var RightAxisCustomUnits = struct {
	Bit                  RightAxisCustomUnit
	Bitperhour           RightAxisCustomUnit
	Bitperminute         RightAxisCustomUnit
	Bitpersecond         RightAxisCustomUnit
	Byte                 RightAxisCustomUnit
	Byteperhour          RightAxisCustomUnit
	Byteperminute        RightAxisCustomUnit
	Bytepersecond        RightAxisCustomUnit
	Cores                RightAxisCustomUnit
	Count                RightAxisCustomUnit
	Day                  RightAxisCustomUnit
	Decibelmilliwatt     RightAxisCustomUnit
	Gibibyte             RightAxisCustomUnit
	Giga                 RightAxisCustomUnit
	Gigabyte             RightAxisCustomUnit
	Hour                 RightAxisCustomUnit
	Kibibyte             RightAxisCustomUnit
	Kibibyteperhour      RightAxisCustomUnit
	Kibibyteperminute    RightAxisCustomUnit
	Kibibytepersecond    RightAxisCustomUnit
	Kilo                 RightAxisCustomUnit
	Kilobyte             RightAxisCustomUnit
	Kilobyteperhour      RightAxisCustomUnit
	Kilobyteperminute    RightAxisCustomUnit
	Kilobytepersecond    RightAxisCustomUnit
	Mebibyte             RightAxisCustomUnit
	Mebibyteperhour      RightAxisCustomUnit
	Mebibyteperminute    RightAxisCustomUnit
	Mebibytepersecond    RightAxisCustomUnit
	Mega                 RightAxisCustomUnit
	Megabyte             RightAxisCustomUnit
	Megabyteperhour      RightAxisCustomUnit
	Megabyteperminute    RightAxisCustomUnit
	Megabytepersecond    RightAxisCustomUnit
	Microsecond          RightAxisCustomUnit
	Millicores           RightAxisCustomUnit
	Millisecond          RightAxisCustomUnit
	Millisecondperminute RightAxisCustomUnit
	Minute               RightAxisCustomUnit
	Month                RightAxisCustomUnit
	Nanosecond           RightAxisCustomUnit
	Nanosecondperminute  RightAxisCustomUnit
	Notapplicable        RightAxisCustomUnit
	Perhour              RightAxisCustomUnit
	Perminute            RightAxisCustomUnit
	Persecond            RightAxisCustomUnit
	Percent              RightAxisCustomUnit
	Pixel                RightAxisCustomUnit
	Promille             RightAxisCustomUnit
	Ratio                RightAxisCustomUnit
	Second               RightAxisCustomUnit
	State                RightAxisCustomUnit
	Unspecified          RightAxisCustomUnit
	Week                 RightAxisCustomUnit
	Year                 RightAxisCustomUnit
}{
	"Bit",
	"BitPerHour",
	"BitPerMinute",
	"BitPerSecond",
	"Byte",
	"BytePerHour",
	"BytePerMinute",
	"BytePerSecond",
	"Cores",
	"Count",
	"Day",
	"DecibelMilliWatt",
	"GibiByte",
	"Giga",
	"GigaByte",
	"Hour",
	"KibiByte",
	"KibiBytePerHour",
	"KibiBytePerMinute",
	"KibiBytePerSecond",
	"Kilo",
	"KiloByte",
	"KiloBytePerHour",
	"KiloBytePerMinute",
	"KiloBytePerSecond",
	"MebiByte",
	"MebiBytePerHour",
	"MebiBytePerMinute",
	"MebiBytePerSecond",
	"Mega",
	"MegaByte",
	"MegaBytePerHour",
	"MegaBytePerMinute",
	"MegaBytePerSecond",
	"MicroSecond",
	"MilliCores",
	"MilliSecond",
	"MilliSecondPerMinute",
	"Minute",
	"Month",
	"NanoSecond",
	"NanoSecondPerMinute",
	"NotApplicable",
	"PerHour",
	"PerMinute",
	"PerSecond",
	"Percent",
	"Pixel",
	"Promille",
	"Ratio",
	"Second",
	"State",
	"Unspecified",
	"Week",
	"Year",
}

RightAxisCustomUnits has no documentation

View Source
var TileTypes = struct {
	Application             TileType
	Applications            TileType
	ApplicationMethod       TileType
	ApplicationWorldMap     TileType
	AWS                     TileType
	BounceRate              TileType
	CustomApplication       TileType
	CustomCharting          TileType
	Database                TileType
	DatabasesOverview       TileType
	DemKeyUserAction        TileType
	DeviceApplicationMethod TileType
	DTAQL                   TileType
	Host                    TileType
	Hosts                   TileType
	LogAnalytics            TileType
	Markdown                TileType
	MobileApplication       TileType
	OpenStack               TileType
	OpenStackAVZone         TileType
	OpenStackProject        TileType
	ProcessGroupsOne        TileType
	Resources               TileType
	Services                TileType
	ServiceVersatile        TileType
	SessionMetrics          TileType
	SyntheticHTTPMonitor    TileType
	SyntheticSingleExtTest  TileType
	SyntheticSingleWebCheck TileType
	SyntheticTests          TileType
	ThirdPartyMostActive    TileType
	UEMConversionsOverall   TileType
	UEMConversionsPerGoal   TileType
	UEMJserrorsOverall      TileType
	UEMKeyUserActions       TileType
	Users                   TileType
	Virtualization          TileType
	Header                  TileType
}{
	"APPLICATION",
	"APPLICATIONS",
	"APPLICATION_METHOD",
	"APPLICATION_WORLDMAP",
	"AWS",
	"BOUNCE_RATE",
	"CUSTOM_APPLICATION",
	"CUSTOM_CHARTING",
	"DATABASE",
	"DATABASES_OVERVIEW",
	"DEM_KEY_USER_ACTION",
	"DEVICE_APPLICATION_METHOD",
	"DTAQL",
	"HOST",
	"HOSTS",
	"LOG_ANALYTICS",
	"MARKDOWN",
	"MOBILE_APPLICATION",
	"OPENSTACK",
	"OPENSTACK_AV_ZONE",
	"OPENSTACK_PROJECT",
	"PROCESS_GROUPS_ONE",
	"RESOURCES",
	"SERVICES",
	"SERVICE_VERSATILE",
	"SESSION_METRICS",
	"SYNTHETIC_HTTP_MONITOR",
	"SYNTHETIC_SINGLE_EXT_TEST",
	"SYNTHETIC_SINGLE_WEBCHECK",
	"SYNTHETIC_TESTS",
	"THIRD_PARTY_MOST_ACTIVE",
	"UEM_CONVERSIONS_OVERALL",
	"UEM_CONVERSIONS_PER_GOAL",
	"UEM_JSERRORS_OVERALL",
	"UEM_KEY_USER_ACTIONS",
	"USERS",
	"VIRTUALIZATION",
	"HEADER",
}

TileTypes offers the known enum values

View Source
var UserSessionQueryTileTypes = struct {
	ColumnChart UserSessionQueryTileType
	Funnel      UserSessionQueryTileType
	LineChart   UserSessionQueryTileType
	PieChart    UserSessionQueryTileType
	SingleValue UserSessionQueryTileType
	Table       UserSessionQueryTileType
}{
	"COLUMN_CHART",
	"FUNNEL",
	"LINE_CHART",
	"PIE_CHART",
	"SINGLE_VALUE",
	"TABLE",
}

UserSessionQueryTileTypes offers the known enum values

Functions

This section is empty.

Types

type Aggregation

type Aggregation string

Aggregation has no documentation

type AggregationRate

type AggregationRate string

AggregationRate has no documentation

func (AggregationRate) Ref

func (me AggregationRate) Ref() *AggregationRate

type CustomChartingItemMetadataConfig

type CustomChartingItemMetadataConfig struct {
	LastModified *int64                     `json:"lastModified,omitempty"` // The timestamp of the last metadata modification, in UTC milliseconds
	CustomColor  string                     `json:"customColor"`            // The color of the metric in the chart, hex format
	Unknowns     map[string]json.RawMessage `json:"-"`
}

CustomChartingItemMetadataConfig Additional metadata for charted metric

func (*CustomChartingItemMetadataConfig) MarshalHCL

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

func (*CustomChartingItemMetadataConfig) MarshalJSON

func (me *CustomChartingItemMetadataConfig) MarshalJSON() ([]byte, error)

func (*CustomChartingItemMetadataConfig) Schema

func (*CustomChartingItemMetadataConfig) UnmarshalHCL

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

func (*CustomChartingItemMetadataConfig) UnmarshalJSON

func (me *CustomChartingItemMetadataConfig) UnmarshalJSON(data []byte) error

type CustomFilterChartConfig

type CustomFilterChartConfig struct {
	LegendShown         *bool                                        `json:"legendShown,omitempty"` // Defines if a legend should be shown
	Type                CustomFilterChartConfigType                  `json:"type"`                  // The type of the chart
	Series              []*CustomFilterChartSeriesConfig             `json:"series"`                // A list of charted metrics
	ResultMetadata      map[string]*CustomChartingItemMetadataConfig `json:"resultMetadata"`        // Additional information about charted metric
	AxisLimits          map[string]float64                           `json:"axisLimits,omitempty"`  // The optional custom y-axis limits
	LeftAxisCustomUnit  *LeftAxisCustomUnit                          `json:"leftAxisCustomUnit,omitempty"`
	RightAxisCustomUnit *RightAxisCustomUnit                         `json:"rightAxisCustomUnit,omitempty"`
	Unknowns            map[string]json.RawMessage                   `json:"-"`
}

CustomFilterChartConfig Configuration of a custom chart

func (*CustomFilterChartConfig) MarshalHCL

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

func (*CustomFilterChartConfig) MarshalJSON

func (me *CustomFilterChartConfig) MarshalJSON() ([]byte, error)

func (*CustomFilterChartConfig) Schema

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

func (*CustomFilterChartConfig) UnmarshalHCL

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

func (*CustomFilterChartConfig) UnmarshalJSON

func (me *CustomFilterChartConfig) UnmarshalJSON(data []byte) error

type CustomFilterChartConfigType

type CustomFilterChartConfigType string

CustomFilterChartConfigType has no documentation

type CustomFilterChartSeriesConfig

type CustomFilterChartSeriesConfig struct {
	Metric          string                                    `json:"metric"`               // The name of the charted metric
	Aggregation     Aggregation                               `json:"aggregation"`          // The charted aggregation of the metric
	Percentile      *int64                                    `json:"percentile,omitempty"` // The charted percentile. Only applicable if the **aggregation** is set to `PERCENTILE`.
	Type            CustomFilterChartSeriesConfigType         `json:"type"`                 // The visualization of the timeseries chart
	EntityType      string                                    `json:"entityType"`           // The type of the Dynatrace entity that delivered the charted metric
	Dimensions      []*CustomFilterChartSeriesDimensionConfig `json:"dimensions"`           // Configuration of the charted metric splitting
	SortAscending   bool                                      `json:"sortAscending"`        // Sort ascending (`true`) or descending (`false`)
	SortColumn      bool                                      `json:"sortColumn"`
	AggregationRate *AggregationRate                          `json:"aggregationRate,omitempty"`
	Unknowns        map[string]json.RawMessage                `json:"-"`
}

CustomFilterChartSeriesConfig is the configuration of a charted metric

func (*CustomFilterChartSeriesConfig) MarshalHCL

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

func (*CustomFilterChartSeriesConfig) MarshalJSON

func (me *CustomFilterChartSeriesConfig) MarshalJSON() ([]byte, error)

func (*CustomFilterChartSeriesConfig) Schema

func (*CustomFilterChartSeriesConfig) UnmarshalHCL

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

func (*CustomFilterChartSeriesConfig) UnmarshalJSON

func (me *CustomFilterChartSeriesConfig) UnmarshalJSON(data []byte) error

type CustomFilterChartSeriesConfigType

type CustomFilterChartSeriesConfigType string

CustomFilterChartSeriesConfigType has no documentation

type CustomFilterChartSeriesDimensionConfig

type CustomFilterChartSeriesDimensionConfig struct {
	ID              string                     `json:"id"`             // The ID of the dimension by which the metric is split
	Name            *string                    `json:"name,omitempty"` // The name of the dimension by which the metric is split
	Values          []string                   `json:"values"`         // The splitting value
	EntityDimension *bool                      `json:"entityDimension,omitempty"`
	Unknowns        map[string]json.RawMessage `json:"-"`
}

CustomFilterChartSeriesDimensionConfig Configuration of the charted metric splitting

func (*CustomFilterChartSeriesDimensionConfig) MarshalHCL

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

func (*CustomFilterChartSeriesDimensionConfig) MarshalJSON

func (me *CustomFilterChartSeriesDimensionConfig) MarshalJSON() ([]byte, error)

func (*CustomFilterChartSeriesDimensionConfig) Schema

func (*CustomFilterChartSeriesDimensionConfig) UnmarshalHCL

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

func (*CustomFilterChartSeriesDimensionConfig) UnmarshalJSON

func (me *CustomFilterChartSeriesDimensionConfig) UnmarshalJSON(data []byte) error

type CustomFilterConfig

type CustomFilterConfig struct {
	Type                 CustomFilterConfigType         `json:"type"`                 // The type of the filter
	CustomName           string                         `json:"customName"`           // The name of the tile, set by user
	DefaultName          string                         `json:"defaultName"`          // The default name of the tile
	ChartConfig          *CustomFilterChartConfig       `json:"chartConfig"`          // Config Configuration of a custom chart
	FiltersPerEntityType map[string]map[string][]string `json:"filtersPerEntityType"` // A list of filters, applied to specific entity types
	Unknowns             map[string]json.RawMessage     `json:"-"`
}

CustomFilterConfig Configuration of the custom filter of a tile

func (*CustomFilterConfig) MarshalHCL

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

func (*CustomFilterConfig) MarshalJSON

func (me *CustomFilterConfig) MarshalJSON() ([]byte, error)

func (*CustomFilterConfig) Schema

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

func (*CustomFilterConfig) UnmarshalHCL

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

func (*CustomFilterConfig) UnmarshalJSON

func (me *CustomFilterConfig) UnmarshalJSON(data []byte) error

type CustomFilterConfigType

type CustomFilterConfigType string

CustomFilterConfigType has no documentation

type Dashboard

type Dashboard struct {
	ID       *string                    `json:"id,omitempty"`
	Metadata *DashboardMetadata         `json:"dashboardMetadata"` // contains parameters of a dashboard
	Tiles    []*Tile                    `json:"tiles"`             // the tiles the dashboard consists of
	Unknowns map[string]json.RawMessage `json:"-"`
}

Dashboard the configuration of a dashboard

func (*Dashboard) Anonymize

func (me *Dashboard) Anonymize()

func (*Dashboard) Load

func (me *Dashboard) Load(data []byte) error

func (*Dashboard) MarshalHCL

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

func (*Dashboard) MarshalJSON

func (me *Dashboard) MarshalJSON() ([]byte, error)

func (*Dashboard) Name

func (me *Dashboard) Name() string

func (*Dashboard) Schema

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

func (*Dashboard) Store

func (me *Dashboard) Store() ([]byte, error)

func (*Dashboard) UnmarshalHCL

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

func (*Dashboard) UnmarshalJSON

func (me *Dashboard) UnmarshalJSON(data []byte) error

type DashboardFilter

type DashboardFilter struct {
	Timeframe      *string                    `json:"timeframe,omitempty"` // the default timeframe of the dashboard
	ManagementZone *EntityRef                 `json:"managementZone,omitempty"`
	Unknowns       map[string]json.RawMessage `json:"-"`
}

DashboardFilter represents filters, applied to a dashboard

func (*DashboardFilter) MarshalHCL

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

func (*DashboardFilter) MarshalJSON

func (me *DashboardFilter) MarshalJSON() ([]byte, error)

func (*DashboardFilter) Schema

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

func (*DashboardFilter) UnmarshalHCL

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

func (*DashboardFilter) UnmarshalJSON

func (me *DashboardFilter) UnmarshalJSON(data []byte) error

type DashboardList

type DashboardList struct {
	Dashboards []*DashboardStub `json:"dashboards,omitempty"` // the short representations of the dashboards
}

DashboardList is a list of short representations of dashboards

func (*DashboardList) ToStubs

func (me *DashboardList) ToStubs() settings.Stubs

type DashboardMetadata

type DashboardMetadata struct {
	Name string `json:"name"` // the name of the dashboard
	// Shared              *bool                      `json:"shared,omitempty"`         // the dashboard is shared (`true`) or private (`false`)
	Owner *string `json:"owner,omitempty"` // the owner of the dashboard
	// SharingDetails      *SharingInfo               `json:"sharingDetails,omitempty"` // represents sharing configuration of a dashboard
	Filter              *DashboardFilter           `json:"dashboardFilter,omitempty"`
	Tags                []string                   `json:"tags,omitempty"`                // a set of tags assigned to the dashboard
	Preset              bool                       `json:"preset"`                        // the dashboard is a preset (`true`)
	ValidFilterKeys     []string                   `json:"validFilterKeys,omitempty"`     // a set of all possible global dashboard filters that can be applied to dashboard
	DynamicFilters      *DynamicFilters            `json:"dynamicFilters,omitempty"`      // Dashboard filter configuration of a dashboard
	HasConsistentColors *bool                      `json:"hasConsistentColors,omitempty"` // the dashboard is a preset (`true`)
	TilesNameSize       *int                       `json:"tilesNameSize,omitempty"`       // no documentation available
	Unknowns            map[string]json.RawMessage `json:"-"`
}

DashboardMetadata contains parameters of a dashboard

func (*DashboardMetadata) MarshalHCL

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

func (*DashboardMetadata) MarshalJSON

func (me *DashboardMetadata) MarshalJSON() ([]byte, error)

func (*DashboardMetadata) Schema

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

func (*DashboardMetadata) UnmarshalHCL

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

func (*DashboardMetadata) UnmarshalJSON

func (me *DashboardMetadata) UnmarshalJSON(data []byte) error

type DashboardStub

type DashboardStub struct {
	ID    string  `json:"id"`              // the ID of the dashboard
	Name  *string `json:"name,omitempty"`  // the name of the dashboard
	Owner *string `json:"owner,omitempty"` // the owner of the dashboard
}

DashboardStub is a short representation of a dashboard

type DynamicFilters

type DynamicFilters struct {
	Filters            []string                   `json:"filters,omitempty"`            // A set of all possible global dashboard filters that can be applied to a dashboard \n\nCurrently supported values are: \n\n\tOS_TYPE,\n\tSERVICE_TYPE,\n\tDEPLOYMENT_TYPE,\n\tAPPLICATION_INJECTION_TYPE,\n\tPAAS_VENDOR_TYPE,\n\tDATABASE_VENDOR,\n\tHOST_VIRTUALIZATION_TYPE,\n\tHOST_MONITORING_MODE,\n\tKUBERNETES_CLUSTER,\n\tRELATED_CLOUD_APPLICATION,\n\tRELATED_NAMESPACE,\n\tTAG_KEY:<tagname>
	TagSuggestionTypes []string                   `json:"tagSuggestionTypes,omitempty"` // A set of entities applied for tag filter suggestions. You can fetch the list of possible values with the [GET all entity types](https://dt-url.net/dw03s7h)request. \n\nOnly applicable if the **filters** set includes `TAG_KEY:<tagname>`
	Unknowns           map[string]json.RawMessage `json:"-"`
}

DynamicFilters Dashboard filter configuration of a dashboard

func (*DynamicFilters) MarshalHCL

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

func (*DynamicFilters) MarshalJSON

func (me *DynamicFilters) MarshalJSON() ([]byte, error)

func (*DynamicFilters) Schema

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

func (*DynamicFilters) UnmarshalHCL

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

func (*DynamicFilters) UnmarshalJSON

func (me *DynamicFilters) UnmarshalJSON(data []byte) error

type EntityRef

type EntityRef struct {
	ID          string                     `json:"id"`                    // the ID of the Dynatrace entity
	Name        *string                    `json:"name,omitempty"`        // the name of the Dynatrace entity
	Description *string                    `json:"description,omitempty"` // a short description of the Dynatrace entity
	Unknowns    map[string]json.RawMessage `json:"-"`
}

EntityRef is the short representation of a Dynatrace entity

func (*EntityRef) MarshalHCL

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

func (*EntityRef) MarshalJSON

func (me *EntityRef) MarshalJSON() ([]byte, error)

func (*EntityRef) Schema

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

func (*EntityRef) UnmarshalHCL

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

type FilterForEntityType

type FilterForEntityType struct {
	EntityType string
	Filters    []*FilterMatch
}

func (*FilterForEntityType) MarshalHCL

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

func (*FilterForEntityType) Schema

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

func (*FilterForEntityType) UnmarshalHCL

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

type FilterMatch

type FilterMatch struct {
	Key    string
	Values []string
}

func (*FilterMatch) MarshalHCL

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

func (*FilterMatch) Schema

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

func (*FilterMatch) UnmarshalHCL

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

type FiltersPerEntityType

type FiltersPerEntityType struct {
	Filters []*FilterForEntityType
}

func (*FiltersPerEntityType) MarshalHCL

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

func (*FiltersPerEntityType) Schema

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

func (*FiltersPerEntityType) UnmarshalHCL

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

type JSONDashboard

type JSONDashboard struct {
	Contents string
	// contains filtered or unexported fields
}

func (*JSONDashboard) Anonymize

func (me *JSONDashboard) Anonymize()

func (*JSONDashboard) Equals

func (me *JSONDashboard) Equals(other any) (string, bool)

func (*JSONDashboard) MarshalHCL

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

func (*JSONDashboard) MarshalJSON

func (me *JSONDashboard) MarshalJSON() ([]byte, error)

func (*JSONDashboard) Name

func (me *JSONDashboard) Name() string

func (*JSONDashboard) Schema

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

func (*JSONDashboard) UnmarshalHCL

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

func (*JSONDashboard) UnmarshalJSON

func (me *JSONDashboard) UnmarshalJSON(data []byte) error

type LeftAxisCustomUnit

type LeftAxisCustomUnit string

LeftAxisCustomUnit has no documentation

func (LeftAxisCustomUnit) Ref

type NameSize

type NameSize string

NameSize has no documentation

func (NameSize) Ref

func (me NameSize) Ref() *NameSize

type ResultMetadata

type ResultMetadata struct {
	Entries []*ResultMetadataEntry
}

func (*ResultMetadata) MarshalHCL

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

func (*ResultMetadata) Schema

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

func (*ResultMetadata) UnmarshalHCL

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

type ResultMetadataEntry

type ResultMetadataEntry struct {
	Key      string
	Config   *CustomChartingItemMetadataConfig
	Unknowns map[string]json.RawMessage `json:"-"`
}

func (*ResultMetadataEntry) MarshalHCL

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

func (*ResultMetadataEntry) Schema

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

func (*ResultMetadataEntry) UnmarshalHCL

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

type RightAxisCustomUnit

type RightAxisCustomUnit string

RightAxisCustomUnit has no documentation

func (RightAxisCustomUnit) Ref

type SharingInfo

type SharingInfo struct {
	LinkShared *bool                      `json:"linkShared,omitempty"` // If `true`, the dashboard is shared via link and authenticated users with the link can view
	Published  *bool                      `json:"published,omitempty"`  // If `true`, the dashboard is published to anyone on this environment
	Unknowns   map[string]json.RawMessage `json:"-"`
}

SharingInfo represents sharing configuration of a dashboard

func (*SharingInfo) MarshalHCL

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

func (*SharingInfo) MarshalJSON

func (me *SharingInfo) MarshalJSON() ([]byte, error)

func (*SharingInfo) Schema

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

func (*SharingInfo) UnmarshalHCL

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

func (*SharingInfo) UnmarshalJSON

func (me *SharingInfo) UnmarshalJSON(data []byte) error

type Tile

type Tile struct {
	Name                      string                             `json:"name"` // the name of the tile
	TileType                  TileType                           `json:"tileType"`
	Configured                *bool                              `json:"configured,omitempty"`                // The tile is configured and ready to use (`true`) or just placed on the dashboard (`false`)
	Bounds                    *TileBounds                        `json:"bounds"`                              // Bounds the position and size of a tile
	Filter                    *TileFilter                        `json:"tileFilter,omitempty"`                // is filter applied to a tile. It overrides dashboard's filter
	AssignedEntities          []string                           `json:"assignedEntities"`                    // The list of Dynatrace entities, assigned to the tile
	Metric                    *string                            `json:"metric,omitempty"`                    // The metric assigned to the tile
	CustomName                *string                            `json:"customName"`                          // The name of the tile, set by user
	Query                     *string                            `json:"query"`                               // A [user session query](https://www.dynatrace.com/support/help/shortlink/usql-info) executed by the tile
	Visualization             *UserSessionQueryTileType          `json:"type"`                                // The visualization of the tile
	TimeFrameShift            *string                            `json:"timeFrameShift,omitempty"`            // The comparison timeframe of the query. If specified, you additionally get the results of the same query with the specified time shift
	VisualizationConfig       *UserSessionQueryTileConfiguration `json:"visualizationConfig,omitempty"`       // Configuration of a User session query visualization tile
	Limit                     *int32                             `json:"limit,omitempty"`                     // The limit of the results, if not set will use the default value of the system
	FilterConfig              *CustomFilterConfig                `json:"filterConfig,omitempty"`              // Configuration of the custom filter of a tile
	Markdown                  *string                            `json:"markdown"`                            // The markdown-formatted content of the tile
	ExcludeMaintenanceWindows *bool                              `json:"excludeMaintenanceWindows,omitempty"` // Include (`false') or exclude (`true`) maintenance windows from availability calculations
	ChartVisible              *bool                              `json:"chartVisible,omitempty"`
	NameSize                  *NameSize                          `json:"nameSize,omitempty"` // The size of the tile name. Possible values are `small`, `medium` and `large`.
	AutoRefreshDisabled       bool                               `json:"isAutoRefreshDisabled,omitempty"`

	Unknowns map[string]json.RawMessage `json:"-"`
}

AbstractTile the configuration of a tile. The actual set of fields depends on the type of the tile. See the description of the **tileType** field

func (*Tile) MarshalHCL

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

func (*Tile) MarshalJSON

func (me *Tile) MarshalJSON() ([]byte, error)

func (*Tile) Schema

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

func (*Tile) UnmarshalHCL

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

func (*Tile) UnmarshalJSON

func (me *Tile) UnmarshalJSON(data []byte) error

type TileBounds

type TileBounds struct {
	Top      int32                      `json:"top"`    // the vertical distance from the top left corner of the dashboard to the top left corner of the tile, in pixels
	Left     int32                      `json:"left"`   // the horizontal distance from the top left corner of the dashboard to the top left corner of the tile, in pixels
	Width    int32                      `json:"width"`  // the width of the tile, in pixels
	Height   int32                      `json:"height"` // the height of the tile, in pixels
	Unknowns map[string]json.RawMessage `json:"-"`
}

TileBounds the position and size of a tile

func (*TileBounds) MarshalHCL

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

func (*TileBounds) MarshalJSON

func (me *TileBounds) MarshalJSON() ([]byte, error)

func (*TileBounds) Schema

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

func (*TileBounds) UnmarshalHCL

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

func (*TileBounds) UnmarshalJSON

func (me *TileBounds) UnmarshalJSON(data []byte) error

type TileFilter

type TileFilter struct {
	Timeframe      *string                    `json:"timeframe,omitempty"` // the default timeframe of the dashboard
	ManagementZone *EntityRef                 `json:"managementZone,omitempty"`
	Unknowns       map[string]json.RawMessage `json:"-"`
}

TileFilter is filter applied to a tile. It overrides dashboard's filter

func (*TileFilter) IsZero

func (me *TileFilter) IsZero() bool

func (*TileFilter) MarshalHCL

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

func (*TileFilter) MarshalJSON

func (me *TileFilter) MarshalJSON() ([]byte, error)

func (*TileFilter) Schema

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

func (*TileFilter) UnmarshalHCL

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

func (*TileFilter) UnmarshalJSON

func (me *TileFilter) UnmarshalJSON(data []byte) error

type TileType

type TileType string

TileType has no documentation

func (*TileType) UnmarshalJSON

func (t *TileType) UnmarshalJSON(data []byte) error

UnmarshalJSON performs custom unmarshalling of this enum type

type UserSessionQueryTileConfiguration

type UserSessionQueryTileConfiguration struct {
	HasAxisBucketing *bool                      `json:"hasAxisBucketing,omitempty"` // The axis bucketing when enabled groups similar series in the same virtual axis
	Unknowns         map[string]json.RawMessage `json:"-"`
}

UserSessionQueryTileConfiguration Configuration of a User session query visualization tile

func (*UserSessionQueryTileConfiguration) MarshalHCL

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

func (*UserSessionQueryTileConfiguration) MarshalJSON

func (me *UserSessionQueryTileConfiguration) MarshalJSON() ([]byte, error)

func (*UserSessionQueryTileConfiguration) Schema

func (*UserSessionQueryTileConfiguration) UnmarshalHCL

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

func (*UserSessionQueryTileConfiguration) UnmarshalJSON

func (me *UserSessionQueryTileConfiguration) UnmarshalJSON(data []byte) error

type UserSessionQueryTileType

type UserSessionQueryTileType string

UserSessionQueryTileType has no documentation

func (UserSessionQueryTileType) Ref

Jump to

Keyboard shortcuts

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