Skip to content

Commit ab3b5d7

Browse files
maycmleejanine-c
andauthored
Update headings in generate_metrics.md (#37626)
* Update headings in generate_metrics.md * Apply suggestion from @janine-c Co-authored-by: Janine Chan <64388808+janine-c@users.noreply.github.com> --------- Co-authored-by: Janine Chan <64388808+janine-c@users.noreply.github.com>
1 parent 532302e commit ab3b5d7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

content/en/observability_pipelines/processors/generate_metrics.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Click **Manage Metrics** to create new metrics or edit existing metrics. This op
2424
- If you have not created any metrics yet, enter the metric parameters as described in the [Add a metric](#add-a-metric) section to create a metric.
2525
- If you have already created metrics, click on the metric's row in the overview table to edit or delete it. Use the search bar to find a specific metric by its name, and then select the metric to edit or delete it. Click **Add Metric** to add another metric.
2626

27-
##### Add a metric
27+
### Add a metric
2828

2929
1. Enter a filter query. Only logs that match the specified filter query are processed. All logs, regardless of whether they match the filter query, are sent to the next step in the pipeline. See [Search Syntax][5] for more information. **Note**: Since a single processor can generate multiple metrics, you can define a different filter query for each metric.
3030
1. Enter a name for the metric.
@@ -34,7 +34,7 @@ Click **Manage Metrics** to create new metrics or edit existing metrics. This op
3434
- The **Group by** field determines how the metric values are grouped together. For example, if you have hundreds of hosts spread across four regions, grouping by region allows you to graph one line for every region. The fields listed in the **Group by** setting are set as tags on the configured metric.
3535
1. Click **Add Metric**.
3636

37-
##### Metrics types
37+
## Metrics types
3838

3939
You can generate these types of metrics for your logs. See the [Metrics types][3] and [Distributions][4] documentation for more details.
4040

@@ -44,7 +44,7 @@ You can generate these types of metrics for your logs. See the [Metrics types][3
4444
| GAUGE | A snapshot of a value at the time it is reported. | You want to track the latest CPU utilization per host. |
4545
| DISTRIBUTION | Raw values sent to Datadog so percentile aggregations (such as p95, p99) are computed server-side, globally across every host reporting the metric. | You want the global p95 of `response_time_seconds` across every host serving an API endpoint. |
4646

47-
##### Count metric example
47+
### Count metric example
4848

4949
For this `status:error` log example:
5050

@@ -61,7 +61,7 @@ To create a count metric that counts the number of logs that contain `"status":"
6161
| Metric type | Count |
6262
| Group by | `env`, `prod` |
6363

64-
##### Distribution metric example
64+
### Distribution metric example
6565

6666
For this example of an API response log:
6767

0 commit comments

Comments
 (0)