Skip to content

Commit 4947c50

Browse files
authored
semantic tagging for ui strings - partners, pr gates, product analytics, profiler (#37712)
1 parent 9b559ff commit 4947c50

26 files changed

Lines changed: 148 additions & 148 deletions

content/en/partners/cloud_cost_management/aws.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ To create a billing conductor CUR, follow the [AWS Cost and Usage Reports user g
5151
Before starting, verify the following:
5252

5353
**MSP access**
54-
Access to the **management account** to configure Billing Conductor (Pricing Rules, Pricing Plans, Billing Groups).
54+
Access to the **management account** to configure Billing Conductor ({{< ui >}}Pricing Rules{{< /ui >}}, {{< ui >}}Pricing Plans{{< /ui >}}, {{< ui >}}Billing Groups{{< /ui >}}).
5555

5656
**Customer permissions**
5757
The customer must have permission to:
@@ -69,22 +69,22 @@ These steps **must be completed in the MSP’s management account**.
6969

7070
### Step 1 - Create a pricing rule
7171

72-
Billing Conductor computes pro forma costs by adjusting **AWS public on‑demand rates** using a **Discount** or **Markup**.
72+
Billing Conductor computes pro forma costs by adjusting **AWS public on‑demand rates** using a {{< ui >}}Discount{{< /ui >}} or {{< ui >}}Markup{{< /ui >}}.
7373

7474
You must explicitly choose between these options:
75-
- **Discount**: applies a percentage discount to public on-demand
76-
- **Markup**: applies a percentage increase to public on-demand
75+
- {{< ui >}}Discount{{< /ui >}}: applies a percentage discount to public on-demand
76+
- {{< ui >}}Markup{{< /ui >}}: applies a percentage increase to public on-demand
7777

7878
<div class="alert alert-info">
79-
Entering 0% (whether Discount or Markup) results in public on-demand pricing. The allowed range is 0-100%.
79+
Entering 0% (whether {{< ui >}}Discount{{< /ui >}} or {{< ui >}}Markup{{< /ui >}}) results in public on-demand pricing. The allowed range is 0-100%.
8080
</div>
8181

8282
For example:
8383

8484
| Type | Calculation |
8585
|------|-------------|
86-
| Discount (20%) | public on-demand × 0.8 |
87-
| Markup (30%) | public on-demand × 1.3 |
86+
| {{< ui >}}Discount{{< /ui >}} (20%) | public on-demand × 0.8 |
87+
| {{< ui >}}Markup{{< /ui >}} (30%) | public on-demand × 1.3 |
8888

8989
### Step 2 - Create a pricing plan
9090

@@ -119,35 +119,35 @@ Because of this limitation, the customer must modify the template before deploym
119119
### Step 2 - Deploy the CloudFormation stack in AWS
120120

121121
1. Use the template above and deploy a stack in the customer’s member account.
122-
2. To deploy the stack, follow the AWS documentation: [Create a stack from the CloudFormation][7]. When creating the stack, choose: **With new resources (standard)**.
122+
2. To deploy the stack, follow the AWS documentation: [Create a stack from the CloudFormation][7]. When creating the stack, choose: {{< ui >}}With new resources (standard){{< /ui >}}.
123123

124124
### Step 3 - Configure the Cost and Usage Report settings in AWS
125125

126126
Enter the following information during deployment:
127-
- **Bucket Name**: S3 bucket where CUR files are stored
128-
- **Bucket Region**: AWS region of that bucket (for example, `us-east-1`)
129-
- **Export Path Prefix**: S3 path prefix for CUR files
130-
- **Export Name**: Name of the Cost and Usage Report
127+
- {{< ui >}}Bucket Name{{< /ui >}}: S3 bucket where CUR files are stored
128+
- {{< ui >}}Bucket Region{{< /ui >}}: AWS region of that bucket (for example, `us-east-1`)
129+
- {{< ui >}}Export Path Prefix{{< /ui >}}: S3 path prefix for CUR files
130+
- {{< ui >}}Export Name{{< /ui >}}: Name of the Cost and Usage Report
131131

132132
These values define where AWS writes the CUR and where Datadog reads it.
133133

134134
### Step 4 - Enter the member account's CUR parameters in Datadog
135135

136-
1. After deploying the CloudFormation stack, navigate to **DatadogCloud CostSettings [Accounts][8]**.
136+
1. After deploying the CloudFormation stack, navigate to {{< ui >}}Datadog{{< /ui >}} → {{< ui >}}Cloud Cost{{< /ui >}} → {{< ui >}}Settings{{< /ui >}} [{{< ui >}}Accounts{{< /ui >}}][8].
137137

138138

139139
{{< img src="partners/cloud_cost/select_aws_account_ccm.png" alt="Select AWS Account for CCM" style="width:100%;" >}}
140140

141141
2. Select the member account and enter the following fields using the exact values from **Step 3**:
142-
- Bucket Name
143-
- Bucket Region
144-
- Export Path Prefix
145-
- Export Name
142+
- {{< ui >}}Bucket Name{{< /ui >}}
143+
- {{< ui >}}Bucket Region{{< /ui >}}
144+
- {{< ui >}}Export Path Prefix{{< /ui >}}
145+
- {{< ui >}}Export Name{{< /ui >}}
146146

147-
3. Skip the **Create CloudFormation stack step** (the stack was already deployed in **Step 3**).
147+
3. Skip the {{< ui >}}Create CloudFormation stack step{{< /ui >}} (the stack was already deployed in **Step 3**).
148148

149149

150-
4. Click **Activate now** to activate CCM for the member account.
150+
4. Click {{< ui >}}Activate now{{< /ui >}} to activate CCM for the member account.
151151

152152

153153
{{< img src="partners/cloud_cost/configure_aws_ccm.png" alt="Configure AWS Cloud Cost Management" style="width:100%;" >}}
@@ -159,8 +159,8 @@ After configuration is complete, the account status updates as shown below.
159159
## Validation
160160

161161
After activation, verify that cost data is flowing into Datadog:
162-
1. Go to **[Cloud Cost > Cost Explorer][9]** in Datadog.
163-
2. Select **AWS** as the provider, then use filters such as **Product**, **Member Accoun Id**, or other dimensions to group and validate the data.
162+
1. Go to [{{< ui >}}Cloud Cost{{< /ui >}} > {{< ui >}}Cost Explorer{{< /ui >}}][9] in Datadog.
163+
2. Select {{< ui >}}AWS{{< /ui >}} as the provider, then use filters such as {{< ui >}}Product{{< /ui >}}, {{< ui >}}Member Accoun Id{{< /ui >}}, or other dimensions to group and validate the data.
164164
3. Confirm that cost data appears for the expected time range.
165165

166166

content/en/partners/getting_started/laying-the-groundwork.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ As a result:
6262

6363
There are two options for this step:
6464

65-
- Use the UI: Click "New Organization" as described in [Managing Multiple Organization Accounts][1].
65+
- Use the UI: Click {{< ui >}}New Organization{{< /ui >}} as described in [Managing Multiple Organization Accounts][1].
6666
- Use the API: Use the [Create a child organization][18] endpoint.
6767

6868
### Retrieve the new client org's org ID
@@ -89,7 +89,7 @@ There are two options for this step:
8989

9090
### Register the new client details in the DPN portal
9191

92-
- Log in to the [DPN portal][16] and click `+Register Deal` on the Deal Dashboard.
92+
- Log in to the [DPN portal][16] and click {{< ui >}}+Register Deal{{< /ui >}} on the {{< ui >}}Deal Dashboard{{< /ui >}}.
9393

9494
- Enter the new client details including the new client organization's Org ID to register the new client org.
9595

content/en/partners/sales-enablement.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The Datadog Partner Network provides many resources for partners. This is a guid
66

77
## Datadog basics
88

9-
First, head over to the [Partner Portal][1]. Log in and click **Training**. Under Sales Certification, click **Get started today**.
9+
First, head over to the [Partner Portal][1]. Log in and click {{< ui >}}Training{{< /ui >}}. Under {{< ui >}}Sales Certification{{< /ui >}}, click {{< ui >}}Get started today{{< /ui >}}.
1010

1111
{{<img src="partners/portal_sales_go.png" alt="Partner Portal Sales Certification" style="max-width:734px">}}
1212

@@ -58,7 +58,7 @@ In order to complete your quote, you need pricing basics.
5858

5959
- [Datadog's pricing][3] describes how pricing works, including the units of measurement and the metering approach at Datadog.
6060
- [Customer plans][4] provides details about standard end-customer pricing options.
61-
- Finally, to understand discounts offered, check out the Partner Portal pricing tab:
61+
- Finally, to understand discounts offered, check out the Partner Portal {{< ui >}}pricing{{< /ui >}} tab:
6262

6363
{{<img src="partners/portal_pricing_go.png" alt="Partner Portal Pricing Info" style="max-width:734px">}}
6464

content/en/pr_gates/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ To create a PR Gate rule, see the [Setup documentation][7].
122122

123123
## Manage rules
124124

125-
You can manage and update PR Gates rules on the [**PR Gates Rules**][8] page. Improve your security and quality practices based on your project requirements and risk tolerances.
125+
You can manage and update PR Gates rules on the [{{< ui >}}PR Gates Rules{{< /ui >}}][8] page. Improve your security and quality practices based on your project requirements and risk tolerances.
126126

127127
You can see all of the rules defined by the organization.
128128

content/en/pr_gates/setup/_index.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ further_reading:
1111

1212
## Overview
1313

14-
To use Datadog PR Gates, you can define one or more rules on the [**PR Gate Rules**][1] page.
14+
To use Datadog PR Gates, you can define one or more rules on the [{{< ui >}}PR Gate Rules{{< /ui >}}][1] page.
1515

1616
{{< img src="pr_gates/rules_list_3.png" alt="PR Gates page in Datadog" style="width:100%" >}}
1717

@@ -21,34 +21,34 @@ PR Gates ensure that only the code changes that meet your security and quality s
2121

2222
To create a PR Gates rule in Datadog:
2323

24-
1. Navigate to [**Software Delivery** > **PR Gates** > **PR Gate Rules**][1] and click **New Rule**.
24+
1. Navigate to [{{< ui >}}Software Delivery{{< /ui >}} > {{< ui >}}PR Gates{{< /ui >}} > {{< ui >}}PR Gate Rules{{< /ui >}}][1] and click {{< ui >}}New Rule{{< /ui >}}.
2525

26-
1. Under **Select your source**, select a rule type:
27-
- Static Code Analysis (SAST)
28-
- Software Composition Analysis (SCA)
29-
- Code Coverage
30-
- Infrastructure as Code Scanning (IaC)
31-
- Secret Scanning
32-
- New Flaky Tests
26+
1. Under {{< ui >}}Select your source{{< /ui >}}, select a rule type:
27+
- {{< ui >}}Static Code Analysis (SAST){{< /ui >}}
28+
- {{< ui >}}Software Composition Analysis (SCA){{< /ui >}}
29+
- {{< ui >}}Code Coverage{{< /ui >}}
30+
- {{< ui >}}Infrastructure as Code Scanning (IaC){{< /ui >}}
31+
- {{< ui >}}Secret Scanning{{< /ui >}}
32+
- {{< ui >}}New Flaky Tests{{< /ui >}}
3333

34-
1. Under **Define condition**, set the conditions that will cause the rule to fail. Each rule type has its own condition options, and you can use the existing default condition settings when you select a rule type.
34+
1. Under {{< ui >}}Define condition{{< /ui >}}, set the conditions that will cause the rule to fail. Each rule type has its own condition options, and you can use the existing default condition settings when you select a rule type.
3535

36-
1. Under **Define scope**, set which repositories the rule should evaluate:
37-
- **All repositories**: The rule evaluates all repositories configured for the rule type.
38-
- **Selected repositories**: The rule evaluates only the repositories you specify. Use `IN` to include only specified repositories, or `NOT IN` to evaluate all configured repositories _except_ the ones you specify.
36+
1. Under {{< ui >}}Define scope{{< /ui >}}, set which repositories the rule should evaluate:
37+
- {{< ui >}}All repositories{{< /ui >}}: The rule evaluates all repositories configured for the rule type.
38+
- {{< ui >}}Selected repositories{{< /ui >}}: The rule evaluates only the repositories you specify. Use `IN` to include only specified repositories, or `NOT IN` to evaluate all configured repositories _except_ the ones you specify.
3939

4040
The following example illustrates a Static Code Analysis (SAST) rule that fails when a pull request introduces at least one Static Code Analysis code vulnerability violation with at least `Critical` severity. The rule evaluates all repositories configured for Static Code Analysis:
4141

4242
{{< img src="pr_gates/setup/static_analysis_4.png" alt="A Static Code Analysis rule that runs on all repos and fails when a PR has at least one Static Code Analysis code vulnerability with at least `Critical` severity" style="width:100%" >}}
4343

44-
1. Under **Preview checks**, select your source code management provider to preview the status check to be added to pull requests. To set the check so it blocks PRs when it fails, follow your provider's instructions for making a status check _required_:
44+
1. Under {{< ui >}}Preview checks{{< /ui >}}, select your source code management provider to preview the status check to be added to pull requests. To set the check so it blocks PRs when it fails, follow your provider's instructions for making a status check _required_:
4545

4646
- [GitHub][2]
4747
- [Azure DevOps][3]
4848

4949
Non-blocking rules can be helpful when you roll out a new rule and want to verify its behavior before making it blocking.
5050

51-
1. Click **Create Rule**.
51+
1. Click {{< ui >}}Create Rule{{< /ui >}}.
5252

5353
1. It is recommended that you test your PR Gate rule by creating a new branch and PR that purposely introduces code changes that would violate the rule's condition. Please note that PR Gates will not:
5454
- Retroactively block existing PRs unless new commits are pushed to them after the PR Gate rule has been created
@@ -69,7 +69,7 @@ To make these checks blocking, they must be set as required in the branch polici
6969

7070
## Manage rules
7171

72-
You can edit or delete a PR Gates rule by hovering over it on the [**PR Gates Rules**][1] list and clicking the **Edit** or **Delete** icon.
72+
You can edit or delete a PR Gates rule by hovering over it on the [{{< ui >}}PR Gates Rules{{< /ui >}}][1] list and clicking the {{< ui >}}Edit{{< /ui >}} or {{< ui >}}Delete{{< /ui >}} icon.
7373

7474
{{< img src="pr_gates/setup/delete_3.png" alt="Edit, clone, or delete a PR Gates rule" style="width:100%;">}}
7575

content/en/product_analytics/_index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ After you set up client-side collection, you can use the [Product Analytics API]
6666

6767
For each application you want to monitor user behavior for, enable Product Analytics:
6868

69-
1. In Datadog, go to **Digital Experience** > **Real User Monitoring** > [**Manage Applications**][9]. In the list of applications under **Active**, select the application you want to monitor.
70-
2. Under PRODUCT SETTINGS, click **Product Analytics**.
71-
3. Click the **Enable** button.
69+
1. In Datadog, go to {{< ui >}}Digital Experience{{< /ui >}} > {{< ui >}}Real User Monitoring{{< /ui >}} > [{{< ui >}}Manage Applications{{< /ui >}}][9]. In the list of applications under {{< ui >}}Active{{< /ui >}}, select the application you want to monitor.
70+
2. Under {{< ui >}}PRODUCT SETTINGS{{< /ui >}}, click {{< ui >}}Product Analytics{{< /ui >}}.
71+
3. Click the {{< ui >}}Enable{{< /ui >}} button.
7272

7373
{{< img src="product_analytics/enable-product-analytics.png" alt="Enable Product Analytics from the Application Management page.">}}
7474

@@ -82,10 +82,10 @@ The Datadog SDK automatically collects three levels of client-side user data: Se
8282
: A view represents each page or screen a user visits within a session.
8383

8484
**Actions**
85-
: An action is something a user does on a page, such as a click, tap, or scroll. Actions are automatically collected by the RUM SDK. When configuring features like [Funnels][4] and [Segments][6], you can select specific Actions as steps or filters. To see which Actions are available, open the [RUM Explorer][20] and filter by **Actions**.
85+
: An action is something a user does on a page, such as a click, tap, or scroll. Actions are automatically collected by the RUM SDK. When configuring features like [Funnels][4] and [Segments][6], you can select specific Actions as steps or filters. To see which Actions are available, open the [RUM Explorer][20] and filter by {{< ui >}}Actions{{< /ui >}}.
8686

8787
**Server-side events**
88-
: A server-side event is a custom event sent through the [Product Analytics API][21], such as a completed checkout or processed payment. In the event picker, select **Server Events** to scope your analysis to server-side data.
88+
: A server-side event is a custom event sent through the [Product Analytics API][21], such as a completed checkout or processed payment. In the event picker, select {{< ui >}}Server Events{{< /ui >}} to scope your analysis to server-side data.
8989

9090
## Navigate the Product Analytics UI
9191
Each Product Analytics feature provides context about your users' journeys.

content/en/product_analytics/action_management.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,21 @@ Visual labeling requires [the Datadog test recorder Chrome extension][1]. If you
2727

2828
1. Go to the [Actions][3] page in Datadog and select your application.
2929

30-
2. Select **Visual Labeler**.
30+
2. Select {{< ui >}}Visual Labeler{{< /ui >}}.
3131

32-
3. Use the **Navigate Site** mode to browse to the location of the actions you want to label.
32+
3. Use the {{< ui >}}Navigate Site{{< /ui >}} mode to browse to the location of the actions you want to label.
3333

34-
4. When you are ready to label an action, switch to **Label Actions** mode.
34+
4. When you are ready to label an action, switch to {{< ui >}}Label Actions{{< /ui >}} mode.
3535

3636
5. Click on the element you would like to add as an action.
3737

3838
{{< img src="product_analytics/action_management/pana-label-mode-2.png" alt="Click on and label your actions." style="width:90%;">}}
3939

40-
6. Select **New Labeled Action** and use the modal to define the scope of your label. Add a label name, description (optional), and tags (optional). You can specify a custom CSS selector for tracking clicks, or use the CSS builder to label events, for more control and granularity.
40+
6. Select {{< ui >}}New Labeled Action{{< /ui >}} and use the modal to define the scope of your label. Add a label name, description (optional), and tags (optional). You can specify a custom CSS selector for tracking clicks, or use the CSS builder to label events, for more control and granularity.
4141

4242
You can also hold the Shift key to select multiple actions on the page and label them under the same name. This functionality enables "OR" analysis.
4343

44-
7. Select **Save**.
44+
7. Select {{< ui >}}Save{{< /ui >}}.
4545

4646
After you define an action, it appears in the list of labeled actions on the [Actions][3] page, and you can use it in any Product Analytics chart.
4747

@@ -50,13 +50,13 @@ After you define an action, it appears in the list of labeled actions on the [Ac
5050
Manual labeling is available for both web and mobile applications and does not require the Chrome extension.
5151

5252
1. Go to the [Actions][3] page in Datadog and select your application.
53-
2. Select **Add Labeled Action**, then select **Create manually**.
53+
2. Select {{< ui >}}Add Labeled Action{{< /ui >}}, then select {{< ui >}}Create manually{{< /ui >}}.
5454
3. Add a label name, description (optional), and tags (optional).
55-
4. Under **Definition**, define one or more events to track:
56-
- **Action Type**: `click` or `custom` events. For `click` events, you can specify a custom CSS selector for tracking clicks, or use the CSS builder to label events, for more control and granularity.
57-
- **Action Name**: Use the drop-down to select an action
58-
- **Page Location**: Use the drop-down to target one or more pages
59-
Select **Add New Definition** to add a definition.
55+
4. Under {{< ui >}}Definition{{< /ui >}}, define one or more events to track:
56+
- {{< ui >}}Action Type{{< /ui >}}: `click` or `custom` events. For `click` events, you can specify a custom CSS selector for tracking clicks, or use the CSS builder to label events, for more control and granularity.
57+
- {{< ui >}}Action Name{{< /ui >}}: Use the drop-down to select an action
58+
- {{< ui >}}Page Location{{< /ui >}}: Use the drop-down to target one or more pages
59+
Select {{< ui >}}Add New Definition{{< /ui >}} to add a definition.
6060
5. Select **Save**.
6161

6262
After you define an action, it appears in the list of labeled actions on the [Actions][3] page, and you can use it in any Product Analytics chart.

content/en/product_analytics/charts/analytics_explorer/events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ The Product Analytics Explorer displays individual events in a side panel format
1616

1717
General context information is provided at the top. Scroll to the waterfall to see the content of the event.
1818

19-
Context about your users and their applications, including the OS, country, code version, and more, is captured when the event is generated. Context also refers to the event itself, which includes information specific to the event type. For example, the event side panel shows the view path while the **Errors** side panel shows the error message.
19+
Context about your users and their applications, including the OS, country, code version, and more, is captured when the event is generated. Context also refers to the event itself, which includes information specific to the event type. For example, the event side panel shows the view path while the {{< ui >}}Errors{{< /ui >}} side panel shows the error message.
2020

2121
## Event side panel
2222

23-
To open the event side panel in the [Analytics Explorer][1], click on a table row in the **List** visualization type. Alternatively, click in the side panel list displayed after you click on **Show related events**.
23+
To open the event side panel in the [Analytics Explorer][1], click on a table row in the {{< ui >}}List{{< /ui >}} visualization type. Alternatively, click in the side panel list displayed after you click on {{< ui >}}Show related events{{< /ui >}}.
2424

2525
The event side panel displays all the information relative to a Product Analytics event. The waterfall displays related views and actions.
2626

0 commit comments

Comments
 (0)