1. Packages
  2. Packages
  3. Dynatrace
  4. API Docs
  5. BrowserMonitorPerformance
Viewing docs for Dynatrace v0.36.0
published on Tuesday, Jun 9, 2026 by Pulumiverse
dynatrace logo
Viewing docs for Dynatrace v0.36.0
published on Tuesday, Jun 9, 2026 by Pulumiverse

    Configuration of the synthetic test scope overlaps with dynatrace_browser_monitor, but this resource in addition provides an option for an environment scope.

    This resource requires the API token scopes Read settings (settings.read) and Write settings (settings.write)

    Dynatrace Documentation

    • Performance thresholds - https://www.dynatrace.com/support/help/platform-modules/digital-experience/synthetic-monitoring/browser-monitors/configure-browser-monitors#performance-thresholds

    • Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: builtin:synthetic.browser.performance-thresholds)

    Export Example Usage

    • terraform-provider-dynatrace -export dynatrace.BrowserMonitorPerformance downloads all existing browser monitor performance thresholds configuration

    The full documentation of the export feature is available here.

    Resource Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as dynatrace from "@pulumiverse/dynatrace";
    
    const location = dynatrace.getSyntheticLocation({
        name: "Location",
    });
    const monitor = new dynatrace.BrowserMonitor("monitor", {
        name: "#name#",
        frequency: 15,
        locations: [location.then(location => location.id)],
        keyPerformanceMetrics: {
            loadActionKpm: "VISUALLY_COMPLETE",
            xhrActionKpm: "VISUALLY_COMPLETE",
        },
        anomalyDetection: {
            loadingTimeThresholds: [{
                enabled: true,
                thresholds: [{
                    thresholds: [{
                        eventIndex: 0,
                        requestIndex: 0,
                        type: "TOTAL",
                        valueMs: 10000,
                    }],
                }],
            }],
            outageHandlings: [{
                globalOutage: true,
                localOutage: false,
                retryOnError: true,
                globalOutagePolicies: [{
                    consecutiveRuns: 1,
                }],
            }],
        },
        script: {
            type: "clickpath",
            configuration: {
                bypassCsp: true,
                userAgent: "Mozilla",
                device: {
                    name: "Desktop",
                    orientation: "landscape",
                },
            },
            events: {
                events: [{
                    description: "my description",
                    navigate: {
                        url: "https://www.example.com",
                    },
                }],
            },
        },
    });
    const performance = new dynatrace.BrowserMonitorPerformance("performance", {
        enabled: true,
        scope: monitor.id,
        thresholds: {
            thresholds: [{
                event: monitor.id,
                threshold: 10,
            }],
        },
    });
    
    import pulumi
    import pulumi_dynatrace as dynatrace
    import pulumiverse_dynatrace as dynatrace
    
    location = dynatrace.get_synthetic_location(name="Location")
    monitor = dynatrace.BrowserMonitor("monitor",
        name="#name#",
        frequency=15,
        locations=[location.id],
        key_performance_metrics={
            "load_action_kpm": "VISUALLY_COMPLETE",
            "xhr_action_kpm": "VISUALLY_COMPLETE",
        },
        anomaly_detection={
            "loading_time_thresholds": [{
                "enabled": True,
                "thresholds": [{
                    "thresholds": [{
                        "event_index": 0,
                        "request_index": 0,
                        "type": "TOTAL",
                        "value_ms": 10000,
                    }],
                }],
            }],
            "outage_handlings": [{
                "global_outage": True,
                "local_outage": False,
                "retry_on_error": True,
                "global_outage_policies": [{
                    "consecutive_runs": 1,
                }],
            }],
        },
        script={
            "type": "clickpath",
            "configuration": {
                "bypass_csp": True,
                "user_agent": "Mozilla",
                "device": {
                    "name": "Desktop",
                    "orientation": "landscape",
                },
            },
            "events": {
                "events": [{
                    "description": "my description",
                    "navigate": {
                        "url": "https://www.example.com",
                    },
                }],
            },
        })
    performance = dynatrace.BrowserMonitorPerformance("performance",
        enabled=True,
        scope=monitor.id,
        thresholds={
            "thresholds": [{
                "event": monitor.id,
                "threshold": float(10),
            }],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		location, err := dynatrace.GetSyntheticLocation(ctx, &dynatrace.LookupSyntheticLocationArgs{
    			Name: pulumi.StringRef("Location"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		monitor, err := dynatrace.NewBrowserMonitor(ctx, "monitor", &dynatrace.BrowserMonitorArgs{
    			Name:      pulumi.String("#name#"),
    			Frequency: pulumi.Int(15),
    			Locations: pulumi.StringArray{
    				pulumi.String(pulumi.String(location.Id)),
    			},
    			KeyPerformanceMetrics: &dynatrace.BrowserMonitorKeyPerformanceMetricsArgs{
    				LoadActionKpm: pulumi.String("VISUALLY_COMPLETE"),
    				XhrActionKpm:  pulumi.String("VISUALLY_COMPLETE"),
    			},
    			AnomalyDetection: &dynatrace.BrowserMonitorAnomalyDetectionArgs{
    				LoadingTimeThresholds: dynatrace.BrowserMonitorAnomalyDetectionLoadingTimeThresholdArray{
    					&dynatrace.BrowserMonitorAnomalyDetectionLoadingTimeThresholdArgs{
    						Enabled: pulumi.Bool(true),
    						Thresholds: dynatrace.BrowserMonitorAnomalyDetectionLoadingTimeThresholdThresholdArray{
    							&dynatrace.BrowserMonitorAnomalyDetectionLoadingTimeThresholdThresholdArgs{
    								Thresholds: dynatrace.BrowserMonitorAnomalyDetectionLoadingTimeThresholdThresholdThresholdArray{
    									&dynatrace.BrowserMonitorAnomalyDetectionLoadingTimeThresholdThresholdThresholdArgs{
    										EventIndex:   pulumi.Int(0),
    										RequestIndex: pulumi.Int(0),
    										Type:         pulumi.String("TOTAL"),
    										ValueMs:      pulumi.Int(10000),
    									},
    								},
    							},
    						},
    					},
    				},
    				OutageHandlings: dynatrace.BrowserMonitorAnomalyDetectionOutageHandlingArray{
    					&dynatrace.BrowserMonitorAnomalyDetectionOutageHandlingArgs{
    						GlobalOutage: pulumi.Bool(true),
    						LocalOutage:  pulumi.Bool(false),
    						RetryOnError: pulumi.Bool(true),
    						GlobalOutagePolicies: dynatrace.BrowserMonitorAnomalyDetectionOutageHandlingGlobalOutagePolicyArray{
    							&dynatrace.BrowserMonitorAnomalyDetectionOutageHandlingGlobalOutagePolicyArgs{
    								ConsecutiveRuns: pulumi.Int(1),
    							},
    						},
    					},
    				},
    			},
    			Script: &dynatrace.BrowserMonitorScriptArgs{
    				Type: pulumi.String("clickpath"),
    				Configuration: &dynatrace.BrowserMonitorScriptConfigurationArgs{
    					BypassCsp: pulumi.Bool(true),
    					UserAgent: pulumi.String("Mozilla"),
    					Device: &dynatrace.BrowserMonitorScriptConfigurationDeviceArgs{
    						Name:        pulumi.String("Desktop"),
    						Orientation: pulumi.String("landscape"),
    					},
    				},
    				Events: &dynatrace.BrowserMonitorScriptEventsArgs{
    					Events: dynatrace.BrowserMonitorScriptEventsEventArray{
    						&dynatrace.BrowserMonitorScriptEventsEventArgs{
    							Description: pulumi.String("my description"),
    							Navigate: &dynatrace.BrowserMonitorScriptEventsEventNavigateArgs{
    								Url: pulumi.String("https://www.example.com"),
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = dynatrace.NewBrowserMonitorPerformance(ctx, "performance", &dynatrace.BrowserMonitorPerformanceArgs{
    			Enabled: pulumi.Bool(true),
    			Scope:   monitor.ID(),
    			Thresholds: &dynatrace.BrowserMonitorPerformanceThresholdsArgs{
    				Thresholds: dynatrace.BrowserMonitorPerformanceThresholdsThresholdArray{
    					&dynatrace.BrowserMonitorPerformanceThresholdsThresholdArgs{
    						Event:     monitor.ID(),
    						Threshold: pulumi.Float64(10),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Dynatrace = Pulumiverse.Dynatrace;
    
    return await Deployment.RunAsync(() => 
    {
        var location = Dynatrace.GetSyntheticLocation.Invoke(new()
        {
            Name = "Location",
        });
    
        var monitor = new Dynatrace.BrowserMonitor("monitor", new()
        {
            Name = "#name#",
            Frequency = 15,
            Locations = new[]
            {
                location.Apply(getSyntheticLocationResult => getSyntheticLocationResult.Id),
            },
            KeyPerformanceMetrics = new Dynatrace.Inputs.BrowserMonitorKeyPerformanceMetricsArgs
            {
                LoadActionKpm = "VISUALLY_COMPLETE",
                XhrActionKpm = "VISUALLY_COMPLETE",
            },
            AnomalyDetection = new Dynatrace.Inputs.BrowserMonitorAnomalyDetectionArgs
            {
                LoadingTimeThresholds = new[]
                {
                    new Dynatrace.Inputs.BrowserMonitorAnomalyDetectionLoadingTimeThresholdArgs
                    {
                        Enabled = true,
                        Thresholds = new[]
                        {
                            new Dynatrace.Inputs.BrowserMonitorAnomalyDetectionLoadingTimeThresholdThresholdArgs
                            {
                                Thresholds = new[]
                                {
                                    new Dynatrace.Inputs.BrowserMonitorAnomalyDetectionLoadingTimeThresholdThresholdThresholdArgs
                                    {
                                        EventIndex = 0,
                                        RequestIndex = 0,
                                        Type = "TOTAL",
                                        ValueMs = 10000,
                                    },
                                },
                            },
                        },
                    },
                },
                OutageHandlings = new[]
                {
                    new Dynatrace.Inputs.BrowserMonitorAnomalyDetectionOutageHandlingArgs
                    {
                        GlobalOutage = true,
                        LocalOutage = false,
                        RetryOnError = true,
                        GlobalOutagePolicies = new[]
                        {
                            new Dynatrace.Inputs.BrowserMonitorAnomalyDetectionOutageHandlingGlobalOutagePolicyArgs
                            {
                                ConsecutiveRuns = 1,
                            },
                        },
                    },
                },
            },
            Script = new Dynatrace.Inputs.BrowserMonitorScriptArgs
            {
                Type = "clickpath",
                Configuration = new Dynatrace.Inputs.BrowserMonitorScriptConfigurationArgs
                {
                    BypassCsp = true,
                    UserAgent = "Mozilla",
                    Device = new Dynatrace.Inputs.BrowserMonitorScriptConfigurationDeviceArgs
                    {
                        Name = "Desktop",
                        Orientation = "landscape",
                    },
                },
                Events = new Dynatrace.Inputs.BrowserMonitorScriptEventsArgs
                {
                    Events = new[]
                    {
                        new Dynatrace.Inputs.BrowserMonitorScriptEventsEventArgs
                        {
                            Description = "my description",
                            Navigate = new Dynatrace.Inputs.BrowserMonitorScriptEventsEventNavigateArgs
                            {
                                Url = "https://www.example.com",
                            },
                        },
                    },
                },
            },
        });
    
        var performance = new Dynatrace.BrowserMonitorPerformance("performance", new()
        {
            Enabled = true,
            Scope = monitor.Id,
            Thresholds = new Dynatrace.Inputs.BrowserMonitorPerformanceThresholdsArgs
            {
                Thresholds = new[]
                {
                    new Dynatrace.Inputs.BrowserMonitorPerformanceThresholdsThresholdArgs
                    {
                        Event = monitor.Id,
                        Threshold = 10,
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.dynatrace.DynatraceFunctions;
    import com.pulumi.dynatrace.inputs.GetSyntheticLocationArgs;
    import com.pulumi.dynatrace.BrowserMonitor;
    import com.pulumi.dynatrace.BrowserMonitorArgs;
    import com.pulumi.dynatrace.inputs.BrowserMonitorKeyPerformanceMetricsArgs;
    import com.pulumi.dynatrace.inputs.BrowserMonitorAnomalyDetectionArgs;
    import com.pulumi.dynatrace.inputs.BrowserMonitorScriptArgs;
    import com.pulumi.dynatrace.inputs.BrowserMonitorScriptConfigurationArgs;
    import com.pulumi.dynatrace.inputs.BrowserMonitorScriptConfigurationDeviceArgs;
    import com.pulumi.dynatrace.inputs.BrowserMonitorScriptEventsArgs;
    import com.pulumi.dynatrace.BrowserMonitorPerformance;
    import com.pulumi.dynatrace.BrowserMonitorPerformanceArgs;
    import com.pulumi.dynatrace.inputs.BrowserMonitorPerformanceThresholdsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var location = DynatraceFunctions.getSyntheticLocation(GetSyntheticLocationArgs.builder()
                .name("Location")
                .build());
    
            var monitor = new BrowserMonitor("monitor", BrowserMonitorArgs.builder()
                .name("#name#")
                .frequency(15)
                .locations(location.id())
                .keyPerformanceMetrics(BrowserMonitorKeyPerformanceMetricsArgs.builder()
                    .loadActionKpm("VISUALLY_COMPLETE")
                    .xhrActionKpm("VISUALLY_COMPLETE")
                    .build())
                .anomalyDetection(BrowserMonitorAnomalyDetectionArgs.builder()
                    .loadingTimeThresholds(BrowserMonitorAnomalyDetectionLoadingTimeThresholdArgs.builder()
                        .enabled(true)
                        .thresholds(BrowserMonitorAnomalyDetectionLoadingTimeThresholdThresholdArgs.builder()
                            .thresholds(BrowserMonitorAnomalyDetectionLoadingTimeThresholdThresholdThresholdArgs.builder()
                                .eventIndex(0)
                                .requestIndex(0)
                                .type("TOTAL")
                                .valueMs(10000)
                                .build())
                            .build())
                        .build())
                    .outageHandlings(BrowserMonitorAnomalyDetectionOutageHandlingArgs.builder()
                        .globalOutage(true)
                        .localOutage(false)
                        .retryOnError(true)
                        .globalOutagePolicies(BrowserMonitorAnomalyDetectionOutageHandlingGlobalOutagePolicyArgs.builder()
                            .consecutiveRuns(1)
                            .build())
                        .build())
                    .build())
                .script(BrowserMonitorScriptArgs.builder()
                    .type("clickpath")
                    .configuration(BrowserMonitorScriptConfigurationArgs.builder()
                        .bypassCsp(true)
                        .userAgent("Mozilla")
                        .device(BrowserMonitorScriptConfigurationDeviceArgs.builder()
                            .name("Desktop")
                            .orientation("landscape")
                            .build())
                        .build())
                    .events(BrowserMonitorScriptEventsArgs.builder()
                        .events(BrowserMonitorScriptEventsEventArgs.builder()
                            .description("my description")
                            .navigate(BrowserMonitorScriptEventsEventNavigateArgs.builder()
                                .url("https://www.example.com")
                                .build())
                            .build())
                        .build())
                    .build())
                .build());
    
            var performance = new BrowserMonitorPerformance("performance", BrowserMonitorPerformanceArgs.builder()
                .enabled(true)
                .scope(monitor.id())
                .thresholds(BrowserMonitorPerformanceThresholdsArgs.builder()
                    .thresholds(BrowserMonitorPerformanceThresholdsThresholdArgs.builder()
                        .event(monitor.id())
                        .threshold(10.0)
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      monitor:
        type: dynatrace:BrowserMonitor
        properties:
          name: '#name#'
          frequency: 15
          locations:
            - ${location.id}
          keyPerformanceMetrics:
            loadActionKpm: VISUALLY_COMPLETE
            xhrActionKpm: VISUALLY_COMPLETE
          anomalyDetection:
            loadingTimeThresholds:
              - enabled: true
                thresholds:
                  - thresholds:
                      - eventIndex: 0
                        requestIndex: 0
                        type: TOTAL
                        valueMs: 10000
            outageHandlings:
              - globalOutage: true
                localOutage: false
                retryOnError: true
                globalOutagePolicies:
                  - consecutiveRuns: 1
          script:
            type: clickpath
            configuration:
              bypassCsp: true
              userAgent: Mozilla
              device:
                name: Desktop
                orientation: landscape
            events:
              events:
                - description: my description
                  navigate:
                    url: https://www.example.com
      performance:
        type: dynatrace:BrowserMonitorPerformance
        properties:
          enabled: true
          scope: ${monitor.id}
          thresholds:
            thresholds:
              - event: ${monitor.id}
                threshold: 10
    variables:
      location:
        fn::invoke:
          function: dynatrace:getSyntheticLocation
          arguments:
            name: Location
    
    pulumi {
      required_providers {
        dynatrace = {
          source = "pulumi/dynatrace"
        }
      }
    }
    
    data "dynatrace_getsyntheticlocation" "location" {
      name = "Location"
    }
    
    resource "dynatrace_browsermonitor" "monitor" {
      name      = "#name#"
      frequency = 15
      locations = [data.dynatrace_getsyntheticlocation.location.id]
      key_performance_metrics = {
        load_action_kpm = "VISUALLY_COMPLETE"
        xhr_action_kpm  = "VISUALLY_COMPLETE"
      }
      anomaly_detection = {
        loading_time_thresholds = [{
          "enabled" = true
          "thresholds" = [{
            "thresholds" = [{
              "eventIndex"   = 0
              "requestIndex" = 0
              "type"         = "TOTAL"
              "valueMs"      = 10000
            }]
          }]
        }]
        outage_handlings = [{
          "globalOutage" = true
          "localOutage"  = false
          "retryOnError" = true
          "globalOutagePolicies" = [{
            "consecutiveRuns" = 1
          }]
        }]
      }
      script = {
        type = "clickpath"
        configuration = {
          bypass_csp = true
          user_agent = "Mozilla"
          device = {
            name        = "Desktop"
            orientation = "landscape"
          }
        }
        events = {
          events = [{
            "description" = "my description"
            "navigate" = {
              "url" = "https://www.example.com"
            }
          }]
        }
      }
    }
    resource "dynatrace_browsermonitorperformance" "performance" {
      enabled = true
      scope   = dynatrace_browsermonitor.monitor.id
      thresholds = {
        thresholds = [{
          "event"     = dynatrace_browsermonitor.monitor.id
          "threshold" = 10
        }]
      }
    }
    

    Create BrowserMonitorPerformance Resource

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

    Constructor syntax

    new BrowserMonitorPerformance(name: string, args: BrowserMonitorPerformanceArgs, opts?: CustomResourceOptions);
    @overload
    def BrowserMonitorPerformance(resource_name: str,
                                  args: BrowserMonitorPerformanceArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def BrowserMonitorPerformance(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  enabled: Optional[bool] = None,
                                  scope: Optional[str] = None,
                                  thresholds: Optional[BrowserMonitorPerformanceThresholdsArgs] = None)
    func NewBrowserMonitorPerformance(ctx *Context, name string, args BrowserMonitorPerformanceArgs, opts ...ResourceOption) (*BrowserMonitorPerformance, error)
    public BrowserMonitorPerformance(string name, BrowserMonitorPerformanceArgs args, CustomResourceOptions? opts = null)
    public BrowserMonitorPerformance(String name, BrowserMonitorPerformanceArgs args)
    public BrowserMonitorPerformance(String name, BrowserMonitorPerformanceArgs args, CustomResourceOptions options)
    
    type: dynatrace:BrowserMonitorPerformance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "dynatrace_browsermonitorperformance" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args BrowserMonitorPerformanceArgs
    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 BrowserMonitorPerformanceArgs
    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 BrowserMonitorPerformanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BrowserMonitorPerformanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BrowserMonitorPerformanceArgs
    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 browserMonitorPerformanceResource = new Dynatrace.BrowserMonitorPerformance("browserMonitorPerformanceResource", new()
    {
        Enabled = false,
        Scope = "string",
        Thresholds = new Dynatrace.Inputs.BrowserMonitorPerformanceThresholdsArgs
        {
            Thresholds = new[]
            {
                new Dynatrace.Inputs.BrowserMonitorPerformanceThresholdsThresholdArgs
                {
                    Event = "string",
                    Threshold = 0,
                    DealertingSamples = 0,
                    Samples = 0,
                    ViolatingSamples = 0,
                },
            },
        },
    });
    
    example, err := dynatrace.NewBrowserMonitorPerformance(ctx, "browserMonitorPerformanceResource", &dynatrace.BrowserMonitorPerformanceArgs{
    	Enabled: pulumi.Bool(false),
    	Scope:   pulumi.String("string"),
    	Thresholds: &dynatrace.BrowserMonitorPerformanceThresholdsArgs{
    		Thresholds: dynatrace.BrowserMonitorPerformanceThresholdsThresholdArray{
    			&dynatrace.BrowserMonitorPerformanceThresholdsThresholdArgs{
    				Event:             pulumi.String("string"),
    				Threshold:         pulumi.Float64(0),
    				DealertingSamples: pulumi.Int(0),
    				Samples:           pulumi.Int(0),
    				ViolatingSamples:  pulumi.Int(0),
    			},
    		},
    	},
    })
    
    resource "dynatrace_browsermonitorperformance" "browserMonitorPerformanceResource" {
      enabled = false
      scope   = "string"
      thresholds = {
        thresholds = [{
          "event"             = "string"
          "threshold"         = 0
          "dealertingSamples" = 0
          "samples"           = 0
          "violatingSamples"  = 0
        }]
      }
    }
    
    var browserMonitorPerformanceResource = new BrowserMonitorPerformance("browserMonitorPerformanceResource", BrowserMonitorPerformanceArgs.builder()
        .enabled(false)
        .scope("string")
        .thresholds(BrowserMonitorPerformanceThresholdsArgs.builder()
            .thresholds(BrowserMonitorPerformanceThresholdsThresholdArgs.builder()
                .event("string")
                .threshold(0.0)
                .dealertingSamples(0)
                .samples(0)
                .violatingSamples(0)
                .build())
            .build())
        .build());
    
    browser_monitor_performance_resource = dynatrace.BrowserMonitorPerformance("browserMonitorPerformanceResource",
        enabled=False,
        scope="string",
        thresholds={
            "thresholds": [{
                "event": "string",
                "threshold": float(0),
                "dealerting_samples": 0,
                "samples": 0,
                "violating_samples": 0,
            }],
        })
    
    const browserMonitorPerformanceResource = new dynatrace.BrowserMonitorPerformance("browserMonitorPerformanceResource", {
        enabled: false,
        scope: "string",
        thresholds: {
            thresholds: [{
                event: "string",
                threshold: 0,
                dealertingSamples: 0,
                samples: 0,
                violatingSamples: 0,
            }],
        },
    });
    
    type: dynatrace:BrowserMonitorPerformance
    properties:
        enabled: false
        scope: string
        thresholds:
            thresholds:
                - dealertingSamples: 0
                  event: string
                  samples: 0
                  threshold: 0
                  violatingSamples: 0
    

    BrowserMonitorPerformance Resource Properties

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

    Inputs

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

    The BrowserMonitorPerformance resource accepts the following input properties:

    Enabled bool
    This setting is enabled (true) or disabled (false)
    Scope string
    The scope of this setting (SYNTHETIC_TEST)
    Thresholds Pulumiverse.Dynatrace.Inputs.BrowserMonitorPerformanceThresholds
    Performance thresholds
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Scope string
    The scope of this setting (SYNTHETIC_TEST)
    Thresholds BrowserMonitorPerformanceThresholdsArgs
    Performance thresholds
    enabled bool
    This setting is enabled (true) or disabled (false)
    scope string
    The scope of this setting (SYNTHETIC_TEST)
    thresholds object
    Performance thresholds
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    scope String
    The scope of this setting (SYNTHETIC_TEST)
    thresholds BrowserMonitorPerformanceThresholds
    Performance thresholds
    enabled boolean
    This setting is enabled (true) or disabled (false)
    scope string
    The scope of this setting (SYNTHETIC_TEST)
    thresholds BrowserMonitorPerformanceThresholds
    Performance thresholds
    enabled bool
    This setting is enabled (true) or disabled (false)
    scope str
    The scope of this setting (SYNTHETIC_TEST)
    thresholds BrowserMonitorPerformanceThresholdsArgs
    Performance thresholds
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    scope String
    The scope of this setting (SYNTHETIC_TEST)
    thresholds Property Map
    Performance thresholds

    Outputs

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

    Get an existing BrowserMonitorPerformance 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?: BrowserMonitorPerformanceState, opts?: CustomResourceOptions): BrowserMonitorPerformance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            enabled: Optional[bool] = None,
            scope: Optional[str] = None,
            thresholds: Optional[BrowserMonitorPerformanceThresholdsArgs] = None) -> BrowserMonitorPerformance
    func GetBrowserMonitorPerformance(ctx *Context, name string, id IDInput, state *BrowserMonitorPerformanceState, opts ...ResourceOption) (*BrowserMonitorPerformance, error)
    public static BrowserMonitorPerformance Get(string name, Input<string> id, BrowserMonitorPerformanceState? state, CustomResourceOptions? opts = null)
    public static BrowserMonitorPerformance get(String name, Output<String> id, BrowserMonitorPerformanceState state, CustomResourceOptions options)
    resources:  _:    type: dynatrace:BrowserMonitorPerformance    get:      id: ${id}
    import {
      to = dynatrace_browsermonitorperformance.example
      id = "${id}"
    }
    
    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)
    Scope string
    The scope of this setting (SYNTHETIC_TEST)
    Thresholds Pulumiverse.Dynatrace.Inputs.BrowserMonitorPerformanceThresholds
    Performance thresholds
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Scope string
    The scope of this setting (SYNTHETIC_TEST)
    Thresholds BrowserMonitorPerformanceThresholdsArgs
    Performance thresholds
    enabled bool
    This setting is enabled (true) or disabled (false)
    scope string
    The scope of this setting (SYNTHETIC_TEST)
    thresholds object
    Performance thresholds
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    scope String
    The scope of this setting (SYNTHETIC_TEST)
    thresholds BrowserMonitorPerformanceThresholds
    Performance thresholds
    enabled boolean
    This setting is enabled (true) or disabled (false)
    scope string
    The scope of this setting (SYNTHETIC_TEST)
    thresholds BrowserMonitorPerformanceThresholds
    Performance thresholds
    enabled bool
    This setting is enabled (true) or disabled (false)
    scope str
    The scope of this setting (SYNTHETIC_TEST)
    thresholds BrowserMonitorPerformanceThresholdsArgs
    Performance thresholds
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    scope String
    The scope of this setting (SYNTHETIC_TEST)
    thresholds Property Map
    Performance thresholds

    Supporting Types

    BrowserMonitorPerformanceThresholds, BrowserMonitorPerformanceThresholdsArgs

    BrowserMonitorPerformanceThresholdsThreshold, BrowserMonitorPerformanceThresholdsThresholdArgs

    Event string
    Synthetic event
    Threshold double
    Threshold (in seconds)
    DealertingSamples int
    Number of most recent non-violating executions that closes the problem
    Samples int
    Number of executions in analyzed sliding window (sliding window size)
    ViolatingSamples int
    Number of violating executions in analyzed sliding window
    Event string
    Synthetic event
    Threshold float64
    Threshold (in seconds)
    DealertingSamples int
    Number of most recent non-violating executions that closes the problem
    Samples int
    Number of executions in analyzed sliding window (sliding window size)
    ViolatingSamples int
    Number of violating executions in analyzed sliding window
    event string
    Synthetic event
    threshold number
    Threshold (in seconds)
    dealerting_samples number
    Number of most recent non-violating executions that closes the problem
    samples number
    Number of executions in analyzed sliding window (sliding window size)
    violating_samples number
    Number of violating executions in analyzed sliding window
    event String
    Synthetic event
    threshold Double
    Threshold (in seconds)
    dealertingSamples Integer
    Number of most recent non-violating executions that closes the problem
    samples Integer
    Number of executions in analyzed sliding window (sliding window size)
    violatingSamples Integer
    Number of violating executions in analyzed sliding window
    event string
    Synthetic event
    threshold number
    Threshold (in seconds)
    dealertingSamples number
    Number of most recent non-violating executions that closes the problem
    samples number
    Number of executions in analyzed sliding window (sliding window size)
    violatingSamples number
    Number of violating executions in analyzed sliding window
    event str
    Synthetic event
    threshold float
    Threshold (in seconds)
    dealerting_samples int
    Number of most recent non-violating executions that closes the problem
    samples int
    Number of executions in analyzed sliding window (sliding window size)
    violating_samples int
    Number of violating executions in analyzed sliding window
    event String
    Synthetic event
    threshold Number
    Threshold (in seconds)
    dealertingSamples Number
    Number of most recent non-violating executions that closes the problem
    samples Number
    Number of executions in analyzed sliding window (sliding window size)
    violatingSamples Number
    Number of violating executions in analyzed sliding window

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Viewing docs for Dynatrace v0.36.0
    published on Tuesday, Jun 9, 2026 by Pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial