A human-readable display name for the RUM operation.
feature_ids
[string]
The list of feature IDs associated with the RUM operation.
journey_rum [required]
object
The definition of a RUM operation's journey, used to detect it from RUM events.
rum_steps [required]
[object]
The ordered list of steps composing the RUM journey.
composite
object
A composite rule combining several predicates. Used as an alternative to nodes on a journey
step when several conditions must be matched together, in any order or in a specific order.
composite_rule_id
string
The unique identifier of the composite rule. Generated by the server if omitted.
config_version
string
A hash of the composite rule's configuration, computed by the server.
kind [required]
enum
The rule used to combine the composite rule's predicates. all_of requires every predicate
to match, in any order. in_order requires every predicate to match in the given order.
Allowed enum values: all_of,in_order
max_window_ms
int64
The maximum time window, in milliseconds, in which all predicates must match.
predicates [required]
[object]
The list of predicates that must be matched by RUM events.
query [required]
string
The RUM search query used to match events for this predicate.
nodes
[object]
The list of nodes that can match this step. Mutually exclusive with composite.
id
string
The unique identifier of the node. Generated by the server if omitted.
query [required]
string
The RUM search query used to match events for this node.
type [required]
enum
The type of a step within a RUM operation's journey.
Allowed enum values: start,update,stop,error,abandoned
name [required]
string
The unique name of the RUM operation. Must not contain spaces.
org_id
int64
The ID of the organization the RUM operation belongs to.
tags [required]
[string]
A list of tags associated with the RUM operation.
updated_at
date-time
The timestamp when the RUM operation was last updated.
updated_by
object
A Datadog user referenced by a RUM operation.
email
string
The email of the user.
handle
string
The handle of the user.
name
string
The name of the user.
uuid
string
The UUID of the user.
id [required]
string
The unique identifier of the RUM operation.
type [required]
enum
The JSON:API type for RUM operation resources.
Allowed enum values: operations
"""
Get a RUM operation by name returns "OK" response
"""fromdatadog_api_clientimportApiClient,Configurationfromdatadog_api_client.v2.api.rum_operations_apiimportRUMOperationsApiconfiguration=Configuration()configuration.unstable_operations["get_rum_operation_by_name"]=TruewithApiClient(configuration)asapi_client:api_instance=RUMOperationsApi(api_client)response=api_instance.get_rum_operation_by_name(name="name",)print(response)
# Get a RUM operation by name returns "OK" responserequire"datadog_api_client"DatadogAPIClient.configuredo|config|config.unstable_operations["v2.get_rum_operation_by_name".to_sym]=trueendapi_instance=DatadogAPIClient::V2::RUMOperationsAPI.newpapi_instance.get_rum_operation_by_name("name")
// Get a RUM operation by name returns "OK" responsepackagemainimport("context""encoding/json""fmt""os""github.com/DataDog/datadog-api-client-go/v2/api/datadog""github.com/DataDog/datadog-api-client-go/v2/api/datadogV2")funcmain(){ctx:=datadog.NewDefaultContext(context.Background())configuration:=datadog.NewConfiguration()configuration.SetUnstableOperationEnabled("v2.GetRUMOperationByName",true)apiClient:=datadog.NewAPIClient(configuration)api:=datadogV2.NewRUMOperationsApi(apiClient)resp,r,err:=api.GetRUMOperationByName(ctx,"name")iferr!=nil{fmt.Fprintf(os.Stderr,"Error when calling `RUMOperationsApi.GetRUMOperationByName`: %v\n",err)fmt.Fprintf(os.Stderr,"Full HTTP response: %v\n",r)}responseContent,_:=json.MarshalIndent(resp,""," ")fmt.Fprintf(os.Stdout,"Response from `RUMOperationsApi.GetRUMOperationByName`:\n%s\n",responseContent)}
// Get a RUM operation by name returns "OK" responseimportcom.datadog.api.client.ApiClient;importcom.datadog.api.client.ApiException;importcom.datadog.api.client.v2.api.RumOperationsApi;importcom.datadog.api.client.v2.model.RUMOperationResponse;publicclassExample{publicstaticvoidmain(String[]args){ApiClientdefaultClient=ApiClient.getDefaultApiClient();defaultClient.setUnstableOperationEnabled("v2.getRUMOperationByName",true);RumOperationsApiapiInstance=newRumOperationsApi(defaultClient);try{RUMOperationResponseresult=apiInstance.getRUMOperationByName("name");System.out.println(result);}catch(ApiExceptione){System.err.println("Exception when calling RumOperationsApi#getRUMOperationByName");System.err.println("Status code: "+e.getCode());System.err.println("Reason: "+e.getResponseBody());System.err.println("Response headers: "+e.getResponseHeaders());e.printStackTrace();}}}
// Get a RUM operation by name returns "OK" response
usedatadog_api_client::datadog;usedatadog_api_client::datadogV2::api_rum_operations::RUMOperationsAPI;#[tokio::main]asyncfnmain(){letmutconfiguration=datadog::Configuration::new();configuration.set_unstable_operation_enabled("v2.GetRUMOperationByName",true);letapi=RUMOperationsAPI::with_config(configuration);letresp=api.get_rum_operation_by_name("name".to_string()).await;ifletOk(value)=resp{println!("{:#?}",value);}else{println!("{:#?}",resp.unwrap_err());}}
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_API_KEY="<API-KEY>"DD_APP_KEY="<APP-KEY>"cargo run
/**
* Get a RUM operation by name returns "OK" response
*/import{client,v2}from"@datadog/datadog-api-client";constconfiguration=client.createConfiguration();configuration.unstableOperations["v2.getRUMOperationByName"]=true;constapiInstance=newv2.RUMOperationsApi(configuration);constparams: v2.RUMOperationsApiGetRUMOperationByNameRequest={name:"name",};apiInstance.getRUMOperationByName(params).then((data: v2.RUMOperationResponse)=>{console.log("API called successfully. Returned data: "+JSON.stringify(data));}).catch((error: any)=>console.error(error));