published on Tuesday, Jun 9, 2026 by Pulumiverse
published on Tuesday, Jun 9, 2026 by Pulumiverse
This resource requires the API token scopes Read settings (
settings.read) and Write settings (settings.write)
Dynatrace Documentation
User experience score - https://www.dynatrace.com/support/help/platform-modules/digital-experience/basic-concepts/ratings/user-experience-score#calculate-the-user-experience-score
Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId:
builtin:usability-analytics)
Export Example Usage
terraform-provider-dynatrace -export dynatrace.UsabilityAnalyticsdownloads the existing settings for Usability Analytics
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 test = new dynatrace.UsabilityAnalytics("test", {detectRageClicks: true});
const forApp = new dynatrace.UsabilityAnalytics("for_app", {
applicationId: "APPLICATION-EA7C4B59F27D43EB",
detectRageClicks: false,
});
import pulumi
import pulumiverse_dynatrace as dynatrace
test = dynatrace.UsabilityAnalytics("test", detect_rage_clicks=True)
for_app = dynatrace.UsabilityAnalytics("for_app",
application_id="APPLICATION-EA7C4B59F27D43EB",
detect_rage_clicks=False)
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 {
_, err := dynatrace.NewUsabilityAnalytics(ctx, "test", &dynatrace.UsabilityAnalyticsArgs{
DetectRageClicks: pulumi.Bool(true),
})
if err != nil {
return err
}
_, err = dynatrace.NewUsabilityAnalytics(ctx, "for_app", &dynatrace.UsabilityAnalyticsArgs{
ApplicationId: pulumi.String("APPLICATION-EA7C4B59F27D43EB"),
DetectRageClicks: pulumi.Bool(false),
})
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 test = new Dynatrace.UsabilityAnalytics("test", new()
{
DetectRageClicks = true,
});
var forApp = new Dynatrace.UsabilityAnalytics("for_app", new()
{
ApplicationId = "APPLICATION-EA7C4B59F27D43EB",
DetectRageClicks = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dynatrace.UsabilityAnalytics;
import com.pulumi.dynatrace.UsabilityAnalyticsArgs;
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) {
var test = new UsabilityAnalytics("test", UsabilityAnalyticsArgs.builder()
.detectRageClicks(true)
.build());
var forApp = new UsabilityAnalytics("forApp", UsabilityAnalyticsArgs.builder()
.applicationId("APPLICATION-EA7C4B59F27D43EB")
.detectRageClicks(false)
.build());
}
}
resources:
test:
type: dynatrace:UsabilityAnalytics
properties:
detectRageClicks: true
forApp:
type: dynatrace:UsabilityAnalytics
name: for_app
properties:
applicationId: APPLICATION-EA7C4B59F27D43EB
detectRageClicks: false
pulumi {
required_providers {
dynatrace = {
source = "pulumi/dynatrace"
}
}
}
resource "dynatrace_usabilityanalytics" "test" {
detect_rage_clicks = true
}
resource "dynatrace_usabilityanalytics" "for_app" {
application_id = "APPLICATION-EA7C4B59F27D43EB"
detect_rage_clicks = false
}
Create UsabilityAnalytics Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new UsabilityAnalytics(name: string, args: UsabilityAnalyticsArgs, opts?: CustomResourceOptions);@overload
def UsabilityAnalytics(resource_name: str,
args: UsabilityAnalyticsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def UsabilityAnalytics(resource_name: str,
opts: Optional[ResourceOptions] = None,
detect_rage_clicks: Optional[bool] = None,
application_id: Optional[str] = None)func NewUsabilityAnalytics(ctx *Context, name string, args UsabilityAnalyticsArgs, opts ...ResourceOption) (*UsabilityAnalytics, error)public UsabilityAnalytics(string name, UsabilityAnalyticsArgs args, CustomResourceOptions? opts = null)
public UsabilityAnalytics(String name, UsabilityAnalyticsArgs args)
public UsabilityAnalytics(String name, UsabilityAnalyticsArgs args, CustomResourceOptions options)
type: dynatrace:UsabilityAnalytics
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "dynatrace_usabilityanalytics" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args UsabilityAnalyticsArgs
- 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 UsabilityAnalyticsArgs
- 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 UsabilityAnalyticsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UsabilityAnalyticsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UsabilityAnalyticsArgs
- 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 usabilityAnalyticsResource = new Dynatrace.UsabilityAnalytics("usabilityAnalyticsResource", new()
{
DetectRageClicks = false,
ApplicationId = "string",
});
example, err := dynatrace.NewUsabilityAnalytics(ctx, "usabilityAnalyticsResource", &dynatrace.UsabilityAnalyticsArgs{
DetectRageClicks: pulumi.Bool(false),
ApplicationId: pulumi.String("string"),
})
resource "dynatrace_usabilityanalytics" "usabilityAnalyticsResource" {
detect_rage_clicks = false
application_id = "string"
}
var usabilityAnalyticsResource = new UsabilityAnalytics("usabilityAnalyticsResource", UsabilityAnalyticsArgs.builder()
.detectRageClicks(false)
.applicationId("string")
.build());
usability_analytics_resource = dynatrace.UsabilityAnalytics("usabilityAnalyticsResource",
detect_rage_clicks=False,
application_id="string")
const usabilityAnalyticsResource = new dynatrace.UsabilityAnalytics("usabilityAnalyticsResource", {
detectRageClicks: false,
applicationId: "string",
});
type: dynatrace:UsabilityAnalytics
properties:
applicationId: string
detectRageClicks: false
UsabilityAnalytics 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 UsabilityAnalytics resource accepts the following input properties:
- Detect
Rage boolClicks - Three or more rapid clicks within the same area of a web page are considered to be rage clicks. Rage clicks commonly reflect slow-loading or failed page resources. Rage click counts are compiled for each session and considered in the User Experience Score . With this setting enabled, a rage click count is compiled for each monitored user session.
- Application
Id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- Detect
Rage boolClicks - Three or more rapid clicks within the same area of a web page are considered to be rage clicks. Rage clicks commonly reflect slow-loading or failed page resources. Rage click counts are compiled for each session and considered in the User Experience Score . With this setting enabled, a rage click count is compiled for each monitored user session.
- Application
Id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- detect_
rage_ boolclicks - Three or more rapid clicks within the same area of a web page are considered to be rage clicks. Rage clicks commonly reflect slow-loading or failed page resources. Rage click counts are compiled for each session and considered in the User Experience Score . With this setting enabled, a rage click count is compiled for each monitored user session.
- application_
id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- detect
Rage BooleanClicks - Three or more rapid clicks within the same area of a web page are considered to be rage clicks. Rage clicks commonly reflect slow-loading or failed page resources. Rage click counts are compiled for each session and considered in the User Experience Score . With this setting enabled, a rage click count is compiled for each monitored user session.
- application
Id String - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- detect
Rage booleanClicks - Three or more rapid clicks within the same area of a web page are considered to be rage clicks. Rage clicks commonly reflect slow-loading or failed page resources. Rage click counts are compiled for each session and considered in the User Experience Score . With this setting enabled, a rage click count is compiled for each monitored user session.
- application
Id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- detect_
rage_ boolclicks - Three or more rapid clicks within the same area of a web page are considered to be rage clicks. Rage clicks commonly reflect slow-loading or failed page resources. Rage click counts are compiled for each session and considered in the User Experience Score . With this setting enabled, a rage click count is compiled for each monitored user session.
- application_
id str - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- detect
Rage BooleanClicks - Three or more rapid clicks within the same area of a web page are considered to be rage clicks. Rage clicks commonly reflect slow-loading or failed page resources. Rage click counts are compiled for each session and considered in the User Experience Score . With this setting enabled, a rage click count is compiled for each monitored user session.
- application
Id String - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
Outputs
All input properties are implicitly available as output properties. Additionally, the UsabilityAnalytics 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 UsabilityAnalytics Resource
Get an existing UsabilityAnalytics 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?: UsabilityAnalyticsState, opts?: CustomResourceOptions): UsabilityAnalytics@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
application_id: Optional[str] = None,
detect_rage_clicks: Optional[bool] = None) -> UsabilityAnalyticsfunc GetUsabilityAnalytics(ctx *Context, name string, id IDInput, state *UsabilityAnalyticsState, opts ...ResourceOption) (*UsabilityAnalytics, error)public static UsabilityAnalytics Get(string name, Input<string> id, UsabilityAnalyticsState? state, CustomResourceOptions? opts = null)public static UsabilityAnalytics get(String name, Output<String> id, UsabilityAnalyticsState state, CustomResourceOptions options)resources: _: type: dynatrace:UsabilityAnalytics get: id: ${id}import {
to = dynatrace_usabilityanalytics.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.
- Application
Id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- Detect
Rage boolClicks - Three or more rapid clicks within the same area of a web page are considered to be rage clicks. Rage clicks commonly reflect slow-loading or failed page resources. Rage click counts are compiled for each session and considered in the User Experience Score . With this setting enabled, a rage click count is compiled for each monitored user session.
- Application
Id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- Detect
Rage boolClicks - Three or more rapid clicks within the same area of a web page are considered to be rage clicks. Rage clicks commonly reflect slow-loading or failed page resources. Rage click counts are compiled for each session and considered in the User Experience Score . With this setting enabled, a rage click count is compiled for each monitored user session.
- application_
id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- detect_
rage_ boolclicks - Three or more rapid clicks within the same area of a web page are considered to be rage clicks. Rage clicks commonly reflect slow-loading or failed page resources. Rage click counts are compiled for each session and considered in the User Experience Score . With this setting enabled, a rage click count is compiled for each monitored user session.
- application
Id String - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- detect
Rage BooleanClicks - Three or more rapid clicks within the same area of a web page are considered to be rage clicks. Rage clicks commonly reflect slow-loading or failed page resources. Rage click counts are compiled for each session and considered in the User Experience Score . With this setting enabled, a rage click count is compiled for each monitored user session.
- application
Id string - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- detect
Rage booleanClicks - Three or more rapid clicks within the same area of a web page are considered to be rage clicks. Rage clicks commonly reflect slow-loading or failed page resources. Rage click counts are compiled for each session and considered in the User Experience Score . With this setting enabled, a rage click count is compiled for each monitored user session.
- application_
id str - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- detect_
rage_ boolclicks - Three or more rapid clicks within the same area of a web page are considered to be rage clicks. Rage clicks commonly reflect slow-loading or failed page resources. Rage click counts are compiled for each session and considered in the User Experience Score . With this setting enabled, a rage click count is compiled for each monitored user session.
- application
Id String - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- detect
Rage BooleanClicks - Three or more rapid clicks within the same area of a web page are considered to be rage clicks. Rage clicks commonly reflect slow-loading or failed page resources. Rage click counts are compiled for each session and considered in the User Experience Score . With this setting enabled, a rage click count is compiled for each monitored user session.
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatraceTerraform Provider.
published on Tuesday, Jun 9, 2026 by Pulumiverse