FeatureFlag enum
feature_flag.* attribute keys from the OpenTelemetry
semantic-conventions attribute registry.
- Inheritance
- Implemented types
- Available extensions
Values
- featureFlagContextId → const FeatureFlag
-
The unique identifier for the flag evaluation context. For example, the targeting key.
Examples:
5157782b-2203-4c80-a857-dbbd5e7761dbStability: release_candidate
const FeatureFlag('feature_flag.context.id') - featureFlagErrorMessage → const FeatureFlag
-
A message providing more detail about an error that occurred during feature flag evaluation in human-readable form.
Examples:
Unexpected input type: string, The user has exceeded their storage quotaStability: release_candidate
const FeatureFlag('feature_flag.error.message') - featureFlagEvaluationErrorMessage → const FeatureFlag
-
Deprecated, use
feature_flag.error.messageinstead.Examples:
Flag 'header-color' expected type 'string' but found type 'number'Stability: development
const FeatureFlag('feature_flag.evaluation.error.message') - featureFlagEvaluationReason → const FeatureFlag
-
Deprecated, use
feature_flag.result.reasoninstead.Examples:
static, targeting_match, error, defaultStability: development
const FeatureFlag('feature_flag.evaluation.reason') - featureFlagKey → const FeatureFlag
-
The lookup key of the feature flag.
Examples:
logo-colorStability: release_candidate
const FeatureFlag('feature_flag.key') - featureFlagProviderName → const FeatureFlag
-
Identifies the feature flag provider.
Examples:
Flag ManagerStability: release_candidate
const FeatureFlag('feature_flag.provider.name') - featureFlagResultReason → const FeatureFlag
-
The reason code which shows how a feature flag value was determined.
Examples:
static, targeting_match, error, defaultStability: release_candidate
const FeatureFlag('feature_flag.result.reason') - featureFlagResultValue → const FeatureFlag
-
The evaluated value of the feature flag.
Examples:
#ff0000, true, 3Stability: release_candidate
const FeatureFlag('feature_flag.result.value') - featureFlagResultVariant → const FeatureFlag
-
A semantic identifier for an evaluated flag value.
Examples:
red, true, onStability: release_candidate
const FeatureFlag('feature_flag.result.variant') - featureFlagSetId → const FeatureFlag
-
The identifier of the flag set to which the feature flag belongs.
Examples:
proj-1, ab98sgs, service1/devStability: release_candidate
const FeatureFlag('feature_flag.set.id') - featureFlagVariant → const FeatureFlag
-
Deprecated, use
feature_flag.result.variantinstead.Examples:
red, true, onStability: development
const FeatureFlag('feature_flag.variant') - featureFlagVersion → const FeatureFlag
-
The version of the ruleset used during the evaluation. This may be any stable value which uniquely identifies the ruleset.
Examples:
1, 01ABCDEFStability: release_candidate
const FeatureFlag('feature_flag.version')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- key → String
-
The attribute key string as defined in the OpenTelemetry specification.
final
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMapEntry(
Object value) → MapEntry< String, Object> -
Available on OTelSemantic, provided by the OTelSemanticExtension extension
Converts this semantic attribute and its value to aMapEntry. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
FeatureFlag> - A constant List of the values in this enum, in order of their declaration.