1. Packages
  2. Dynatrace
  3. API Docs
  4. MetricEvents
Dynatrace v0.27.0 published on Friday, Mar 21, 2025 by Pulumiverse

dynatrace.MetricEvents

Explore with Pulumi AI

Create MetricEvents Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new MetricEvents(name: string, args: MetricEventsArgs, opts?: CustomResourceOptions);
@overload
def MetricEvents(resource_name: str,
                 args: MetricEventsArgs,
                 opts: Optional[ResourceOptions] = None)

@overload
def MetricEvents(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 enabled: Optional[bool] = None,
                 event_template: Optional[MetricEventsEventTemplateArgs] = None,
                 model_properties: Optional[MetricEventsModelPropertiesArgs] = None,
                 query_definition: Optional[MetricEventsQueryDefinitionArgs] = None,
                 summary: Optional[str] = None,
                 event_entity_dimension_key: Optional[str] = None,
                 legacy_id: Optional[str] = None)
func NewMetricEvents(ctx *Context, name string, args MetricEventsArgs, opts ...ResourceOption) (*MetricEvents, error)
public MetricEvents(string name, MetricEventsArgs args, CustomResourceOptions? opts = null)
public MetricEvents(String name, MetricEventsArgs args)
public MetricEvents(String name, MetricEventsArgs args, CustomResourceOptions options)
type: dynatrace:MetricEvents
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. MetricEventsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. MetricEventsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. MetricEventsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MetricEventsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MetricEventsArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var metricEventsResource = new Dynatrace.MetricEvents("metricEventsResource", new()
{
    Enabled = false,
    EventTemplate = new Dynatrace.Inputs.MetricEventsEventTemplateArgs
    {
        Description = "string",
        EventType = "string",
        Title = "string",
        DavisMerge = false,
        Metadatas = new[]
        {
            new Dynatrace.Inputs.MetricEventsEventTemplateMetadataArgs
            {
                MetadataKey = "string",
                MetadataValue = "string",
            },
        },
    },
    ModelProperties = new Dynatrace.Inputs.MetricEventsModelPropertiesArgs
    {
        AlertCondition = "string",
        AlertOnNoData = false,
        DealertingSamples = 0,
        Samples = 0,
        Type = "string",
        ViolatingSamples = 0,
        SignalFluctuation = 0,
        Threshold = 0,
        Tolerance = 0,
    },
    QueryDefinition = new Dynatrace.Inputs.MetricEventsQueryDefinitionArgs
    {
        Type = "string",
        Aggregation = "string",
        DimensionFilter = new Dynatrace.Inputs.MetricEventsQueryDefinitionDimensionFilterArgs
        {
            Filters = new[]
            {
                new Dynatrace.Inputs.MetricEventsQueryDefinitionDimensionFilterFilterArgs
                {
                    DimensionKey = "string",
                    DimensionValue = "string",
                    Operator = "string",
                },
            },
        },
        EntityFilter = new Dynatrace.Inputs.MetricEventsQueryDefinitionEntityFilterArgs
        {
            Conditions = new Dynatrace.Inputs.MetricEventsQueryDefinitionEntityFilterConditionsArgs
            {
                Conditions = new[]
                {
                    new Dynatrace.Inputs.MetricEventsQueryDefinitionEntityFilterConditionsConditionArgs
                    {
                        Operator = "string",
                        Type = "string",
                        Value = "string",
                    },
                },
            },
            DimensionKey = "string",
        },
        ManagementZone = "string",
        MetricKey = "string",
        MetricSelector = "string",
        QueryOffset = 0,
    },
    Summary = "string",
    EventEntityDimensionKey = "string",
    LegacyId = "string",
});
Copy
example, err := dynatrace.NewMetricEvents(ctx, "metricEventsResource", &dynatrace.MetricEventsArgs{
	Enabled: pulumi.Bool(false),
	EventTemplate: &dynatrace.MetricEventsEventTemplateArgs{
		Description: pulumi.String("string"),
		EventType:   pulumi.String("string"),
		Title:       pulumi.String("string"),
		DavisMerge:  pulumi.Bool(false),
		Metadatas: dynatrace.MetricEventsEventTemplateMetadataArray{
			&dynatrace.MetricEventsEventTemplateMetadataArgs{
				MetadataKey:   pulumi.String("string"),
				MetadataValue: pulumi.String("string"),
			},
		},
	},
	ModelProperties: &dynatrace.MetricEventsModelPropertiesArgs{
		AlertCondition:    pulumi.String("string"),
		AlertOnNoData:     pulumi.Bool(false),
		DealertingSamples: pulumi.Int(0),
		Samples:           pulumi.Int(0),
		Type:              pulumi.String("string"),
		ViolatingSamples:  pulumi.Int(0),
		SignalFluctuation: pulumi.Float64(0),
		Threshold:         pulumi.Float64(0),
		Tolerance:         pulumi.Float64(0),
	},
	QueryDefinition: &dynatrace.MetricEventsQueryDefinitionArgs{
		Type:        pulumi.String("string"),
		Aggregation: pulumi.String("string"),
		DimensionFilter: &dynatrace.MetricEventsQueryDefinitionDimensionFilterArgs{
			Filters: dynatrace.MetricEventsQueryDefinitionDimensionFilterFilterArray{
				&dynatrace.MetricEventsQueryDefinitionDimensionFilterFilterArgs{
					DimensionKey:   pulumi.String("string"),
					DimensionValue: pulumi.String("string"),
					Operator:       pulumi.String("string"),
				},
			},
		},
		EntityFilter: &dynatrace.MetricEventsQueryDefinitionEntityFilterArgs{
			Conditions: &dynatrace.MetricEventsQueryDefinitionEntityFilterConditionsArgs{
				Conditions: dynatrace.MetricEventsQueryDefinitionEntityFilterConditionsConditionArray{
					&dynatrace.MetricEventsQueryDefinitionEntityFilterConditionsConditionArgs{
						Operator: pulumi.String("string"),
						Type:     pulumi.String("string"),
						Value:    pulumi.String("string"),
					},
				},
			},
			DimensionKey: pulumi.String("string"),
		},
		ManagementZone: pulumi.String("string"),
		MetricKey:      pulumi.String("string"),
		MetricSelector: pulumi.String("string"),
		QueryOffset:    pulumi.Int(0),
	},
	Summary:                 pulumi.String("string"),
	EventEntityDimensionKey: pulumi.String("string"),
	LegacyId:                pulumi.String("string"),
})
Copy
var metricEventsResource = new MetricEvents("metricEventsResource", MetricEventsArgs.builder()
    .enabled(false)
    .eventTemplate(MetricEventsEventTemplateArgs.builder()
        .description("string")
        .eventType("string")
        .title("string")
        .davisMerge(false)
        .metadatas(MetricEventsEventTemplateMetadataArgs.builder()
            .metadataKey("string")
            .metadataValue("string")
            .build())
        .build())
    .modelProperties(MetricEventsModelPropertiesArgs.builder()
        .alertCondition("string")
        .alertOnNoData(false)
        .dealertingSamples(0)
        .samples(0)
        .type("string")
        .violatingSamples(0)
        .signalFluctuation(0)
        .threshold(0)
        .tolerance(0)
        .build())
    .queryDefinition(MetricEventsQueryDefinitionArgs.builder()
        .type("string")
        .aggregation("string")
        .dimensionFilter(MetricEventsQueryDefinitionDimensionFilterArgs.builder()
            .filters(MetricEventsQueryDefinitionDimensionFilterFilterArgs.builder()
                .dimensionKey("string")
                .dimensionValue("string")
                .operator("string")
                .build())
            .build())
        .entityFilter(MetricEventsQueryDefinitionEntityFilterArgs.builder()
            .conditions(MetricEventsQueryDefinitionEntityFilterConditionsArgs.builder()
                .conditions(MetricEventsQueryDefinitionEntityFilterConditionsConditionArgs.builder()
                    .operator("string")
                    .type("string")
                    .value("string")
                    .build())
                .build())
            .dimensionKey("string")
            .build())
        .managementZone("string")
        .metricKey("string")
        .metricSelector("string")
        .queryOffset(0)
        .build())
    .summary("string")
    .eventEntityDimensionKey("string")
    .legacyId("string")
    .build());
Copy
metric_events_resource = dynatrace.MetricEvents("metricEventsResource",
    enabled=False,
    event_template={
        "description": "string",
        "event_type": "string",
        "title": "string",
        "davis_merge": False,
        "metadatas": [{
            "metadata_key": "string",
            "metadata_value": "string",
        }],
    },
    model_properties={
        "alert_condition": "string",
        "alert_on_no_data": False,
        "dealerting_samples": 0,
        "samples": 0,
        "type": "string",
        "violating_samples": 0,
        "signal_fluctuation": 0,
        "threshold": 0,
        "tolerance": 0,
    },
    query_definition={
        "type": "string",
        "aggregation": "string",
        "dimension_filter": {
            "filters": [{
                "dimension_key": "string",
                "dimension_value": "string",
                "operator": "string",
            }],
        },
        "entity_filter": {
            "conditions": {
                "conditions": [{
                    "operator": "string",
                    "type": "string",
                    "value": "string",
                }],
            },
            "dimension_key": "string",
        },
        "management_zone": "string",
        "metric_key": "string",
        "metric_selector": "string",
        "query_offset": 0,
    },
    summary="string",
    event_entity_dimension_key="string",
    legacy_id="string")
Copy
const metricEventsResource = new dynatrace.MetricEvents("metricEventsResource", {
    enabled: false,
    eventTemplate: {
        description: "string",
        eventType: "string",
        title: "string",
        davisMerge: false,
        metadatas: [{
            metadataKey: "string",
            metadataValue: "string",
        }],
    },
    modelProperties: {
        alertCondition: "string",
        alertOnNoData: false,
        dealertingSamples: 0,
        samples: 0,
        type: "string",
        violatingSamples: 0,
        signalFluctuation: 0,
        threshold: 0,
        tolerance: 0,
    },
    queryDefinition: {
        type: "string",
        aggregation: "string",
        dimensionFilter: {
            filters: [{
                dimensionKey: "string",
                dimensionValue: "string",
                operator: "string",
            }],
        },
        entityFilter: {
            conditions: {
                conditions: [{
                    operator: "string",
                    type: "string",
                    value: "string",
                }],
            },
            dimensionKey: "string",
        },
        managementZone: "string",
        metricKey: "string",
        metricSelector: "string",
        queryOffset: 0,
    },
    summary: "string",
    eventEntityDimensionKey: "string",
    legacyId: "string",
});
Copy
type: dynatrace:MetricEvents
properties:
    enabled: false
    eventEntityDimensionKey: string
    eventTemplate:
        davisMerge: false
        description: string
        eventType: string
        metadatas:
            - metadataKey: string
              metadataValue: string
        title: string
    legacyId: string
    modelProperties:
        alertCondition: string
        alertOnNoData: false
        dealertingSamples: 0
        samples: 0
        signalFluctuation: 0
        threshold: 0
        tolerance: 0
        type: string
        violatingSamples: 0
    queryDefinition:
        aggregation: string
        dimensionFilter:
            filters:
                - dimensionKey: string
                  dimensionValue: string
                  operator: string
        entityFilter:
            conditions:
                conditions:
                    - operator: string
                      type: string
                      value: string
            dimensionKey: string
        managementZone: string
        metricKey: string
        metricSelector: string
        queryOffset: 0
        type: string
    summary: string
Copy

MetricEvents Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The MetricEvents resource accepts the following input properties:

Enabled This property is required. bool
This setting is enabled (true) or disabled (false)
EventTemplate This property is required. Pulumiverse.Dynatrace.Inputs.MetricEventsEventTemplate
Event template
ModelProperties This property is required. Pulumiverse.Dynatrace.Inputs.MetricEventsModelProperties
Monitoring strategy
QueryDefinition This property is required. Pulumiverse.Dynatrace.Inputs.MetricEventsQueryDefinition
Query definition
Summary This property is required. string
The textual summary of the metric event entry
EventEntityDimensionKey string
Controls the preferred entity type used for triggered events.
LegacyId string
Config id
Enabled This property is required. bool
This setting is enabled (true) or disabled (false)
EventTemplate This property is required. MetricEventsEventTemplateArgs
Event template
ModelProperties This property is required. MetricEventsModelPropertiesArgs
Monitoring strategy
QueryDefinition This property is required. MetricEventsQueryDefinitionArgs
Query definition
Summary This property is required. string
The textual summary of the metric event entry
EventEntityDimensionKey string
Controls the preferred entity type used for triggered events.
LegacyId string
Config id
enabled This property is required. Boolean
This setting is enabled (true) or disabled (false)
eventTemplate This property is required. MetricEventsEventTemplate
Event template
modelProperties This property is required. MetricEventsModelProperties
Monitoring strategy
queryDefinition This property is required. MetricEventsQueryDefinition
Query definition
summary This property is required. String
The textual summary of the metric event entry
eventEntityDimensionKey String
Controls the preferred entity type used for triggered events.
legacyId String
Config id
enabled This property is required. boolean
This setting is enabled (true) or disabled (false)
eventTemplate This property is required. MetricEventsEventTemplate
Event template
modelProperties This property is required. MetricEventsModelProperties
Monitoring strategy
queryDefinition This property is required. MetricEventsQueryDefinition
Query definition
summary This property is required. string
The textual summary of the metric event entry
eventEntityDimensionKey string
Controls the preferred entity type used for triggered events.
legacyId string
Config id
enabled This property is required. bool
This setting is enabled (true) or disabled (false)
event_template This property is required. MetricEventsEventTemplateArgs
Event template
model_properties This property is required. MetricEventsModelPropertiesArgs
Monitoring strategy
query_definition This property is required. MetricEventsQueryDefinitionArgs
Query definition
summary This property is required. str
The textual summary of the metric event entry
event_entity_dimension_key str
Controls the preferred entity type used for triggered events.
legacy_id str
Config id
enabled This property is required. Boolean
This setting is enabled (true) or disabled (false)
eventTemplate This property is required. Property Map
Event template
modelProperties This property is required. Property Map
Monitoring strategy
queryDefinition This property is required. Property Map
Query definition
summary This property is required. String
The textual summary of the metric event entry
eventEntityDimensionKey String
Controls the preferred entity type used for triggered events.
legacyId String
Config id

Outputs

All input properties are implicitly available as output properties. Additionally, the MetricEvents resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing MetricEvents Resource

Get an existing MetricEvents resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: MetricEventsState, opts?: CustomResourceOptions): MetricEvents
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        enabled: Optional[bool] = None,
        event_entity_dimension_key: Optional[str] = None,
        event_template: Optional[MetricEventsEventTemplateArgs] = None,
        legacy_id: Optional[str] = None,
        model_properties: Optional[MetricEventsModelPropertiesArgs] = None,
        query_definition: Optional[MetricEventsQueryDefinitionArgs] = None,
        summary: Optional[str] = None) -> MetricEvents
func GetMetricEvents(ctx *Context, name string, id IDInput, state *MetricEventsState, opts ...ResourceOption) (*MetricEvents, error)
public static MetricEvents Get(string name, Input<string> id, MetricEventsState? state, CustomResourceOptions? opts = null)
public static MetricEvents get(String name, Output<String> id, MetricEventsState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:MetricEvents    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Enabled bool
This setting is enabled (true) or disabled (false)
EventEntityDimensionKey string
Controls the preferred entity type used for triggered events.
EventTemplate Pulumiverse.Dynatrace.Inputs.MetricEventsEventTemplate
Event template
LegacyId string
Config id
ModelProperties Pulumiverse.Dynatrace.Inputs.MetricEventsModelProperties
Monitoring strategy
QueryDefinition Pulumiverse.Dynatrace.Inputs.MetricEventsQueryDefinition
Query definition
Summary string
The textual summary of the metric event entry
Enabled bool
This setting is enabled (true) or disabled (false)
EventEntityDimensionKey string
Controls the preferred entity type used for triggered events.
EventTemplate MetricEventsEventTemplateArgs
Event template
LegacyId string
Config id
ModelProperties MetricEventsModelPropertiesArgs
Monitoring strategy
QueryDefinition MetricEventsQueryDefinitionArgs
Query definition
Summary string
The textual summary of the metric event entry
enabled Boolean
This setting is enabled (true) or disabled (false)
eventEntityDimensionKey String
Controls the preferred entity type used for triggered events.
eventTemplate MetricEventsEventTemplate
Event template
legacyId String
Config id
modelProperties MetricEventsModelProperties
Monitoring strategy
queryDefinition MetricEventsQueryDefinition
Query definition
summary String
The textual summary of the metric event entry
enabled boolean
This setting is enabled (true) or disabled (false)
eventEntityDimensionKey string
Controls the preferred entity type used for triggered events.
eventTemplate MetricEventsEventTemplate
Event template
legacyId string
Config id
modelProperties MetricEventsModelProperties
Monitoring strategy
queryDefinition MetricEventsQueryDefinition
Query definition
summary string
The textual summary of the metric event entry
enabled bool
This setting is enabled (true) or disabled (false)
event_entity_dimension_key str
Controls the preferred entity type used for triggered events.
event_template MetricEventsEventTemplateArgs
Event template
legacy_id str
Config id
model_properties MetricEventsModelPropertiesArgs
Monitoring strategy
query_definition MetricEventsQueryDefinitionArgs
Query definition
summary str
The textual summary of the metric event entry
enabled Boolean
This setting is enabled (true) or disabled (false)
eventEntityDimensionKey String
Controls the preferred entity type used for triggered events.
eventTemplate Property Map
Event template
legacyId String
Config id
modelProperties Property Map
Monitoring strategy
queryDefinition Property Map
Query definition
summary String
The textual summary of the metric event entry

Supporting Types

MetricEventsEventTemplate
, MetricEventsEventTemplateArgs

Description This property is required. string
The description of the event to trigger.
EventType This property is required. string
Possible Values: AVAILABILITY, CUSTOM_ALERT, CUSTOM_ANNOTATION, CUSTOM_CONFIGURATION, CUSTOM_DEPLOYMENT, ERROR, INFO, MARKED_FOR_TERMINATION, RESOURCE, SLOWDOWN
Title This property is required. string
The title of the event to trigger.
DavisMerge bool
Davis® AI will try to merge this event into existing problems, otherwise a new problem will always be created.
Metadatas List<Pulumiverse.Dynatrace.Inputs.MetricEventsEventTemplateMetadata>
Set of additional key-value properties to be attached to the triggered event.
Description This property is required. string
The description of the event to trigger.
EventType This property is required. string
Possible Values: AVAILABILITY, CUSTOM_ALERT, CUSTOM_ANNOTATION, CUSTOM_CONFIGURATION, CUSTOM_DEPLOYMENT, ERROR, INFO, MARKED_FOR_TERMINATION, RESOURCE, SLOWDOWN
Title This property is required. string
The title of the event to trigger.
DavisMerge bool
Davis® AI will try to merge this event into existing problems, otherwise a new problem will always be created.
Metadatas []MetricEventsEventTemplateMetadata
Set of additional key-value properties to be attached to the triggered event.
description This property is required. String
The description of the event to trigger.
eventType This property is required. String
Possible Values: AVAILABILITY, CUSTOM_ALERT, CUSTOM_ANNOTATION, CUSTOM_CONFIGURATION, CUSTOM_DEPLOYMENT, ERROR, INFO, MARKED_FOR_TERMINATION, RESOURCE, SLOWDOWN
title This property is required. String
The title of the event to trigger.
davisMerge Boolean
Davis® AI will try to merge this event into existing problems, otherwise a new problem will always be created.
metadatas List<MetricEventsEventTemplateMetadata>
Set of additional key-value properties to be attached to the triggered event.
description This property is required. string
The description of the event to trigger.
eventType This property is required. string
Possible Values: AVAILABILITY, CUSTOM_ALERT, CUSTOM_ANNOTATION, CUSTOM_CONFIGURATION, CUSTOM_DEPLOYMENT, ERROR, INFO, MARKED_FOR_TERMINATION, RESOURCE, SLOWDOWN
title This property is required. string
The title of the event to trigger.
davisMerge boolean
Davis® AI will try to merge this event into existing problems, otherwise a new problem will always be created.
metadatas MetricEventsEventTemplateMetadata[]
Set of additional key-value properties to be attached to the triggered event.
description This property is required. str
The description of the event to trigger.
event_type This property is required. str
Possible Values: AVAILABILITY, CUSTOM_ALERT, CUSTOM_ANNOTATION, CUSTOM_CONFIGURATION, CUSTOM_DEPLOYMENT, ERROR, INFO, MARKED_FOR_TERMINATION, RESOURCE, SLOWDOWN
title This property is required. str
The title of the event to trigger.
davis_merge bool
Davis® AI will try to merge this event into existing problems, otherwise a new problem will always be created.
metadatas Sequence[MetricEventsEventTemplateMetadata]
Set of additional key-value properties to be attached to the triggered event.
description This property is required. String
The description of the event to trigger.
eventType This property is required. String
Possible Values: AVAILABILITY, CUSTOM_ALERT, CUSTOM_ANNOTATION, CUSTOM_CONFIGURATION, CUSTOM_DEPLOYMENT, ERROR, INFO, MARKED_FOR_TERMINATION, RESOURCE, SLOWDOWN
title This property is required. String
The title of the event to trigger.
davisMerge Boolean
Davis® AI will try to merge this event into existing problems, otherwise a new problem will always be created.
metadatas List<Property Map>
Set of additional key-value properties to be attached to the triggered event.

MetricEventsEventTemplateMetadata
, MetricEventsEventTemplateMetadataArgs

MetadataKey This property is required. string
Type 'dt.' for key hints.
MetadataValue This property is required. string
no documentation available
MetadataKey This property is required. string
Type 'dt.' for key hints.
MetadataValue This property is required. string
no documentation available
metadataKey This property is required. String
Type 'dt.' for key hints.
metadataValue This property is required. String
no documentation available
metadataKey This property is required. string
Type 'dt.' for key hints.
metadataValue This property is required. string
no documentation available
metadata_key This property is required. str
Type 'dt.' for key hints.
metadata_value This property is required. str
no documentation available
metadataKey This property is required. String
Type 'dt.' for key hints.
metadataValue This property is required. String
no documentation available

MetricEventsModelProperties
, MetricEventsModelPropertiesArgs

AlertCondition This property is required. string
Possible Values: ABOVE, BELOW, OUTSIDE
AlertOnNoData This property is required. bool
The ability to set an alert on missing data in a metric. When enabled, missing data samples will contribute as violating samples defined in advanced model properties. We recommend to not alert on missing data for sparse timeseries as this leads to alert spam.
DealertingSamples This property is required. int
The number of one-minute samples within the evaluation window that must go back to normal to close the event.
Samples This property is required. int
The number of one-minute samples that form the sliding evaluation window.
Type This property is required. string
Possible Values: AUTO_ADAPTIVE_THRESHOLD, SEASONAL_BASELINE, STATIC_THRESHOLD
ViolatingSamples This property is required. int
The number of one-minute samples within the evaluation window that must violate to trigger an event.
SignalFluctuation double
Controls how many times the signal fluctuation is added to the baseline to produce the actual threshold for alerting
Threshold double
Raise an event if this value is violated
Tolerance double
Controls the width of the confidence band and larger values lead to a less sensitive model
AlertCondition This property is required. string
Possible Values: ABOVE, BELOW, OUTSIDE
AlertOnNoData This property is required. bool
The ability to set an alert on missing data in a metric. When enabled, missing data samples will contribute as violating samples defined in advanced model properties. We recommend to not alert on missing data for sparse timeseries as this leads to alert spam.
DealertingSamples This property is required. int
The number of one-minute samples within the evaluation window that must go back to normal to close the event.
Samples This property is required. int
The number of one-minute samples that form the sliding evaluation window.
Type This property is required. string
Possible Values: AUTO_ADAPTIVE_THRESHOLD, SEASONAL_BASELINE, STATIC_THRESHOLD
ViolatingSamples This property is required. int
The number of one-minute samples within the evaluation window that must violate to trigger an event.
SignalFluctuation float64
Controls how many times the signal fluctuation is added to the baseline to produce the actual threshold for alerting
Threshold float64
Raise an event if this value is violated
Tolerance float64
Controls the width of the confidence band and larger values lead to a less sensitive model
alertCondition This property is required. String
Possible Values: ABOVE, BELOW, OUTSIDE
alertOnNoData This property is required. Boolean
The ability to set an alert on missing data in a metric. When enabled, missing data samples will contribute as violating samples defined in advanced model properties. We recommend to not alert on missing data for sparse timeseries as this leads to alert spam.
dealertingSamples This property is required. Integer
The number of one-minute samples within the evaluation window that must go back to normal to close the event.
samples This property is required. Integer
The number of one-minute samples that form the sliding evaluation window.
type This property is required. String
Possible Values: AUTO_ADAPTIVE_THRESHOLD, SEASONAL_BASELINE, STATIC_THRESHOLD
violatingSamples This property is required. Integer
The number of one-minute samples within the evaluation window that must violate to trigger an event.
signalFluctuation Double
Controls how many times the signal fluctuation is added to the baseline to produce the actual threshold for alerting
threshold Double
Raise an event if this value is violated
tolerance Double
Controls the width of the confidence band and larger values lead to a less sensitive model
alertCondition This property is required. string
Possible Values: ABOVE, BELOW, OUTSIDE
alertOnNoData This property is required. boolean
The ability to set an alert on missing data in a metric. When enabled, missing data samples will contribute as violating samples defined in advanced model properties. We recommend to not alert on missing data for sparse timeseries as this leads to alert spam.
dealertingSamples This property is required. number
The number of one-minute samples within the evaluation window that must go back to normal to close the event.
samples This property is required. number
The number of one-minute samples that form the sliding evaluation window.
type This property is required. string
Possible Values: AUTO_ADAPTIVE_THRESHOLD, SEASONAL_BASELINE, STATIC_THRESHOLD
violatingSamples This property is required. number
The number of one-minute samples within the evaluation window that must violate to trigger an event.
signalFluctuation number
Controls how many times the signal fluctuation is added to the baseline to produce the actual threshold for alerting
threshold number
Raise an event if this value is violated
tolerance number
Controls the width of the confidence band and larger values lead to a less sensitive model
alert_condition This property is required. str
Possible Values: ABOVE, BELOW, OUTSIDE
alert_on_no_data This property is required. bool
The ability to set an alert on missing data in a metric. When enabled, missing data samples will contribute as violating samples defined in advanced model properties. We recommend to not alert on missing data for sparse timeseries as this leads to alert spam.
dealerting_samples This property is required. int
The number of one-minute samples within the evaluation window that must go back to normal to close the event.
samples This property is required. int
The number of one-minute samples that form the sliding evaluation window.
type This property is required. str
Possible Values: AUTO_ADAPTIVE_THRESHOLD, SEASONAL_BASELINE, STATIC_THRESHOLD
violating_samples This property is required. int
The number of one-minute samples within the evaluation window that must violate to trigger an event.
signal_fluctuation float
Controls how many times the signal fluctuation is added to the baseline to produce the actual threshold for alerting
threshold float
Raise an event if this value is violated
tolerance float
Controls the width of the confidence band and larger values lead to a less sensitive model
alertCondition This property is required. String
Possible Values: ABOVE, BELOW, OUTSIDE
alertOnNoData This property is required. Boolean
The ability to set an alert on missing data in a metric. When enabled, missing data samples will contribute as violating samples defined in advanced model properties. We recommend to not alert on missing data for sparse timeseries as this leads to alert spam.
dealertingSamples This property is required. Number
The number of one-minute samples within the evaluation window that must go back to normal to close the event.
samples This property is required. Number
The number of one-minute samples that form the sliding evaluation window.
type This property is required. String
Possible Values: AUTO_ADAPTIVE_THRESHOLD, SEASONAL_BASELINE, STATIC_THRESHOLD
violatingSamples This property is required. Number
The number of one-minute samples within the evaluation window that must violate to trigger an event.
signalFluctuation Number
Controls how many times the signal fluctuation is added to the baseline to produce the actual threshold for alerting
threshold Number
Raise an event if this value is violated
tolerance Number
Controls the width of the confidence band and larger values lead to a less sensitive model

MetricEventsQueryDefinition
, MetricEventsQueryDefinitionArgs

Type This property is required. string
Possible Values: METRIC_KEY, METRIC_SELECTOR
Aggregation string
Possible Values: AVG, COUNT, MAX, MEDIAN, MIN, PERCENTILE90, SUM, VALUE
DimensionFilter Pulumiverse.Dynatrace.Inputs.MetricEventsQueryDefinitionDimensionFilter
Dimension filter
EntityFilter Pulumiverse.Dynatrace.Inputs.MetricEventsQueryDefinitionEntityFilter
Use rule-based filters to define the scope this event monitors.
ManagementZone string
The legacy_id of a Management Zone (as provided by the resource dynatrace.ManagementZoneV2 or the data source dynatrace.ManagementZone)
MetricKey string
Metric key
MetricSelector string
To learn more, visit Metric Selector
QueryOffset int
Minute offset of sliding evaluation window for metrics with latency
Type This property is required. string
Possible Values: METRIC_KEY, METRIC_SELECTOR
Aggregation string
Possible Values: AVG, COUNT, MAX, MEDIAN, MIN, PERCENTILE90, SUM, VALUE
DimensionFilter MetricEventsQueryDefinitionDimensionFilter
Dimension filter
EntityFilter MetricEventsQueryDefinitionEntityFilter
Use rule-based filters to define the scope this event monitors.
ManagementZone string
The legacy_id of a Management Zone (as provided by the resource dynatrace.ManagementZoneV2 or the data source dynatrace.ManagementZone)
MetricKey string
Metric key
MetricSelector string
To learn more, visit Metric Selector
QueryOffset int
Minute offset of sliding evaluation window for metrics with latency
type This property is required. String
Possible Values: METRIC_KEY, METRIC_SELECTOR
aggregation String
Possible Values: AVG, COUNT, MAX, MEDIAN, MIN, PERCENTILE90, SUM, VALUE
dimensionFilter MetricEventsQueryDefinitionDimensionFilter
Dimension filter
entityFilter MetricEventsQueryDefinitionEntityFilter
Use rule-based filters to define the scope this event monitors.
managementZone String
The legacy_id of a Management Zone (as provided by the resource dynatrace.ManagementZoneV2 or the data source dynatrace.ManagementZone)
metricKey String
Metric key
metricSelector String
To learn more, visit Metric Selector
queryOffset Integer
Minute offset of sliding evaluation window for metrics with latency
type This property is required. string
Possible Values: METRIC_KEY, METRIC_SELECTOR
aggregation string
Possible Values: AVG, COUNT, MAX, MEDIAN, MIN, PERCENTILE90, SUM, VALUE
dimensionFilter MetricEventsQueryDefinitionDimensionFilter
Dimension filter
entityFilter MetricEventsQueryDefinitionEntityFilter
Use rule-based filters to define the scope this event monitors.
managementZone string
The legacy_id of a Management Zone (as provided by the resource dynatrace.ManagementZoneV2 or the data source dynatrace.ManagementZone)
metricKey string
Metric key
metricSelector string
To learn more, visit Metric Selector
queryOffset number
Minute offset of sliding evaluation window for metrics with latency
type This property is required. str
Possible Values: METRIC_KEY, METRIC_SELECTOR
aggregation str
Possible Values: AVG, COUNT, MAX, MEDIAN, MIN, PERCENTILE90, SUM, VALUE
dimension_filter MetricEventsQueryDefinitionDimensionFilter
Dimension filter
entity_filter MetricEventsQueryDefinitionEntityFilter
Use rule-based filters to define the scope this event monitors.
management_zone str
The legacy_id of a Management Zone (as provided by the resource dynatrace.ManagementZoneV2 or the data source dynatrace.ManagementZone)
metric_key str
Metric key
metric_selector str
To learn more, visit Metric Selector
query_offset int
Minute offset of sliding evaluation window for metrics with latency
type This property is required. String
Possible Values: METRIC_KEY, METRIC_SELECTOR
aggregation String
Possible Values: AVG, COUNT, MAX, MEDIAN, MIN, PERCENTILE90, SUM, VALUE
dimensionFilter Property Map
Dimension filter
entityFilter Property Map
Use rule-based filters to define the scope this event monitors.
managementZone String
The legacy_id of a Management Zone (as provided by the resource dynatrace.ManagementZoneV2 or the data source dynatrace.ManagementZone)
metricKey String
Metric key
metricSelector String
To learn more, visit Metric Selector
queryOffset Number
Minute offset of sliding evaluation window for metrics with latency

MetricEventsQueryDefinitionDimensionFilter
, MetricEventsQueryDefinitionDimensionFilterArgs

filters This property is required. List<Property Map>

MetricEventsQueryDefinitionDimensionFilterFilter
, MetricEventsQueryDefinitionDimensionFilterFilterArgs

DimensionKey This property is required. string
Dimension key
DimensionValue This property is required. string
Dimension value
Operator string
Possible Values: CONTAINS_CASE_SENSITIVE, DOES_NOT_CONTAIN_CASE_SENSITIVE, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS, STARTS_WITH
DimensionKey This property is required. string
Dimension key
DimensionValue This property is required. string
Dimension value
Operator string
Possible Values: CONTAINS_CASE_SENSITIVE, DOES_NOT_CONTAIN_CASE_SENSITIVE, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS, STARTS_WITH
dimensionKey This property is required. String
Dimension key
dimensionValue This property is required. String
Dimension value
operator String
Possible Values: CONTAINS_CASE_SENSITIVE, DOES_NOT_CONTAIN_CASE_SENSITIVE, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS, STARTS_WITH
dimensionKey This property is required. string
Dimension key
dimensionValue This property is required. string
Dimension value
operator string
Possible Values: CONTAINS_CASE_SENSITIVE, DOES_NOT_CONTAIN_CASE_SENSITIVE, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS, STARTS_WITH
dimension_key This property is required. str
Dimension key
dimension_value This property is required. str
Dimension value
operator str
Possible Values: CONTAINS_CASE_SENSITIVE, DOES_NOT_CONTAIN_CASE_SENSITIVE, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS, STARTS_WITH
dimensionKey This property is required. String
Dimension key
dimensionValue This property is required. String
Dimension value
operator String
Possible Values: CONTAINS_CASE_SENSITIVE, DOES_NOT_CONTAIN_CASE_SENSITIVE, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS, STARTS_WITH

MetricEventsQueryDefinitionEntityFilter
, MetricEventsQueryDefinitionEntityFilterArgs

Conditions Pulumiverse.Dynatrace.Inputs.MetricEventsQueryDefinitionEntityFilterConditions
no documentation available
DimensionKey string
Dimension key of entity type to filter
Conditions MetricEventsQueryDefinitionEntityFilterConditions
no documentation available
DimensionKey string
Dimension key of entity type to filter
conditions MetricEventsQueryDefinitionEntityFilterConditions
no documentation available
dimensionKey String
Dimension key of entity type to filter
conditions MetricEventsQueryDefinitionEntityFilterConditions
no documentation available
dimensionKey string
Dimension key of entity type to filter
conditions MetricEventsQueryDefinitionEntityFilterConditions
no documentation available
dimension_key str
Dimension key of entity type to filter
conditions Property Map
no documentation available
dimensionKey String
Dimension key of entity type to filter

MetricEventsQueryDefinitionEntityFilterConditions
, MetricEventsQueryDefinitionEntityFilterConditionsArgs

conditions This property is required. List<Property Map>

MetricEventsQueryDefinitionEntityFilterConditionsCondition
, MetricEventsQueryDefinitionEntityFilterConditionsConditionArgs

Operator This property is required. string
Possible Values: CONTAINS_CASE_INSENSITIVE, CONTAINS_CASE_SENSITIVE, DOES_NOT_CONTAIN_CASE_INSENSITIVE, DOES_NOT_CONTAIN_CASE_SENSITIVE, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS, STARTS_WITH
Type This property is required. string
Possible Values: CUSTOM_DEVICE_GROUP_NAME, ENTITY_ID, HOST_GROUP_NAME, HOST_NAME, MANAGEMENT_ZONE, NAME, PROCESS_GROUP_ID, PROCESS_GROUP_NAME, TAG
Value This property is required. string
no documentation available
Operator This property is required. string
Possible Values: CONTAINS_CASE_INSENSITIVE, CONTAINS_CASE_SENSITIVE, DOES_NOT_CONTAIN_CASE_INSENSITIVE, DOES_NOT_CONTAIN_CASE_SENSITIVE, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS, STARTS_WITH
Type This property is required. string
Possible Values: CUSTOM_DEVICE_GROUP_NAME, ENTITY_ID, HOST_GROUP_NAME, HOST_NAME, MANAGEMENT_ZONE, NAME, PROCESS_GROUP_ID, PROCESS_GROUP_NAME, TAG
Value This property is required. string
no documentation available
operator This property is required. String
Possible Values: CONTAINS_CASE_INSENSITIVE, CONTAINS_CASE_SENSITIVE, DOES_NOT_CONTAIN_CASE_INSENSITIVE, DOES_NOT_CONTAIN_CASE_SENSITIVE, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS, STARTS_WITH
type This property is required. String
Possible Values: CUSTOM_DEVICE_GROUP_NAME, ENTITY_ID, HOST_GROUP_NAME, HOST_NAME, MANAGEMENT_ZONE, NAME, PROCESS_GROUP_ID, PROCESS_GROUP_NAME, TAG
value This property is required. String
no documentation available
operator This property is required. string
Possible Values: CONTAINS_CASE_INSENSITIVE, CONTAINS_CASE_SENSITIVE, DOES_NOT_CONTAIN_CASE_INSENSITIVE, DOES_NOT_CONTAIN_CASE_SENSITIVE, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS, STARTS_WITH
type This property is required. string
Possible Values: CUSTOM_DEVICE_GROUP_NAME, ENTITY_ID, HOST_GROUP_NAME, HOST_NAME, MANAGEMENT_ZONE, NAME, PROCESS_GROUP_ID, PROCESS_GROUP_NAME, TAG
value This property is required. string
no documentation available
operator This property is required. str
Possible Values: CONTAINS_CASE_INSENSITIVE, CONTAINS_CASE_SENSITIVE, DOES_NOT_CONTAIN_CASE_INSENSITIVE, DOES_NOT_CONTAIN_CASE_SENSITIVE, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS, STARTS_WITH
type This property is required. str
Possible Values: CUSTOM_DEVICE_GROUP_NAME, ENTITY_ID, HOST_GROUP_NAME, HOST_NAME, MANAGEMENT_ZONE, NAME, PROCESS_GROUP_ID, PROCESS_GROUP_NAME, TAG
value This property is required. str
no documentation available
operator This property is required. String
Possible Values: CONTAINS_CASE_INSENSITIVE, CONTAINS_CASE_SENSITIVE, DOES_NOT_CONTAIN_CASE_INSENSITIVE, DOES_NOT_CONTAIN_CASE_SENSITIVE, DOES_NOT_EQUAL, DOES_NOT_START_WITH, EQUALS, STARTS_WITH
type This property is required. String
Possible Values: CUSTOM_DEVICE_GROUP_NAME, ENTITY_ID, HOST_GROUP_NAME, HOST_NAME, MANAGEMENT_ZONE, NAME, PROCESS_GROUP_ID, PROCESS_GROUP_NAME, TAG
value This property is required. String
no documentation available

Package Details

Repository
dynatrace pulumiverse/pulumi-dynatrace
License
Apache-2.0
Notes
This Pulumi package is based on the dynatrace Terraform Provider.