Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .vscode/markdown.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -346,5 +346,11 @@
"prefix": ";;aliases",
"body": ["aliases:", " - ${1:/your/url/here}"],
"description": "YAML frontmatter for aliases with a single URL entry"
},
"UI element": {
"scope": "markdown",
"prefix": ";;ui",
"body": ["{{< ui >}}${1:UI element name}{{< /ui >}}"],
"description": "Wrap UI element names (buttons, menu items, field labels) in the ui shortcode"
}
}
12 changes: 6 additions & 6 deletions content/en/data_streams/business_transaction_tracking.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ Data Streams Monitoring (DSM) extracts transaction IDs from sync (like HTTP requ

## Create a transaction pipeline

1. Navigate to [<span class="ui">Data Streams Monitoring > Transactions</span>][1]. You must [complete the form][2] to access this page.
1. Select <span class="ui">Create Transaction Pipeline</span>.
1. Navigate to [{{< ui >}}Data Streams Monitoring > Transactions{{< /ui >}}][1]. You must [complete the form][2] to access this page.
1. Select {{< ui >}}Create Transaction Pipeline{{< /ui >}}.
1. In the modal, define:
- <span class="ui">Pipeline Name</span>: A name for your pipeline
- Steps to track transactios across services. For each step, select a <span class="ui">Service</span>, an <span class="ui">Environment</span>, and an <span class="ui">Extractor Type</span>. Define a <span class="ui">Header Name</span>.
- {{< ui >}}Pipeline Name{{< /ui >}}: A name for your pipeline
- Steps to track transactios across services. For each step, select a {{< ui >}}Service{{< /ui >}}, an {{< ui >}}Environment{{< /ui >}}, and an {{< ui >}}Extractor Type{{< /ui >}}. Define a {{< ui >}}Header Name{{< /ui >}}.
{{< img src="data_streams/btt-create-pipeline.png" alt="The Create Transaction Tracking Pipeline modal at step 1, Define. Fields include Pipeline Name and SLO Duration. Two steps are configured: a start step using the transaction-generator service with an HTTP Response Header extractor type, and an end step using the transaction-queuer service with an HTTP Request Header extractor type." style="width:100%;" >}}
1. Click <span class="ui">Save and Continue</span>.
1. Click {{< ui >}}Save and Continue{{< /ui >}}.
1. Verify your checkpoints. If any checkpoints require configuration, copy and paste the provided environment variables into your service deployment.
{{< img src="data_streams/btt-configure-verify.png" alt="The Configure and Verify Checkpoints modal at step 2. Two services are listed with Needs Configuration status: transaction-generator with a start checkpoint, and transaction-queuer with a queuer-in checkpoint. Each service displays a DD_DATA_STREAMS_TRANSACTION_EXTRACTORS environment variable to copy into the service deployment." style="width:100%;" >}}
1. Click <span class="ui">Done</span>.
1. Click {{< ui >}}Done{{< /ui >}}.


[1]: https://app.datadoghq.com/data-streams/transactions
Expand Down
12 changes: 6 additions & 6 deletions content/en/infrastructure/hostmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ Datadog's [Host Map][1] visualizes your hosts, pods, containers, and clusters, h

{{< img src="infrastructure/hostmap/query-selector.png" alt="The query selector dropdown showing a list of suggested queries such as 'What is the CPU usage across my hosts?' and 'How many errors are being logged across my infrastructure?', along with saved custom queries. A Create button and Filter views search field are at the top." style="width:60%;" >}}

Use the drop-down in the upper left to view suggested queries, or the saved custom queries written by you or someone else in your organization. To write a custom query, click <span class="ui">Create</span>.
Use the drop-down in the upper left to view suggested queries, or the saved custom queries written by you or someone else in your organization. To write a custom query, click {{< ui >}}Create{{< /ui >}}.

{{< img src="infrastructure/hostmap/draft-query.png" alt="The Draft Query editor with two levels. The parent object is set to Host with Fill by CPU usage. The child object is set to Pod with Fill by Readiness." style="width:100%;" >}}

- <span class="ui">Parent/Child Object</span>: Select resources (<span class="ui">Host</span>, <span class="ui">Pod</span>, <span class="ui">Container</span>, <span class="ui">Cluster</span>) to view. Parent and Child objects have hierarchical relationships.
- <span class="ui">Fill by</span>: By default, the color of each object represents CPU usage, where the color ranges from green (0% utilized) to orange (100% utilized). Use the <span class="ui">Fill by</span> drop-down to color your objects by various metrics or signals, such as memory or error logs.
- <span class="ui">Size by</span>: If you do not specify a Child object, you can use the <span class="ui">Size by</span> selector to size each object by a metric or signal.
- {{< ui >}}Parent/Child Object{{< /ui >}}: Select resources ({{< ui >}}Host{{< /ui >}}, {{< ui >}}Pod{{< /ui >}}, {{< ui >}}Container{{< /ui >}}, {{< ui >}}Cluster{{< /ui >}}) to view. Parent and Child objects have hierarchical relationships.
- {{< ui >}}Fill by{{< /ui >}}: By default, the color of each object represents CPU usage, where the color ranges from green (0% utilized) to orange (100% utilized). Use the {{< ui >}}Fill by{{< /ui >}} drop-down to color your objects by various metrics or signals, such as memory or error logs.
- {{< ui >}}Size by{{< /ui >}}: If you do not specify a Child object, you can use the {{< ui >}}Size by{{< /ui >}} selector to size each object by a metric or signal.
{{< img src="infrastructure/hostmap/size-by.png" alt="The Host Map query editor with Parent Object set to Host, Fill by set to CPU usage, and Size by set to Error logs. The map below shows 1.61k hosts as hexagons of varying sizes and colors, with a tooltip on one host showing 88% average CPU usage." style="width:85%;" >}}
- <span class="ui">Group by</span>: Spatially arrange your objects into groups. You can use multiple groupings. For example, if you group by `tags.availability-zone` `tags.instance-type`, your objects are first arranged by availability zone and then further subdivided by instance type.
- {{< ui >}}Group by{{< /ui >}}: Spatially arrange your objects into groups. You can use multiple groupings. For example, if you group by `tags.availability-zone` `tags.instance-type`, your objects are first arranged by availability zone and then further subdivided by instance type.

{{< img src="infrastructure/hostmap/group-by.png" alt="The Host Map grouped by both tags.availability-zone and tags.instance-type. Hosts are arranged first into availability zone sections such as us-east-1a and us-east-1b, then subdivided by instance type such as m5a.2xlarge and t2.micro. Cells are colored by CPU usage from green to orange-red." style="width:85%;" >}}
- <span class="ui">Filter</span>: Limit the Host Map to a specific subset of your infrastructure. For example, you can filter by `production` to only view your production resources. The <span class="ui">Filter</span> input supports logical operators (`AND`, `NOT`, `OR`) and wildcards (`*`). For example: `(tags.availability-zone:ap* OR tags.availability-zone:eu*) NOT tags.agent_version:5.3*`.
- {{< ui >}}Filter{{< /ui >}}: Limit the Host Map to a specific subset of your infrastructure. For example, you can filter by `production` to only view your production resources. The {{< ui >}}Filter{{< /ui >}} input supports logical operators (`AND`, `NOT`, `OR`) and wildcards (`*`). For example: `(tags.availability-zone:ap* OR tags.availability-zone:eu*) NOT tags.agent_version:5.3*`.

## Use cases

Expand Down
1 change: 1 addition & 0 deletions layouts/shortcodes/ui.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<span class="ui">{{- .Inner -}}</span>
Loading