Skip to content

[DOCS-15222] Document serverless Feature Flags telemetry egress - #39311

Open
leoromanovsky wants to merge 2 commits into
masterfrom
leo.romanovsky/feature-flags-serverless-init-egress
Open

[DOCS-15222] Document serverless Feature Flags telemetry egress#39311
leoromanovsky wants to merge 2 commits into
masterfrom
leo.romanovsky/feature-flags-serverless-init-egress

Conversation

@leoromanovsky

@leoromanovsky leoromanovsky commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Motivation

Agentless delivery does not explain how serverless applications send exposure and flag evaluation telemetry. Customers can configure CDN delivery but lose these signals when no local telemetry relay is available.

Changes and Decisions

  • Link to the existing Serverless Monitoring documentation for platform setup.
  • Document serverless-init 1.9.13 or later as a local telemetry relay, not a configuration source.
  • Use the standard tracer URL on port 8126 for exposure and EVP event egress.
  • Show released and upcoming SDK telemetry behavior in a transitional rollout matrix.
  • Document exposure support for released Node.js and Java SDKs.
  • Document exposure and aggregated EVP flag evaluation events for Python 4.14.0.
  • Document Java 1.66.0 local-relay preference and authenticated direct fallback for both event types.
  • Keep the feature_flag.evaluations OTLP metric setup separate from the EVP paths.

Next Steps

Agentless configuration delivery reached Java, Node.js, and Python before telemetry egress reached parity. The versioned rollout matrix prevents the documentation from describing upcoming behavior as available in released SDKs.

Keep the separate released and upcoming rows while signal support and egress paths differ. After all three SDKs support the same signals and egress behavior, replace the transitional rows with one minimum version for each SDK and remove the rollout note.

@github-actions github-actions Bot added the Guide Content impacting a guide label Aug 18, 2026
Base automatically changed from leo.romanovsky/python-agentless-feature-flags-docs to master August 18, 2026 23:37
@leoromanovsky
leoromanovsky force-pushed the leo.romanovsky/feature-flags-serverless-init-egress branch from 2c9068a to fd7d195 Compare August 18, 2026 23:40
@leoromanovsky

Copy link
Copy Markdown
Contributor Author

/review

@github-actions github-actions Bot 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.

🤖 Automated review by Claude. AI-generated; verify before acting.

Overall the PR replaces the pre-1.65/5.116/4.14 warning boxes with clearer prose and adds a new Send feature flag telemetry with serverless-init section that ties the pages together well. A few style/clarity nits, no blockers.

Reviewed fd7d195c8c19049dbd09ee6e88da294773490618workflow run

Comment thread hugo/content/en/feature_flags/concepts/configuration_sources.md Outdated
Comment thread hugo/content/en/feature_flags/implementation_patterns/serverless.md Outdated
Comment thread hugo/content/en/feature_flags/server/java.md Outdated
Comment thread hugo/content/en/feature_flags/implementation_patterns/serverless.md Outdated
@leoromanovsky
leoromanovsky marked this pull request as ready for review August 19, 2026 05:16
@leoromanovsky
leoromanovsky requested a review from a team as a code owner August 19, 2026 05:16
@leoromanovsky
leoromanovsky requested a balanced review from Copilot August 19, 2026 05:16
@leoromanovsky
leoromanovsky requested a review from aarsilv August 19, 2026 05:16

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

Note

Copilot was unable to run its full agentic suite in this review.

Updates the Feature Flags server-side documentation to clarify how agentless configuration delivery relates to telemetry (exposures, EVP events, and OTLP metrics), and to direct serverless users toward serverless-init for telemetry egress.

Changes:

  • Replaces earlier “agentless limitation” callouts with updated guidance on telemetry egress paths (local relay / serverless-init / OTLP).
  • Adds a new “Send feature flag telemetry with serverless-init” section (and links to it) across language pages and configuration source docs.
  • Clarifies separation between EVP events (via tracer URL / 8126) and feature_flag.evaluations OTLP metric (4317/4318).

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
hugo/content/en/feature_flags/server/python.md Updates agentless + serverless guidance and adds link to serverless-init telemetry section.
hugo/content/en/feature_flags/server/nodejs.md Updates agentless telemetry statements and adds serverless-init guidance/link.
hugo/content/en/feature_flags/server/java.md Updates agentless telemetry statements and adds serverless-init guidance/link.
hugo/content/en/feature_flags/server/_index.md Reframes top-level guidance around serverless-init telemetry egress and OTLP metrics separation.
hugo/content/en/feature_flags/implementation_patterns/serverless.md Adds a new section describing serverless-init as telemetry relay, rollout table, and verification steps.
hugo/content/en/feature_flags/guide/server_flag_evaluation_metrics.md Clarifies OTLP metric vs EVP/exposure telemetry and serverless-init/8126 limitations for OTLP.
hugo/content/en/feature_flags/concepts/configuration_sources.md Links agentless delivery guidance to the new serverless-init telemetry section.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +72 to +77
| SDK | Availability | Experiment exposure events | Event Platform Proxy (EVP) flag evaluation events | Egress path |
|---|---|---|---|---|
| Java 1.65.0 | Released | Supported | Not emitted | Local relay |
| Java 1.66.0 | Upcoming | Supported | Supported | Prefer a local relay; use direct fallback when a compatible relay is unavailable |
| Node.js 5.116.0 on v5, or 6.5.0 on v6 | Released | Supported | Not emitted | Local relay |
| Python 4.14.0 | Upcoming | Supported | Supported | Local relay |
The Datadog provider implements the [OpenFeature](https://openfeature.dev/) standard. It uses `dd-java-agent` for configuration delivery. Agentless delivery removes the external Datadog Agent requirement, but `dd-java-agent` must still load in the JVM.

<div class="alert alert-warning">Starting in version 1.65.0, agentless mode changes only flag configuration. Java still requires a supported Datadog Agent or serverless telemetry path to export evaluation metrics or exposure events. Without such a path, only configuration delivery and local flag evaluation work.</div>
Agentless delivery changes only the flag configuration source. Java 1.65.0 sends experiment exposure events through a supported local Event Platform Proxy (EVP) relay. The upcoming 1.66.0 release also sends aggregate EVP flag evaluation events. It prefers a compatible local relay and sends both event types directly when no compatible relay is available.
- [Migrate an existing Remote Configuration setup][11] and remove the deprecated `DD_EXPERIMENTAL_FLAGGING_PROVIDER_ENABLED` setting

Agentless mode changes only flag configuration. It does not configure or enable `feature_flag.evaluations`, exposure logging, or experimentation use cases. These features require a supported Datadog Agent or serverless telemetry path. For more information on available graphing, see [Feature Flag Graphs](/feature_flags/concepts/flag_graphs/).
For no-Agent serverless environments, use [`serverless-init`][17] to send experiment exposure events from Java 1.65.0. The upcoming 1.66.0 release prefers a compatible local relay for exposure and aggregate flag evaluation events. It uses authenticated direct EVP fallback when no compatible relay is available. This direct path uses the application `DD_API_KEY` and `DD_SITE` settings. The `feature_flag.evaluations` metric uses the separate OTLP setup in the [Server-Side Flag Evaluation Metrics][8] guide. For more information on available graphing, see [Feature Flag Graphs](/feature_flags/concepts/flag_graphs/).
This page describes how to instrument your Node.js application with the Datadog Feature Flags SDK. The Node.js SDK integrates with [OpenFeature][2], an open standard for feature flag management. Starting in `dd-trace` 5.116.0 and 6.5.0, it loads flag configuration directly from the Datadog-managed CDN by default.

<div class="alert alert-warning">Node.js 5.116.0 and 6.5.0 support agentless configuration delivery and local flag evaluation only. They do not support evaluation metrics, exposure logging, or experimentation use cases.</div>
Agentless delivery changes only the flag configuration source. Node.js sends experiment exposure events through a supported local Event Platform Proxy (EVP) relay. It does not emit EVP flag evaluation events.
This guide explains how to install and enable the SDK, create an OpenFeature client, and evaluate feature flags in your application.

<div class="alert alert-warning">Python agentless delivery changes only the configuration source. Without a supported Datadog Agent or serverless telemetry path, the SDK does not export evaluation metrics or exposure events.</div>
Agentless delivery changes only the flag configuration source. Python sends experiment exposures and aggregated Event Platform Proxy (EVP) flag evaluation events through a supported local relay.
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.

3 participants