1. Packages
  2. Dynatrace
  3. API Docs
  4. MetricEvents
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

dynatrace.MetricEvents

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

    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 string
    The unique name of the resource.
    args MetricEventsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args MetricEventsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MetricEventsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
    });
    
    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"),
    })
    
    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());
    
    metric_events_resource = dynatrace.MetricEvents("metricEventsResource",
        enabled=False,
        event_template=dynatrace.MetricEventsEventTemplateArgs(
            description="string",
            event_type="string",
            title="string",
            davis_merge=False,
            metadatas=[dynatrace.MetricEventsEventTemplateMetadataArgs(
                metadata_key="string",
                metadata_value="string",
            )],
        ),
        model_properties=dynatrace.MetricEventsModelPropertiesArgs(
            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=dynatrace.MetricEventsQueryDefinitionArgs(
            type="string",
            aggregation="string",
            dimension_filter=dynatrace.MetricEventsQueryDefinitionDimensionFilterArgs(
                filters=[dynatrace.MetricEventsQueryDefinitionDimensionFilterFilterArgs(
                    dimension_key="string",
                    dimension_value="string",
                    operator="string",
                )],
            ),
            entity_filter=dynatrace.MetricEventsQueryDefinitionEntityFilterArgs(
                conditions=dynatrace.MetricEventsQueryDefinitionEntityFilterConditionsArgs(
                    conditions=[dynatrace.MetricEventsQueryDefinitionEntityFilterConditionsConditionArgs(
                        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")
    
    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",
    });
    
    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
    

    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

    The MetricEvents resource accepts the following input properties:

    Enabled bool
    This setting is enabled (true) or disabled (false)
    EventTemplate Pulumiverse.Dynatrace.Inputs.MetricEventsEventTemplate
    Event template
    ModelProperties Pulumiverse.Dynatrace.Inputs.MetricEventsModelProperties
    Monitoring strategy
    QueryDefinition Pulumiverse.Dynatrace.Inputs.MetricEventsQueryDefinition
    Query definition
    Summary 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 bool
    This setting is enabled (true) or disabled (false)
    EventTemplate MetricEventsEventTemplateArgs
    Event template
    ModelProperties MetricEventsModelPropertiesArgs
    Monitoring strategy
    QueryDefinition MetricEventsQueryDefinitionArgs
    Query definition
    Summary 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 Boolean
    This setting is enabled (true) or disabled (false)
    eventTemplate MetricEventsEventTemplate
    Event template
    modelProperties MetricEventsModelProperties
    Monitoring strategy
    queryDefinition MetricEventsQueryDefinition
    Query definition
    summary 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 boolean
    This setting is enabled (true) or disabled (false)
    eventTemplate MetricEventsEventTemplate
    Event template
    modelProperties MetricEventsModelProperties
    Monitoring strategy
    queryDefinition MetricEventsQueryDefinition
    Query definition
    summary 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 bool
    This setting is enabled (true) or disabled (false)
    event_template MetricEventsEventTemplateArgs
    Event template
    model_properties MetricEventsModelPropertiesArgs
    Monitoring strategy
    query_definition MetricEventsQueryDefinitionArgs
    Query definition
    summary 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 Boolean
    This setting is enabled (true) or disabled (false)
    eventTemplate Property Map
    Event template
    modelProperties Property Map
    Monitoring strategy
    queryDefinition Property Map
    Query definition
    summary 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)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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 string
    The description of the event to trigger.
    EventType string
    Possible Values: AVAILABILITY, CUSTOM_ALERT, CUSTOM_ANNOTATION, CUSTOM_CONFIGURATION, CUSTOM_DEPLOYMENT, ERROR, INFO, MARKED_FOR_TERMINATION, RESOURCE, SLOWDOWN
    Title 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 string
    The description of the event to trigger.
    EventType string
    Possible Values: AVAILABILITY, CUSTOM_ALERT, CUSTOM_ANNOTATION, CUSTOM_CONFIGURATION, CUSTOM_DEPLOYMENT, ERROR, INFO, MARKED_FOR_TERMINATION, RESOURCE, SLOWDOWN
    Title 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 String
    The description of the event to trigger.
    eventType String
    Possible Values: AVAILABILITY, CUSTOM_ALERT, CUSTOM_ANNOTATION, CUSTOM_CONFIGURATION, CUSTOM_DEPLOYMENT, ERROR, INFO, MARKED_FOR_TERMINATION, RESOURCE, SLOWDOWN
    title 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 string
    The description of the event to trigger.
    eventType string
    Possible Values: AVAILABILITY, CUSTOM_ALERT, CUSTOM_ANNOTATION, CUSTOM_CONFIGURATION, CUSTOM_DEPLOYMENT, ERROR, INFO, MARKED_FOR_TERMINATION, RESOURCE, SLOWDOWN
    title 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 str
    The description of the event to trigger.
    event_type str
    Possible Values: AVAILABILITY, CUSTOM_ALERT, CUSTOM_ANNOTATION, CUSTOM_CONFIGURATION, CUSTOM_DEPLOYMENT, ERROR, INFO, MARKED_FOR_TERMINATION, RESOURCE, SLOWDOWN
    title 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 String
    The description of the event to trigger.
    eventType String
    Possible Values: AVAILABILITY, CUSTOM_ALERT, CUSTOM_ANNOTATION, CUSTOM_CONFIGURATION, CUSTOM_DEPLOYMENT, ERROR, INFO, MARKED_FOR_TERMINATION, RESOURCE, SLOWDOWN
    title 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 string
    Type 'dt.' for key hints.
    MetadataValue string
    no documentation available
    MetadataKey string
    Type 'dt.' for key hints.
    MetadataValue string
    no documentation available
    metadataKey String
    Type 'dt.' for key hints.
    metadataValue String
    no documentation available
    metadataKey string
    Type 'dt.' for key hints.
    metadataValue string
    no documentation available
    metadata_key str
    Type 'dt.' for key hints.
    metadata_value str
    no documentation available
    metadataKey String
    Type 'dt.' for key hints.
    metadataValue String
    no documentation available

    MetricEventsModelProperties, MetricEventsModelPropertiesArgs

    AlertCondition string
    Possible Values: ABOVE, BELOW, OUTSIDE
    AlertOnNoData 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 int
    The number of one-minute samples within the evaluation window that must go back to normal to close the event.
    Samples int
    The number of one-minute samples that form the sliding evaluation window.
    Type string
    Possible Values: AUTO_ADAPTIVE_THRESHOLD, SEASONAL_BASELINE, STATIC_THRESHOLD
    ViolatingSamples 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 string
    Possible Values: ABOVE, BELOW, OUTSIDE
    AlertOnNoData 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 int
    The number of one-minute samples within the evaluation window that must go back to normal to close the event.
    Samples int
    The number of one-minute samples that form the sliding evaluation window.
    Type string
    Possible Values: AUTO_ADAPTIVE_THRESHOLD, SEASONAL_BASELINE, STATIC_THRESHOLD
    ViolatingSamples 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 String
    Possible Values: ABOVE, BELOW, OUTSIDE
    alertOnNoData 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 Integer
    The number of one-minute samples within the evaluation window that must go back to normal to close the event.
    samples Integer
    The number of one-minute samples that form the sliding evaluation window.
    type String
    Possible Values: AUTO_ADAPTIVE_THRESHOLD, SEASONAL_BASELINE, STATIC_THRESHOLD
    violatingSamples 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 string
    Possible Values: ABOVE, BELOW, OUTSIDE
    alertOnNoData 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 number
    The number of one-minute samples within the evaluation window that must go back to normal to close the event.
    samples number
    The number of one-minute samples that form the sliding evaluation window.
    type string
    Possible Values: AUTO_ADAPTIVE_THRESHOLD, SEASONAL_BASELINE, STATIC_THRESHOLD
    violatingSamples 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 str
    Possible Values: ABOVE, BELOW, OUTSIDE
    alert_on_no_data 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 int
    The number of one-minute samples within the evaluation window that must go back to normal to close the event.
    samples int
    The number of one-minute samples that form the sliding evaluation window.
    type str
    Possible Values: AUTO_ADAPTIVE_THRESHOLD, SEASONAL_BASELINE, STATIC_THRESHOLD
    violating_samples 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 String
    Possible Values: ABOVE, BELOW, OUTSIDE
    alertOnNoData 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 Number
    The number of one-minute samples within the evaluation window that must go back to normal to close the event.
    samples Number
    The number of one-minute samples that form the sliding evaluation window.
    type String
    Possible Values: AUTO_ADAPTIVE_THRESHOLD, SEASONAL_BASELINE, STATIC_THRESHOLD
    violatingSamples 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 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 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 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 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 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 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

    MetricEventsQueryDefinitionDimensionFilterFilter, MetricEventsQueryDefinitionDimensionFilterFilterArgs

    DimensionKey string
    Dimension key
    DimensionValue 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 string
    Dimension key
    DimensionValue 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 String
    Dimension key
    dimensionValue 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 string
    Dimension key
    dimensionValue 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 str
    Dimension key
    dimension_value 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 String
    Dimension key
    dimensionValue 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

    MetricEventsQueryDefinitionEntityFilterConditionsCondition, MetricEventsQueryDefinitionEntityFilterConditionsConditionArgs

    Operator 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 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 string
    no documentation available
    Operator 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 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 string
    no documentation available
    operator 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 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 String
    no documentation available
    operator 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 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 string
    no documentation available
    operator 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 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 str
    no documentation available
    operator 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 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 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.
    dynatrace logo
    Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse