Skip to content
Draft
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
4 changes: 4 additions & 0 deletions content/en/profiler/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ Profiling your service to visualize all your stack traces in one place takes jus

{{< partial name="profiling/profiling-languages.html" >}}

### Instrument your host (host profiling)

{{< partial name="profiling/profiling-host.html" >}}

## Guide to using the profiler

The [Getting Started with Profiler][1] guide takes a sample service with a performance problem and shows you how to use Continuous Profiler to understand and fix the problem.
Expand Down
10 changes: 10 additions & 0 deletions content/en/profiler/enabling/_index.mdoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ content_filters:
label: "Runtime"
show_if:
- prog_lang: ["java"]
- trait_id: mode
option_group_id: profiler_host_mode_options
label: "Mode"
show_if:
- prog_lang: ["host"]
aliases:
- /tracing/faq/profiling_migration/
- /tracing/profiler/enabling/
Expand Down Expand Up @@ -82,6 +87,11 @@ further_reading:
{% partial file="profiler/enabling/ddprof.mdoc.md" /%}
{% /if %}

<!-- Host Profiler -->
{% if equals($prog_lang, "host") %}
{% partial file="profiler/enabling/host.mdoc.md" /%}
{% /if %}

## Not sure what to do next?

The [Getting Started with Profiler][1] guide takes a sample service with a performance problem and shows you how to use Continuous Profiler to understand and fix the problem.
Expand Down
99 changes: 0 additions & 99 deletions content/en/profiler/enabling/full_host.md

This file was deleted.

8 changes: 8 additions & 0 deletions customization_config/en/option_groups/profiler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ profiler_language_options:
- id: c
- id: cpp
- id: rust
- id: host

# Mode option groups — only shown when Host is selected (via show_if)

profiler_host_mode_options:
- id: bundled
default: true
- id: standalone

# Runtime option groups — only shown when Java is selected (via show_if)

Expand Down
19 changes: 13 additions & 6 deletions customization_config/en/options/general.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# The list of allowed option IDs for content filter selections.
# This is to enforce consistency between various selections
# the user can make, ensuring that the selection
# This is to enforce consistency between various selections
# the user can make, ensuring that the selection
# will reliably be applied to all relevant pages.
#
# For example, if the user chooses "linux_apt" as their operating system
# on one page, we want to ensure that other pages are scanning
# for that same exact selection ID, rather than a slightly different
# selection such as "linuxapt" or "apt_linux".
#
# To add a new option, add a new item to the list
# To add a new option, add a new item to the list
# and give it a unique ID.

options:
Expand Down Expand Up @@ -333,7 +333,7 @@ options:

- label: Expo
id: expo

- label: CodePush
id: codepush

Expand Down Expand Up @@ -425,7 +425,7 @@ options:
id: traces

- label: Unity
id: unity
id: unity

- label: Wget
id: wget
Expand Down Expand Up @@ -456,7 +456,7 @@ options:

- label: Splunk Forwarders (TCP)
id: splunk_forwarders

- label: Sumo Logic Hosted Collector
id: sumo_logic_hosted_collector

Expand Down Expand Up @@ -528,3 +528,10 @@ options:

- label: GraalVM Native Image
id: graalvm_native_image

- label: eBPF Profiling
id: host

- label: Bundled
id: bundled

5 changes: 5 additions & 0 deletions customization_config/en/traits/general.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ traits:
type: text
internal_notes: The source of a software library that the customer is trying to use in their code, such as an SDK. This is most often a package manager like NPM. But it could also have a more general value, like "CDN" or "GitHub".

- id: mode
label: "Mode"
type: text
internal_notes: Deployment mode for a product. For example, bundled (with Datadog Agent) or standalone (OTel-based, no Agent).

- id: mobile_os
label: "OS"
type: text
Expand Down
15 changes: 15 additions & 0 deletions layouts/partials/profiling/profiling-host.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{{ $dot := . }}
<div class="profiling-languages">
<div class="container cards-dd">
<div class="row row-cols-2 row-cols-sm-4 g-2 g-xl-3 justify-content-sm-center">
<div class="col">
<a class="card h-100" href="/profiler/enabling/?prog_lang=host">
<div class="card-body text-center py-2 px-1">
{{ partial "img.html" (dict "root" . "src" "integrations_logos/datadog.png" "class" "img-fluid" "alt" "Host" "width" "400") }}
</div>
</a>
</div>
</div>
</br>
</div>
</div>
Loading
Loading