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

dynatrace.ServiceFailure

Explore with Pulumi AI

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

    Create ServiceFailure Resource

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

    Constructor syntax

    new ServiceFailure(name: string, args: ServiceFailureArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceFailure(resource_name: str,
                       args: ServiceFailureArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceFailure(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       enabled: Optional[bool] = None,
                       service_id: Optional[str] = None,
                       exception_rules: Optional[ServiceFailureExceptionRulesArgs] = None)
    func NewServiceFailure(ctx *Context, name string, args ServiceFailureArgs, opts ...ResourceOption) (*ServiceFailure, error)
    public ServiceFailure(string name, ServiceFailureArgs args, CustomResourceOptions? opts = null)
    public ServiceFailure(String name, ServiceFailureArgs args)
    public ServiceFailure(String name, ServiceFailureArgs args, CustomResourceOptions options)
    
    type: dynatrace:ServiceFailure
    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 ServiceFailureArgs
    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 ServiceFailureArgs
    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 ServiceFailureArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceFailureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceFailureArgs
    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 serviceFailureResource = new Dynatrace.ServiceFailure("serviceFailureResource", new()
    {
        Enabled = false,
        ServiceId = "string",
        ExceptionRules = new Dynatrace.Inputs.ServiceFailureExceptionRulesArgs
        {
            IgnoreAllExceptions = false,
            IgnoreSpanFailureDetection = false,
            CustomErrorRules = new Dynatrace.Inputs.ServiceFailureExceptionRulesCustomErrorRulesArgs
            {
                CustomErrorRules = new[]
                {
                    new Dynatrace.Inputs.ServiceFailureExceptionRulesCustomErrorRulesCustomErrorRuleArgs
                    {
                        Condition = new Dynatrace.Inputs.ServiceFailureExceptionRulesCustomErrorRulesCustomErrorRuleConditionArgs
                        {
                            CompareOperationType = "string",
                            CaseSensitive = false,
                            DoubleValue = 0,
                            IntValue = 0,
                            TextValue = "string",
                        },
                        RequestAttribute = "string",
                    },
                },
            },
            CustomHandledExceptions = new Dynatrace.Inputs.ServiceFailureExceptionRulesCustomHandledExceptionsArgs
            {
                CustomHandledExceptions = new[]
                {
                    new Dynatrace.Inputs.ServiceFailureExceptionRulesCustomHandledExceptionsCustomHandledExceptionArgs
                    {
                        ClassPattern = "string",
                        MessagePattern = "string",
                    },
                },
            },
            IgnoredExceptions = new Dynatrace.Inputs.ServiceFailureExceptionRulesIgnoredExceptionsArgs
            {
                CustomHandledExceptions = new[]
                {
                    new Dynatrace.Inputs.ServiceFailureExceptionRulesIgnoredExceptionsCustomHandledExceptionArgs
                    {
                        ClassPattern = "string",
                        MessagePattern = "string",
                    },
                },
            },
            SuccessForcingExceptions = new Dynatrace.Inputs.ServiceFailureExceptionRulesSuccessForcingExceptionsArgs
            {
                CustomHandledExceptions = new[]
                {
                    new Dynatrace.Inputs.ServiceFailureExceptionRulesSuccessForcingExceptionsCustomHandledExceptionArgs
                    {
                        ClassPattern = "string",
                        MessagePattern = "string",
                    },
                },
            },
        },
    });
    
    example, err := dynatrace.NewServiceFailure(ctx, "serviceFailureResource", &dynatrace.ServiceFailureArgs{
    	Enabled:   pulumi.Bool(false),
    	ServiceId: pulumi.String("string"),
    	ExceptionRules: &dynatrace.ServiceFailureExceptionRulesArgs{
    		IgnoreAllExceptions:        pulumi.Bool(false),
    		IgnoreSpanFailureDetection: pulumi.Bool(false),
    		CustomErrorRules: &dynatrace.ServiceFailureExceptionRulesCustomErrorRulesArgs{
    			CustomErrorRules: dynatrace.ServiceFailureExceptionRulesCustomErrorRulesCustomErrorRuleArray{
    				&dynatrace.ServiceFailureExceptionRulesCustomErrorRulesCustomErrorRuleArgs{
    					Condition: &dynatrace.ServiceFailureExceptionRulesCustomErrorRulesCustomErrorRuleConditionArgs{
    						CompareOperationType: pulumi.String("string"),
    						CaseSensitive:        pulumi.Bool(false),
    						DoubleValue:          pulumi.Float64(0),
    						IntValue:             pulumi.Int(0),
    						TextValue:            pulumi.String("string"),
    					},
    					RequestAttribute: pulumi.String("string"),
    				},
    			},
    		},
    		CustomHandledExceptions: &dynatrace.ServiceFailureExceptionRulesCustomHandledExceptionsArgs{
    			CustomHandledExceptions: dynatrace.ServiceFailureExceptionRulesCustomHandledExceptionsCustomHandledExceptionArray{
    				&dynatrace.ServiceFailureExceptionRulesCustomHandledExceptionsCustomHandledExceptionArgs{
    					ClassPattern:   pulumi.String("string"),
    					MessagePattern: pulumi.String("string"),
    				},
    			},
    		},
    		IgnoredExceptions: &dynatrace.ServiceFailureExceptionRulesIgnoredExceptionsArgs{
    			CustomHandledExceptions: dynatrace.ServiceFailureExceptionRulesIgnoredExceptionsCustomHandledExceptionArray{
    				&dynatrace.ServiceFailureExceptionRulesIgnoredExceptionsCustomHandledExceptionArgs{
    					ClassPattern:   pulumi.String("string"),
    					MessagePattern: pulumi.String("string"),
    				},
    			},
    		},
    		SuccessForcingExceptions: &dynatrace.ServiceFailureExceptionRulesSuccessForcingExceptionsArgs{
    			CustomHandledExceptions: dynatrace.ServiceFailureExceptionRulesSuccessForcingExceptionsCustomHandledExceptionArray{
    				&dynatrace.ServiceFailureExceptionRulesSuccessForcingExceptionsCustomHandledExceptionArgs{
    					ClassPattern:   pulumi.String("string"),
    					MessagePattern: pulumi.String("string"),
    				},
    			},
    		},
    	},
    })
    
    var serviceFailureResource = new ServiceFailure("serviceFailureResource", ServiceFailureArgs.builder()        
        .enabled(false)
        .serviceId("string")
        .exceptionRules(ServiceFailureExceptionRulesArgs.builder()
            .ignoreAllExceptions(false)
            .ignoreSpanFailureDetection(false)
            .customErrorRules(ServiceFailureExceptionRulesCustomErrorRulesArgs.builder()
                .customErrorRules(ServiceFailureExceptionRulesCustomErrorRulesCustomErrorRuleArgs.builder()
                    .condition(ServiceFailureExceptionRulesCustomErrorRulesCustomErrorRuleConditionArgs.builder()
                        .compareOperationType("string")
                        .caseSensitive(false)
                        .doubleValue(0)
                        .intValue(0)
                        .textValue("string")
                        .build())
                    .requestAttribute("string")
                    .build())
                .build())
            .customHandledExceptions(ServiceFailureExceptionRulesCustomHandledExceptionsArgs.builder()
                .customHandledExceptions(ServiceFailureExceptionRulesCustomHandledExceptionsCustomHandledExceptionArgs.builder()
                    .classPattern("string")
                    .messagePattern("string")
                    .build())
                .build())
            .ignoredExceptions(ServiceFailureExceptionRulesIgnoredExceptionsArgs.builder()
                .customHandledExceptions(ServiceFailureExceptionRulesIgnoredExceptionsCustomHandledExceptionArgs.builder()
                    .classPattern("string")
                    .messagePattern("string")
                    .build())
                .build())
            .successForcingExceptions(ServiceFailureExceptionRulesSuccessForcingExceptionsArgs.builder()
                .customHandledExceptions(ServiceFailureExceptionRulesSuccessForcingExceptionsCustomHandledExceptionArgs.builder()
                    .classPattern("string")
                    .messagePattern("string")
                    .build())
                .build())
            .build())
        .build());
    
    service_failure_resource = dynatrace.ServiceFailure("serviceFailureResource",
        enabled=False,
        service_id="string",
        exception_rules=dynatrace.ServiceFailureExceptionRulesArgs(
            ignore_all_exceptions=False,
            ignore_span_failure_detection=False,
            custom_error_rules=dynatrace.ServiceFailureExceptionRulesCustomErrorRulesArgs(
                custom_error_rules=[dynatrace.ServiceFailureExceptionRulesCustomErrorRulesCustomErrorRuleArgs(
                    condition=dynatrace.ServiceFailureExceptionRulesCustomErrorRulesCustomErrorRuleConditionArgs(
                        compare_operation_type="string",
                        case_sensitive=False,
                        double_value=0,
                        int_value=0,
                        text_value="string",
                    ),
                    request_attribute="string",
                )],
            ),
            custom_handled_exceptions=dynatrace.ServiceFailureExceptionRulesCustomHandledExceptionsArgs(
                custom_handled_exceptions=[dynatrace.ServiceFailureExceptionRulesCustomHandledExceptionsCustomHandledExceptionArgs(
                    class_pattern="string",
                    message_pattern="string",
                )],
            ),
            ignored_exceptions=dynatrace.ServiceFailureExceptionRulesIgnoredExceptionsArgs(
                custom_handled_exceptions=[dynatrace.ServiceFailureExceptionRulesIgnoredExceptionsCustomHandledExceptionArgs(
                    class_pattern="string",
                    message_pattern="string",
                )],
            ),
            success_forcing_exceptions=dynatrace.ServiceFailureExceptionRulesSuccessForcingExceptionsArgs(
                custom_handled_exceptions=[dynatrace.ServiceFailureExceptionRulesSuccessForcingExceptionsCustomHandledExceptionArgs(
                    class_pattern="string",
                    message_pattern="string",
                )],
            ),
        ))
    
    const serviceFailureResource = new dynatrace.ServiceFailure("serviceFailureResource", {
        enabled: false,
        serviceId: "string",
        exceptionRules: {
            ignoreAllExceptions: false,
            ignoreSpanFailureDetection: false,
            customErrorRules: {
                customErrorRules: [{
                    condition: {
                        compareOperationType: "string",
                        caseSensitive: false,
                        doubleValue: 0,
                        intValue: 0,
                        textValue: "string",
                    },
                    requestAttribute: "string",
                }],
            },
            customHandledExceptions: {
                customHandledExceptions: [{
                    classPattern: "string",
                    messagePattern: "string",
                }],
            },
            ignoredExceptions: {
                customHandledExceptions: [{
                    classPattern: "string",
                    messagePattern: "string",
                }],
            },
            successForcingExceptions: {
                customHandledExceptions: [{
                    classPattern: "string",
                    messagePattern: "string",
                }],
            },
        },
    });
    
    type: dynatrace:ServiceFailure
    properties:
        enabled: false
        exceptionRules:
            customErrorRules:
                customErrorRules:
                    - condition:
                        caseSensitive: false
                        compareOperationType: string
                        doubleValue: 0
                        intValue: 0
                        textValue: string
                      requestAttribute: string
            customHandledExceptions:
                customHandledExceptions:
                    - classPattern: string
                      messagePattern: string
            ignoreAllExceptions: false
            ignoreSpanFailureDetection: false
            ignoredExceptions:
                customHandledExceptions:
                    - classPattern: string
                      messagePattern: string
            successForcingExceptions:
                customHandledExceptions:
                    - classPattern: string
                      messagePattern: string
        serviceId: string
    

    ServiceFailure 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 ServiceFailure resource accepts the following input properties:

    Enabled bool
    This setting is enabled (true) or disabled (false)
    ServiceId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    ExceptionRules Lbrlabs.PulumiPackage.Dynatrace.Inputs.ServiceFailureExceptionRules
    Customize failure detection for specific exceptions and errors
    Enabled bool
    This setting is enabled (true) or disabled (false)
    ServiceId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    ExceptionRules ServiceFailureExceptionRulesArgs
    Customize failure detection for specific exceptions and errors
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    serviceId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    exceptionRules ServiceFailureExceptionRules
    Customize failure detection for specific exceptions and errors
    enabled boolean
    This setting is enabled (true) or disabled (false)
    serviceId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    exceptionRules ServiceFailureExceptionRules
    Customize failure detection for specific exceptions and errors
    enabled bool
    This setting is enabled (true) or disabled (false)
    service_id str
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    exception_rules ServiceFailureExceptionRulesArgs
    Customize failure detection for specific exceptions and errors
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    serviceId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    exceptionRules Property Map
    Customize failure detection for specific exceptions and errors

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ServiceFailure 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 ServiceFailure Resource

    Get an existing ServiceFailure 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?: ServiceFailureState, opts?: CustomResourceOptions): ServiceFailure
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            enabled: Optional[bool] = None,
            exception_rules: Optional[ServiceFailureExceptionRulesArgs] = None,
            service_id: Optional[str] = None) -> ServiceFailure
    func GetServiceFailure(ctx *Context, name string, id IDInput, state *ServiceFailureState, opts ...ResourceOption) (*ServiceFailure, error)
    public static ServiceFailure Get(string name, Input<string> id, ServiceFailureState? state, CustomResourceOptions? opts = null)
    public static ServiceFailure get(String name, Output<String> id, ServiceFailureState 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)
    ExceptionRules Lbrlabs.PulumiPackage.Dynatrace.Inputs.ServiceFailureExceptionRules
    Customize failure detection for specific exceptions and errors
    ServiceId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    ExceptionRules ServiceFailureExceptionRulesArgs
    Customize failure detection for specific exceptions and errors
    ServiceId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    exceptionRules ServiceFailureExceptionRules
    Customize failure detection for specific exceptions and errors
    serviceId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enabled boolean
    This setting is enabled (true) or disabled (false)
    exceptionRules ServiceFailureExceptionRules
    Customize failure detection for specific exceptions and errors
    serviceId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enabled bool
    This setting is enabled (true) or disabled (false)
    exception_rules ServiceFailureExceptionRulesArgs
    Customize failure detection for specific exceptions and errors
    service_id str
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    exceptionRules Property Map
    Customize failure detection for specific exceptions and errors
    serviceId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.

    Supporting Types

    ServiceFailureExceptionRules, ServiceFailureExceptionRulesArgs

    IgnoreAllExceptions bool
    Ignore all exceptions
    IgnoreSpanFailureDetection bool
    Ignore span failure detection
    CustomErrorRules Lbrlabs.PulumiPackage.Dynatrace.Inputs.ServiceFailureExceptionRulesCustomErrorRules
    Some custom error situations are only detectable via a return value or other means. To support such cases, define a request attribute that captures the required data. Then define a custom error rule that determines if the request has failed based on the value of the request attribute.
    CustomHandledExceptions Lbrlabs.PulumiPackage.Dynatrace.Inputs.ServiceFailureExceptionRulesCustomHandledExceptions
    There may be situations where your application code handles exceptions gracefully in a manner that these failures aren't detected by Dynatrace. Use this setting to define specific gracefully-handled exceptions that should be treated as service failures.
    IgnoredExceptions Lbrlabs.PulumiPackage.Dynatrace.Inputs.ServiceFailureExceptionRulesIgnoredExceptions
    Some exceptions that are thrown by legacy or 3rd-party code indicate a specific response, not an error. Use this setting to instruct Dynatrace to treat such exceptions as non-failed requests.. If an exception matching any of the defined patterns occurs in a request, it will not be considered as a failure. Other exceptions occurring at the same request might still mark the request as failed.
    SuccessForcingExceptions Lbrlabs.PulumiPackage.Dynatrace.Inputs.ServiceFailureExceptionRulesSuccessForcingExceptions
    Define exceptions which indicate that a service call should not be considered as failed. E.g. an exception indicating that the client aborted the operation.. If an exception matching any of the defined patterns occurs on the entry node of the service, it will be considered successful. Compared to ignored exceptions, the request will be considered successful even if other exceptions occur in the same request.
    IgnoreAllExceptions bool
    Ignore all exceptions
    IgnoreSpanFailureDetection bool
    Ignore span failure detection
    CustomErrorRules ServiceFailureExceptionRulesCustomErrorRules
    Some custom error situations are only detectable via a return value or other means. To support such cases, define a request attribute that captures the required data. Then define a custom error rule that determines if the request has failed based on the value of the request attribute.
    CustomHandledExceptions ServiceFailureExceptionRulesCustomHandledExceptions
    There may be situations where your application code handles exceptions gracefully in a manner that these failures aren't detected by Dynatrace. Use this setting to define specific gracefully-handled exceptions that should be treated as service failures.
    IgnoredExceptions ServiceFailureExceptionRulesIgnoredExceptions
    Some exceptions that are thrown by legacy or 3rd-party code indicate a specific response, not an error. Use this setting to instruct Dynatrace to treat such exceptions as non-failed requests.. If an exception matching any of the defined patterns occurs in a request, it will not be considered as a failure. Other exceptions occurring at the same request might still mark the request as failed.
    SuccessForcingExceptions ServiceFailureExceptionRulesSuccessForcingExceptions
    Define exceptions which indicate that a service call should not be considered as failed. E.g. an exception indicating that the client aborted the operation.. If an exception matching any of the defined patterns occurs on the entry node of the service, it will be considered successful. Compared to ignored exceptions, the request will be considered successful even if other exceptions occur in the same request.
    ignoreAllExceptions Boolean
    Ignore all exceptions
    ignoreSpanFailureDetection Boolean
    Ignore span failure detection
    customErrorRules ServiceFailureExceptionRulesCustomErrorRules
    Some custom error situations are only detectable via a return value or other means. To support such cases, define a request attribute that captures the required data. Then define a custom error rule that determines if the request has failed based on the value of the request attribute.
    customHandledExceptions ServiceFailureExceptionRulesCustomHandledExceptions
    There may be situations where your application code handles exceptions gracefully in a manner that these failures aren't detected by Dynatrace. Use this setting to define specific gracefully-handled exceptions that should be treated as service failures.
    ignoredExceptions ServiceFailureExceptionRulesIgnoredExceptions
    Some exceptions that are thrown by legacy or 3rd-party code indicate a specific response, not an error. Use this setting to instruct Dynatrace to treat such exceptions as non-failed requests.. If an exception matching any of the defined patterns occurs in a request, it will not be considered as a failure. Other exceptions occurring at the same request might still mark the request as failed.
    successForcingExceptions ServiceFailureExceptionRulesSuccessForcingExceptions
    Define exceptions which indicate that a service call should not be considered as failed. E.g. an exception indicating that the client aborted the operation.. If an exception matching any of the defined patterns occurs on the entry node of the service, it will be considered successful. Compared to ignored exceptions, the request will be considered successful even if other exceptions occur in the same request.
    ignoreAllExceptions boolean
    Ignore all exceptions
    ignoreSpanFailureDetection boolean
    Ignore span failure detection
    customErrorRules ServiceFailureExceptionRulesCustomErrorRules
    Some custom error situations are only detectable via a return value or other means. To support such cases, define a request attribute that captures the required data. Then define a custom error rule that determines if the request has failed based on the value of the request attribute.
    customHandledExceptions ServiceFailureExceptionRulesCustomHandledExceptions
    There may be situations where your application code handles exceptions gracefully in a manner that these failures aren't detected by Dynatrace. Use this setting to define specific gracefully-handled exceptions that should be treated as service failures.
    ignoredExceptions ServiceFailureExceptionRulesIgnoredExceptions
    Some exceptions that are thrown by legacy or 3rd-party code indicate a specific response, not an error. Use this setting to instruct Dynatrace to treat such exceptions as non-failed requests.. If an exception matching any of the defined patterns occurs in a request, it will not be considered as a failure. Other exceptions occurring at the same request might still mark the request as failed.
    successForcingExceptions ServiceFailureExceptionRulesSuccessForcingExceptions
    Define exceptions which indicate that a service call should not be considered as failed. E.g. an exception indicating that the client aborted the operation.. If an exception matching any of the defined patterns occurs on the entry node of the service, it will be considered successful. Compared to ignored exceptions, the request will be considered successful even if other exceptions occur in the same request.
    ignore_all_exceptions bool
    Ignore all exceptions
    ignore_span_failure_detection bool
    Ignore span failure detection
    custom_error_rules ServiceFailureExceptionRulesCustomErrorRules
    Some custom error situations are only detectable via a return value or other means. To support such cases, define a request attribute that captures the required data. Then define a custom error rule that determines if the request has failed based on the value of the request attribute.
    custom_handled_exceptions ServiceFailureExceptionRulesCustomHandledExceptions
    There may be situations where your application code handles exceptions gracefully in a manner that these failures aren't detected by Dynatrace. Use this setting to define specific gracefully-handled exceptions that should be treated as service failures.
    ignored_exceptions ServiceFailureExceptionRulesIgnoredExceptions
    Some exceptions that are thrown by legacy or 3rd-party code indicate a specific response, not an error. Use this setting to instruct Dynatrace to treat such exceptions as non-failed requests.. If an exception matching any of the defined patterns occurs in a request, it will not be considered as a failure. Other exceptions occurring at the same request might still mark the request as failed.
    success_forcing_exceptions ServiceFailureExceptionRulesSuccessForcingExceptions
    Define exceptions which indicate that a service call should not be considered as failed. E.g. an exception indicating that the client aborted the operation.. If an exception matching any of the defined patterns occurs on the entry node of the service, it will be considered successful. Compared to ignored exceptions, the request will be considered successful even if other exceptions occur in the same request.
    ignoreAllExceptions Boolean
    Ignore all exceptions
    ignoreSpanFailureDetection Boolean
    Ignore span failure detection
    customErrorRules Property Map
    Some custom error situations are only detectable via a return value or other means. To support such cases, define a request attribute that captures the required data. Then define a custom error rule that determines if the request has failed based on the value of the request attribute.
    customHandledExceptions Property Map
    There may be situations where your application code handles exceptions gracefully in a manner that these failures aren't detected by Dynatrace. Use this setting to define specific gracefully-handled exceptions that should be treated as service failures.
    ignoredExceptions Property Map
    Some exceptions that are thrown by legacy or 3rd-party code indicate a specific response, not an error. Use this setting to instruct Dynatrace to treat such exceptions as non-failed requests.. If an exception matching any of the defined patterns occurs in a request, it will not be considered as a failure. Other exceptions occurring at the same request might still mark the request as failed.
    successForcingExceptions Property Map
    Define exceptions which indicate that a service call should not be considered as failed. E.g. an exception indicating that the client aborted the operation.. If an exception matching any of the defined patterns occurs on the entry node of the service, it will be considered successful. Compared to ignored exceptions, the request will be considered successful even if other exceptions occur in the same request.

    ServiceFailureExceptionRulesCustomErrorRules, ServiceFailureExceptionRulesCustomErrorRulesArgs

    ServiceFailureExceptionRulesCustomErrorRulesCustomErrorRule, ServiceFailureExceptionRulesCustomErrorRulesCustomErrorRuleArgs

    ServiceFailureExceptionRulesCustomErrorRulesCustomErrorRuleCondition, ServiceFailureExceptionRulesCustomErrorRulesCustomErrorRuleConditionArgs

    ServiceFailureExceptionRulesCustomHandledExceptions, ServiceFailureExceptionRulesCustomHandledExceptionsArgs

    ServiceFailureExceptionRulesCustomHandledExceptionsCustomHandledException, ServiceFailureExceptionRulesCustomHandledExceptionsCustomHandledExceptionArgs

    ServiceFailureExceptionRulesIgnoredExceptions, ServiceFailureExceptionRulesIgnoredExceptionsArgs

    ServiceFailureExceptionRulesIgnoredExceptionsCustomHandledException, ServiceFailureExceptionRulesIgnoredExceptionsCustomHandledExceptionArgs

    ServiceFailureExceptionRulesSuccessForcingExceptions, ServiceFailureExceptionRulesSuccessForcingExceptionsArgs

    ServiceFailureExceptionRulesSuccessForcingExceptionsCustomHandledException, ServiceFailureExceptionRulesSuccessForcingExceptionsCustomHandledExceptionArgs

    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