1. Packages
  2. Dynatrace
  3. API Docs
  4. MetricEvents
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

dynatrace.MetricEvents

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

    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,
                     event_template: Optional[MetricEventsEventTemplateArgs] = None,
                     model_properties: Optional[MetricEventsModelPropertiesArgs] = None,
                     query_definition: Optional[MetricEventsQueryDefinitionArgs] = None,
                     summary: Optional[str] = None,
                     enabled: Optional[bool] = 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.

    Example

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

    var metricEventsResource = new Dynatrace.MetricEvents("metricEventsResource", new()
    {
        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
        {
            MetricKey = "string",
            Type = "string",
            Aggregation = "string",
            DimensionFilter = new Dynatrace.Inputs.MetricEventsQueryDefinitionDimensionFilterArgs
            {
                Filters = new[]
                {
                    new Dynatrace.Inputs.MetricEventsQueryDefinitionDimensionFilterFilterArgs
                    {
                        DimensionKey = "string",
                        DimensionValue = "string",
                    },
                },
            },
            EntityFilter = new Dynatrace.Inputs.MetricEventsQueryDefinitionEntityFilterArgs
            {
                Conditions = new[]
                {
                    new Dynatrace.Inputs.MetricEventsQueryDefinitionEntityFilterConditionArgs
                    {
                        Conditions = new[]
                        {
                            new Dynatrace.Inputs.MetricEventsQueryDefinitionEntityFilterConditionConditionArgs
                            {
                                Operator = "string",
                                Type = "string",
                                Value = "string",
                            },
                        },
                    },
                },
                DimensionKey = "string",
            },
            MetricSelector = "string",
            QueryOffset = 0,
        },
        Summary = "string",
        Enabled = false,
        EventEntityDimensionKey = "string",
        LegacyId = "string",
    });
    
    example, err := dynatrace.NewMetricEvents(ctx, "metricEventsResource", &dynatrace.MetricEventsArgs{
    	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{
    		MetricKey:   pulumi.String("string"),
    		Type:        pulumi.String("string"),
    		Aggregation: pulumi.String("string"),
    		DimensionFilter: &dynatrace.MetricEventsQueryDefinitionDimensionFilterArgs{
    			Filters: dynatrace.MetricEventsQueryDefinitionDimensionFilterFilterArray{
    				&dynatrace.MetricEventsQueryDefinitionDimensionFilterFilterArgs{
    					DimensionKey:   pulumi.String("string"),
    					DimensionValue: pulumi.String("string"),
    				},
    			},
    		},
    		EntityFilter: &dynatrace.MetricEventsQueryDefinitionEntityFilterArgs{
    			Conditions: dynatrace.MetricEventsQueryDefinitionEntityFilterConditionArray{
    				&dynatrace.MetricEventsQueryDefinitionEntityFilterConditionArgs{
    					Conditions: dynatrace.MetricEventsQueryDefinitionEntityFilterConditionConditionArray{
    						&dynatrace.MetricEventsQueryDefinitionEntityFilterConditionConditionArgs{
    							Operator: pulumi.String("string"),
    							Type:     pulumi.String("string"),
    							Value:    pulumi.String("string"),
    						},
    					},
    				},
    			},
    			DimensionKey: pulumi.String("string"),
    		},
    		MetricSelector: pulumi.String("string"),
    		QueryOffset:    pulumi.Int(0),
    	},
    	Summary:                 pulumi.String("string"),
    	Enabled:                 pulumi.Bool(false),
    	EventEntityDimensionKey: pulumi.String("string"),
    	LegacyId:                pulumi.String("string"),
    })
    
    var metricEventsResource = new MetricEvents("metricEventsResource", MetricEventsArgs.builder()        
        .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()
            .metricKey("string")
            .type("string")
            .aggregation("string")
            .dimensionFilter(MetricEventsQueryDefinitionDimensionFilterArgs.builder()
                .filters(MetricEventsQueryDefinitionDimensionFilterFilterArgs.builder()
                    .dimensionKey("string")
                    .dimensionValue("string")
                    .build())
                .build())
            .entityFilter(MetricEventsQueryDefinitionEntityFilterArgs.builder()
                .conditions(MetricEventsQueryDefinitionEntityFilterConditionArgs.builder()
                    .conditions(MetricEventsQueryDefinitionEntityFilterConditionConditionArgs.builder()
                        .operator("string")
                        .type("string")
                        .value("string")
                        .build())
                    .build())
                .dimensionKey("string")
                .build())
            .metricSelector("string")
            .queryOffset(0)
            .build())
        .summary("string")
        .enabled(false)
        .eventEntityDimensionKey("string")
        .legacyId("string")
        .build());
    
    metric_events_resource = dynatrace.MetricEvents("metricEventsResource",
        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(
            metric_key="string",
            type="string",
            aggregation="string",
            dimension_filter=dynatrace.MetricEventsQueryDefinitionDimensionFilterArgs(
                filters=[dynatrace.MetricEventsQueryDefinitionDimensionFilterFilterArgs(
                    dimension_key="string",
                    dimension_value="string",
                )],
            ),
            entity_filter=dynatrace.MetricEventsQueryDefinitionEntityFilterArgs(
                conditions=[dynatrace.MetricEventsQueryDefinitionEntityFilterConditionArgs(
                    conditions=[dynatrace.MetricEventsQueryDefinitionEntityFilterConditionConditionArgs(
                        operator="string",
                        type="string",
                        value="string",
                    )],
                )],
                dimension_key="string",
            ),
            metric_selector="string",
            query_offset=0,
        ),
        summary="string",
        enabled=False,
        event_entity_dimension_key="string",
        legacy_id="string")
    
    const metricEventsResource = new dynatrace.MetricEvents("metricEventsResource", {
        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: {
            metricKey: "string",
            type: "string",
            aggregation: "string",
            dimensionFilter: {
                filters: [{
                    dimensionKey: "string",
                    dimensionValue: "string",
                }],
            },
            entityFilter: {
                conditions: [{
                    conditions: [{
                        operator: "string",
                        type: "string",
                        value: "string",
                    }],
                }],
                dimensionKey: "string",
            },
            metricSelector: "string",
            queryOffset: 0,
        },
        summary: "string",
        enabled: false,
        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
            entityFilter:
                conditions:
                    - conditions:
                        - operator: string
                          type: string
                          value: string
                dimensionKey: 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:

    EventTemplate Lbrlabs.PulumiPackage.Dynatrace.Inputs.MetricEventsEventTemplate
    The event template of the metric event entry
    ModelProperties Lbrlabs.PulumiPackage.Dynatrace.Inputs.MetricEventsModelProperties
    The model properties of the metric event entry
    QueryDefinition Lbrlabs.PulumiPackage.Dynatrace.Inputs.MetricEventsQueryDefinition
    The query definition of the metric event entry
    Summary string
    The textual summary of the metric event entry
    Enabled bool
    Enabled toggle of metric event entry
    EventEntityDimensionKey string
    Controls the preferred entity type used for triggered events.
    LegacyId string
    The legacy id of the metric event entry
    EventTemplate MetricEventsEventTemplateArgs
    The event template of the metric event entry
    ModelProperties MetricEventsModelPropertiesArgs
    The model properties of the metric event entry
    QueryDefinition MetricEventsQueryDefinitionArgs
    The query definition of the metric event entry
    Summary string
    The textual summary of the metric event entry
    Enabled bool
    Enabled toggle of metric event entry
    EventEntityDimensionKey string
    Controls the preferred entity type used for triggered events.
    LegacyId string
    The legacy id of the metric event entry
    eventTemplate MetricEventsEventTemplate
    The event template of the metric event entry
    modelProperties MetricEventsModelProperties
    The model properties of the metric event entry
    queryDefinition MetricEventsQueryDefinition
    The query definition of the metric event entry
    summary String
    The textual summary of the metric event entry
    enabled Boolean
    Enabled toggle of metric event entry
    eventEntityDimensionKey String
    Controls the preferred entity type used for triggered events.
    legacyId String
    The legacy id of the metric event entry
    eventTemplate MetricEventsEventTemplate
    The event template of the metric event entry
    modelProperties MetricEventsModelProperties
    The model properties of the metric event entry
    queryDefinition MetricEventsQueryDefinition
    The query definition of the metric event entry
    summary string
    The textual summary of the metric event entry
    enabled boolean
    Enabled toggle of metric event entry
    eventEntityDimensionKey string
    Controls the preferred entity type used for triggered events.
    legacyId string
    The legacy id of the metric event entry
    event_template MetricEventsEventTemplateArgs
    The event template of the metric event entry
    model_properties MetricEventsModelPropertiesArgs
    The model properties of the metric event entry
    query_definition MetricEventsQueryDefinitionArgs
    The query definition of the metric event entry
    summary str
    The textual summary of the metric event entry
    enabled bool
    Enabled toggle of metric event entry
    event_entity_dimension_key str
    Controls the preferred entity type used for triggered events.
    legacy_id str
    The legacy id of the metric event entry
    eventTemplate Property Map
    The event template of the metric event entry
    modelProperties Property Map
    The model properties of the metric event entry
    queryDefinition Property Map
    The query definition of the metric event entry
    summary String
    The textual summary of the metric event entry
    enabled Boolean
    Enabled toggle of metric event entry
    eventEntityDimensionKey String
    Controls the preferred entity type used for triggered events.
    legacyId String
    The legacy id of the metric event entry

    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
    Enabled toggle of metric event entry
    EventEntityDimensionKey string
    Controls the preferred entity type used for triggered events.
    EventTemplate Lbrlabs.PulumiPackage.Dynatrace.Inputs.MetricEventsEventTemplate
    The event template of the metric event entry
    LegacyId string
    The legacy id of the metric event entry
    ModelProperties Lbrlabs.PulumiPackage.Dynatrace.Inputs.MetricEventsModelProperties
    The model properties of the metric event entry
    QueryDefinition Lbrlabs.PulumiPackage.Dynatrace.Inputs.MetricEventsQueryDefinition
    The query definition of the metric event entry
    Summary string
    The textual summary of the metric event entry
    Enabled bool
    Enabled toggle of metric event entry
    EventEntityDimensionKey string
    Controls the preferred entity type used for triggered events.
    EventTemplate MetricEventsEventTemplateArgs
    The event template of the metric event entry
    LegacyId string
    The legacy id of the metric event entry
    ModelProperties MetricEventsModelPropertiesArgs
    The model properties of the metric event entry
    QueryDefinition MetricEventsQueryDefinitionArgs
    The query definition of the metric event entry
    Summary string
    The textual summary of the metric event entry
    enabled Boolean
    Enabled toggle of metric event entry
    eventEntityDimensionKey String
    Controls the preferred entity type used for triggered events.
    eventTemplate MetricEventsEventTemplate
    The event template of the metric event entry
    legacyId String
    The legacy id of the metric event entry
    modelProperties MetricEventsModelProperties
    The model properties of the metric event entry
    queryDefinition MetricEventsQueryDefinition
    The query definition of the metric event entry
    summary String
    The textual summary of the metric event entry
    enabled boolean
    Enabled toggle of metric event entry
    eventEntityDimensionKey string
    Controls the preferred entity type used for triggered events.
    eventTemplate MetricEventsEventTemplate
    The event template of the metric event entry
    legacyId string
    The legacy id of the metric event entry
    modelProperties MetricEventsModelProperties
    The model properties of the metric event entry
    queryDefinition MetricEventsQueryDefinition
    The query definition of the metric event entry
    summary string
    The textual summary of the metric event entry
    enabled bool
    Enabled toggle of metric event entry
    event_entity_dimension_key str
    Controls the preferred entity type used for triggered events.
    event_template MetricEventsEventTemplateArgs
    The event template of the metric event entry
    legacy_id str
    The legacy id of the metric event entry
    model_properties MetricEventsModelPropertiesArgs
    The model properties of the metric event entry
    query_definition MetricEventsQueryDefinitionArgs
    The query definition of the metric event entry
    summary str
    The textual summary of the metric event entry
    enabled Boolean
    Enabled toggle of metric event entry
    eventEntityDimensionKey String
    Controls the preferred entity type used for triggered events.
    eventTemplate Property Map
    The event template of the metric event entry
    legacyId String
    The legacy id of the metric event entry
    modelProperties Property Map
    The model properties of the metric event entry
    queryDefinition Property Map
    The query definition of the metric event entry
    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
    The event type to trigger.
    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<Lbrlabs.PulumiPackage.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
    The event type to trigger.
    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
    The event type to trigger.
    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
    The event type to trigger.
    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
    The event type to trigger.
    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
    The event type to trigger.
    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

    MetricEventsModelProperties, MetricEventsModelPropertiesArgs

    AlertCondition string
    The alert condition of the model properties
    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
    Metric-key-based query definitions only support static thresholds.
    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
    The alert condition of the model properties
    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
    Metric-key-based query definitions only support static thresholds.
    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
    The alert condition of the model properties
    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
    Metric-key-based query definitions only support static thresholds.
    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
    The alert condition of the model properties
    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
    Metric-key-based query definitions only support static thresholds.
    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
    The alert condition of the model properties
    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
    Metric-key-based query definitions only support static thresholds.
    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
    The alert condition of the model properties
    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
    Metric-key-based query definitions only support static thresholds.
    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

    MetricKey string
    The metric key of the query definition
    Type string
    The type of query definition
    Aggregation string
    The aggregation of the query definition
    DimensionFilter Lbrlabs.PulumiPackage.Dynatrace.Inputs.MetricEventsQueryDefinitionDimensionFilter
    The dimension filters of the query definition
    EntityFilter Lbrlabs.PulumiPackage.Dynatrace.Inputs.MetricEventsQueryDefinitionEntityFilter
    Use rule-based filters to define the scope this event monitors.
    MetricSelector string
    To learn more, visit Metric Selector
    QueryOffset int
    Minute offset of sliding evaluation window for metrics with latency
    MetricKey string
    The metric key of the query definition
    Type string
    The type of query definition
    Aggregation string
    The aggregation of the query definition
    DimensionFilter MetricEventsQueryDefinitionDimensionFilter
    The dimension filters of the query definition
    EntityFilter MetricEventsQueryDefinitionEntityFilter
    Use rule-based filters to define the scope this event monitors.
    MetricSelector string
    To learn more, visit Metric Selector
    QueryOffset int
    Minute offset of sliding evaluation window for metrics with latency
    metricKey String
    The metric key of the query definition
    type String
    The type of query definition
    aggregation String
    The aggregation of the query definition
    dimensionFilter MetricEventsQueryDefinitionDimensionFilter
    The dimension filters of the query definition
    entityFilter MetricEventsQueryDefinitionEntityFilter
    Use rule-based filters to define the scope this event monitors.
    metricSelector String
    To learn more, visit Metric Selector
    queryOffset Integer
    Minute offset of sliding evaluation window for metrics with latency
    metricKey string
    The metric key of the query definition
    type string
    The type of query definition
    aggregation string
    The aggregation of the query definition
    dimensionFilter MetricEventsQueryDefinitionDimensionFilter
    The dimension filters of the query definition
    entityFilter MetricEventsQueryDefinitionEntityFilter
    Use rule-based filters to define the scope this event monitors.
    metricSelector string
    To learn more, visit Metric Selector
    queryOffset number
    Minute offset of sliding evaluation window for metrics with latency
    metric_key str
    The metric key of the query definition
    type str
    The type of query definition
    aggregation str
    The aggregation of the query definition
    dimension_filter MetricEventsQueryDefinitionDimensionFilter
    The dimension filters of the query definition
    entity_filter MetricEventsQueryDefinitionEntityFilter
    Use rule-based filters to define the scope this event monitors.
    metric_selector str
    To learn more, visit Metric Selector
    query_offset int
    Minute offset of sliding evaluation window for metrics with latency
    metricKey String
    The metric key of the query definition
    type String
    The type of query definition
    aggregation String
    The aggregation of the query definition
    dimensionFilter Property Map
    The dimension filters of the query definition
    entityFilter Property Map
    Use rule-based filters to define the scope this event monitors.
    metricSelector String
    To learn more, visit Metric Selector
    queryOffset Number
    Minute offset of sliding evaluation window for metrics with latency

    MetricEventsQueryDefinitionDimensionFilter, MetricEventsQueryDefinitionDimensionFilterArgs

    MetricEventsQueryDefinitionDimensionFilterFilter, MetricEventsQueryDefinitionDimensionFilterFilterArgs

    MetricEventsQueryDefinitionEntityFilter, MetricEventsQueryDefinitionEntityFilterArgs

    MetricEventsQueryDefinitionEntityFilterCondition, MetricEventsQueryDefinitionEntityFilterConditionArgs

    MetricEventsQueryDefinitionEntityFilterConditionCondition, MetricEventsQueryDefinitionEntityFilterConditionConditionArgs

    Operator string
    Type string
    Value string
    Operator string
    Type string
    Value string
    operator String
    type String
    value String
    operator string
    type string
    value string
    operator str
    type str
    value str
    operator String
    type String
    value String

    Package Details

    Repository
    dynatrace lbrlabs/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs