이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우
언제든지 연락주시기 바랍니다.Overview
Each feature flag has a variant type that defines the data type of values the flag can return. Variants are the specific values your application can receive when it evaluates the flag.
Flag types
Datadog Feature Flags support five data types:
| Type | Description |
|---|
| Boolean | true or false |
| String | Text values |
| Integer | Whole numbers |
| Number | Floating-point numbers |
| JSON | Structured JSON objects |
Note: The flag key and variant type cannot be changed after you create the flag.
Add a variant
- Navigate to your feature flag’s details page.
- Open the Manage Implementation & Variants side panel.
- Click Add Variant.
- Enter the variant name and value, then save.
Note: You cannot add variants to Boolean flags. Boolean flags are limited to true and false.
Edit a variant
- Navigate to your feature flag’s details page.
- Open the Manage Implementation & Variants side panel.
- Click the pencil icon next to the variant you want to modify.
- Update the variant’s name, value, or both, then save.
Changing the value of a variant that is being served as part of a running experiment may invalidate the results of that experiment.
Further reading