Collapse content

Overview

This page contains examples of the collapse content component.

Examples

Expanded by default

Expanded section (h4)

This section is expanded by default. Click the title to collapse it.

Collapsed by default

This section is collapsed by default. Click the title to expand it.

Heading level h1

This collapsible section uses an h1 heading level.

Heading level h2

This collapsible section uses an h2 heading level.

Heading level h3

This collapsible section uses an h3 heading level.

Heading level h5

This collapsible section uses an h5 heading level.

With rich content inside

To configure the Agent, update the following settings:

datadog.yaml

api_key: YOUR_API_KEY
logs_enabled: true

Restart the Agent after making configuration changes.