Skip to content

[DOCS-13461] Add APM Processing Pipelines documentation#34787

Merged
mervebolatdd merged 5 commits intomasterfrom
brett.blue/processing-pipelines-docs
Feb 25, 2026
Merged

[DOCS-13461] Add APM Processing Pipelines documentation#34787
mervebolatdd merged 5 commits intomasterfrom
brett.blue/processing-pipelines-docs

Conversation

@brett0000FF
Copy link
Contributor

@brett0000FF brett0000FF commented Feb 23, 2026

What does this PR do? What is the motivation?

Addresses DOCS-13461

Adds a new documentation page for APM Processing Pipelines, which let users transform, normalize, and enrich span attributes after ingestion without modifying application code. Also adds a Processing Pipelines entry to the Trace Pipeline index page and the navigation menu.

Changes

  • New page: content/en/tracing/trace_pipeline/processing_pipelines.md
    • Pipeline creation and management
    • Remapper and Parser processor reference
    • Execution flow and preprocessed attributes
  • Updated content/en/tracing/trace_pipeline/_index.md with a Processing Pipelines section
  • Added nav menu entry in config/_default/menus/main.en.yaml
  • Added screenshots to static/images/tracing/processing_pipelines/

Merge instructions

Merge readiness:

  • Ready for merge

Additional notes

Source material adapted from internal documentation. Content reviewed for Datadog style compliance (Vale clean).

New page documenting Processing Pipelines, which let users transform,
normalize, and enrich span attributes after ingestion without modifying
application code. Covers pipeline creation, management, and the two
processor types (Remapper and Parser).

Also adds a Processing Pipelines entry to the Trace Pipeline index page
and the navigation menu.
@brett0000FF brett0000FF requested a review from a team as a code owner February 23, 2026 22:37
@github-actions github-actions bot added Architecture Everything related to the Doc backend Images Images are added/removed with this PR labels Feb 23, 2026
@github-actions
Copy link
Contributor

@mervebolatdd mervebolatdd self-requested a review February 24, 2026 14:21
Copy link
Contributor

@janine-c janine-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks awesome, Brett! I left some comments about some nits, and you can totally decide to deal with them in other PRs or not at all 🙂

To create a pipeline:

1. Navigate to [**APM > Settings > Pipelines**][1].
2. Click **Add Pipeline**.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This button shows up greyed out for me. Might be worth mentioning somewhere that this requires a specific permission?

Image

From the [Pipelines][1] page, you can:

- Enable or disable individual pipelines
- Reorder pipelines by dragging them
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure where to bring this up, but it looks like this feature isn't 100% locked down properly for a user without write permissions. If I try to drag a pipeline, it gives me a confirmation dialogue box, and then if I click "move," it only fails then (without a reason, but my guess is the missing permission). I imagine product would want to grey out the drag handles instead 🙂

Image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- Edit pipelines in draft mode
- Restrict access with [RBAC][3]

Disabling a pipeline stops it from processing newly ingested spans. Previously stored spans are not retroactively modified.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Disabling a pipeline stops it from processing newly ingested spans. Previously stored spans are not retroactively modified.
Disabling a pipeline stops it from processing newly ingested spans. It does not retroactively modify previously stored spans.

Or "previously processed spans"?


<div class="alert alert-info">Processors can only be applied to <a href="/tracing/trace_explorer/span_tags_attributes/">span attributes, not span tags</a>.</div>

### Remapper processor
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a little confused about how to get from creating pipelines to adding processors. Do you select a pipeline and then add them...?


To configure Grok parsing rules:

1. **Define the parsing attribute and samples**: Select the attribute that you want to parse, and add sample data for the selected attribute.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't tell what the radio buttons beside the samples in the screenshot do?

4. Retention filters and metrics from spans are computed.
5. Spans are stored and indexed.

Reordering pipelines or processors changes processing behavior.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels like a bit of a non-sequitur because I can't tell how it relates to the preceding information, or what the change is. Does it change the processing behavior as soon as you reorder them? Does it wait until the beginning of the next life cycle to apply the change?


## Preprocessed attributes

Some span attributes are automatically preprocessed by Datadog before pipelines run. For example, [Quantization of APM Data][5] normalizes resource names by default and cannot be disabled. You can define additional pipelines if you need further customization of these attributes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Some span attributes are automatically preprocessed by Datadog before pipelines run. For example, [Quantization of APM Data][5] normalizes resource names by default and cannot be disabled. You can define additional pipelines if you need further customization of these attributes.
Datadog preprocesses some span attributes before pipelines run. For example, [Quantization of APM Data][5] normalizes resource names by default and cannot be disabled. You can define additional pipelines if you need further customization of these attributes.

Comment on lines +92 to +96
1. Spans are ingested.
2. Datadog enrichments are applied (infrastructure, CI, source code metadata).
3. Processing Pipelines run.
4. Retention filters and metrics from spans are computed.
5. Spans are stored and indexed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any way to get rid of some of the passive voice here? It's not a huge deal, but I think it does aid conceptual understanding if a user can get some more information on what is performing each process.

brett0000FF and others added 4 commits February 24, 2026 14:28
- Clarify that attribute changes "apply to" downstream processors
- Add brief instruction on how to add a processor to a pipeline
- Disambiguate "those" in Remapper constraints sentence
- Use active voice for disable behavior and preprocessed attributes
Co-authored-by: Janine Chan <64388808+janine-c@users.noreply.github.com>
Removed note about reordering pipelines affecting processing behavior.
@mervebolatdd mervebolatdd merged commit 4199a72 into master Feb 25, 2026
23 checks passed
@mervebolatdd mervebolatdd deleted the brett.blue/processing-pipelines-docs branch February 25, 2026 09:09
@mervebolatdd
Copy link
Contributor

Note for Janine and Brett: I'll address the open questions/feedback shared above separately. We need to update the in-app links to start release process and I wanted to unblock EU eng team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Architecture Everything related to the Doc backend Images Images are added/removed with this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants