datadog_flags 1.0.0
datadog_flags: ^1.0.0 copied to clipboard
Datadog Feature Flags and Experimentation SDK for client applications.
Datadog Flags Example #
This package contains command line examples for the Datadog Feature Flags SDK.
Typed Evaluation #
Provide the client token through the environment, then pass evaluation inputs as arguments:
DD_CLIENT_TOKEN=<client-token> \
dart run datadog_flags_example:typed_evaluation \
--env staging \
--flag-key checkout.enabled \
--flag-type boolean \
--targeting-key test-subject
Optional:
DD_APPLICATION_IDsets the Datadog application ID.--siteselects the Datadog site. Defaults tous1.--targeting-attributesaccepts a JSON object string.