Distribution Channels

Ce produit n'est pas pris en charge par le site Datadog que vous avez sélectionné. ().
Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Overview

Distribution channels control which SDKs receive your flag configuration. When you create or edit a flag, you can set distribution channels to Client, Server, or both.

Why use distribution channels

Use distribution channels to protect sensitive configuration and reduce payload size.

Protect sensitive configuration

Client-side SDKs fetch flag configuration over the network. Flag keys and variant values sent to client SDKs can be visible in API requests. Restrict server-only flags to the Server distribution channel to avoid exposing sensitive flag keys or variant values to client SDKs.

Reduce payload size

If you work with a large number of feature flags, limiting which flags each SDK type receives can reduce the size of the configuration payload. This can improve performance for client and server SDK initialization.

Configure distribution channels

When you create a feature flag, select which distribution channels should receive the flag:

  • Client: Client-side SDKs only (browser and mobile)
  • Server: Server-side SDKs only
  • Both: All SDK types

You can also update distribution channels on an existing flag from the Manage Implementation & Variants section of the flag details page.

Further reading