import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class UserActionMetrics extends pulumi.CustomResource { /** * Get an existing UserActionMetrics resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: UserActionMetricsState, opts?: pulumi.CustomResourceOptions): UserActionMetrics; /** * Returns true if the given object is an instance of UserActionMetrics. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is UserActionMetrics; /** * Defines the fields that are used as dimensions. A dimension is a collection of reference information about a metric data point that is of interest to your business. Dimensions are parameters like "application", "type", "apdexCategory". For example, using "type" as a dimension allows you to split chart data based on the user action type. */ readonly dimensions: pulumi.Output; /** * This setting is enabled (`true`) or disabled (`false`) */ readonly enabled: pulumi.Output; /** * Defines the filters for the user action. Filters apply at the moment of extracting the data and only sessions that satisfy the filtering criteria will be used to extract the custom metrics. You will not be able to modify these filters in the metric data explorer. For example, using "type equals Xhr" will give you only data from xhr actions, while forcing the rest of user actions of different types to be ignored. */ readonly filters: pulumi.Output; /** * Metric key */ readonly metricKey: pulumi.Output; /** * Defines the type of value to be extracted from the user action. When using **user action counter**, the number of user actions is counted (similar to count(*) when using USQL). When using **user action field value**, the value of a user action field is extracted. */ readonly value: pulumi.Output; /** * Create a UserActionMetrics resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: UserActionMetricsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering UserActionMetrics resources. */ export interface UserActionMetricsState { /** * Defines the fields that are used as dimensions. A dimension is a collection of reference information about a metric data point that is of interest to your business. Dimensions are parameters like "application", "type", "apdexCategory". For example, using "type" as a dimension allows you to split chart data based on the user action type. */ dimensions?: pulumi.Input[]>; /** * This setting is enabled (`true`) or disabled (`false`) */ enabled?: pulumi.Input; /** * Defines the filters for the user action. Filters apply at the moment of extracting the data and only sessions that satisfy the filtering criteria will be used to extract the custom metrics. You will not be able to modify these filters in the metric data explorer. For example, using "type equals Xhr" will give you only data from xhr actions, while forcing the rest of user actions of different types to be ignored. */ filters?: pulumi.Input; /** * Metric key */ metricKey?: pulumi.Input; /** * Defines the type of value to be extracted from the user action. When using **user action counter**, the number of user actions is counted (similar to count(*) when using USQL). When using **user action field value**, the value of a user action field is extracted. */ value?: pulumi.Input; } /** * The set of arguments for constructing a UserActionMetrics resource. */ export interface UserActionMetricsArgs { /** * Defines the fields that are used as dimensions. A dimension is a collection of reference information about a metric data point that is of interest to your business. Dimensions are parameters like "application", "type", "apdexCategory". For example, using "type" as a dimension allows you to split chart data based on the user action type. */ dimensions?: pulumi.Input[]>; /** * This setting is enabled (`true`) or disabled (`false`) */ enabled: pulumi.Input; /** * Defines the filters for the user action. Filters apply at the moment of extracting the data and only sessions that satisfy the filtering criteria will be used to extract the custom metrics. You will not be able to modify these filters in the metric data explorer. For example, using "type equals Xhr" will give you only data from xhr actions, while forcing the rest of user actions of different types to be ignored. */ filters?: pulumi.Input; /** * Metric key */ metricKey: pulumi.Input; /** * Defines the type of value to be extracted from the user action. When using **user action counter**, the number of user actions is counted (similar to count(*) when using USQL). When using **user action field value**, the value of a user action field is extracted. */ value: pulumi.Input; }