Skip to content

[FFL-2679] Add APM trace enrichment guide for Feature Flags#38175

Draft
typotter wants to merge 1 commit into
masterfrom
typo/FFL-2679/apm-trace-enrichment-docs
Draft

[FFL-2679] Add APM trace enrichment guide for Feature Flags#38175
typotter wants to merge 1 commit into
masterfrom
typo/FFL-2679/apm-trace-enrichment-docs

Conversation

@typotter

Copy link
Copy Markdown
Contributor

What does this PR do? What is the motivation?

Fixes FFL-2679

Adds a new guide page documenting APM trace enrichment for Feature Flags. When enabled, feature flag evaluation data is automatically attached to APM traces, allowing users to filter traces by flag variant in Trace Explorer and use APM metrics in experiments.

Page location: /feature_flags/guide/apm_trace_enrichment/

Merge instructions

Merge readiness:

  • Ready for merge

Additional notes

  • SDK version table has TODOs for languages that have not yet released with span enrichment support (Go and Node.js versions are filled in).
  • Feature is experimental and gated behind DD_EXPERIMENTAL_FLAGGING_PROVIDER_SPAN_ENRICHMENT_ENABLED.
  • Page follows the same structure as the existing server_flag_evaluation_metrics guide.

New guide page documenting how to enable FFE span enrichment
across all server-side SDKs. Covers configuration, verification
in Trace Explorer, and integration with Experiments.
@github-actions github-actions Bot added the Guide Content impacting a guide label Jul 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

@datadog-prod-us1-4

datadog-prod-us1-4 Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 1 Pipeline job failed

DataDog/documentation | build_preview   View in Datadog   GitLab

ℹ️ Info

🔄 Datadog auto-retried 1 job - 1 passed on retry View in Datadog

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 1d3a4c0 | Docs | Datadog PR Page | Give us feedback!

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a new Feature Flags guide documenting the (experimental) APM trace enrichment capability, including enablement steps, language-specific examples, verification steps in Trace Explorer, and stated per-span limits.

Changes:

  • Added a new guide page: “Set Up APM Trace Enrichment for Feature Flags”.
  • Added the new guide link to the Feature Flags Guides index.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
content/en/feature_flags/guide/apm_trace_enrichment.md New guide explaining APM trace enrichment, configuration, verification, and limits.
content/en/feature_flags/guide/_index.md Adds navigation entry for the new guide.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +100 to +104
import (
"github.com/DataDog/dd-trace-go/v2/ddtrace/tracer"
ddopenfeature "github.com/DataDog/dd-trace-go/v2/openfeature"
"github.com/open-feature/go-sdk/openfeature"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Guide Content impacting a guide

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants