You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[`feature_flag.key`](/docs/registry/attributes/feature-flag.md)| string | The lookup key of the feature flag. |`logo-color`|`Required`||
61
+
|[`feature_flag.key`](/docs/registry/attributes/feature-flag.md)| string | The lookup key of the feature flag. |`logo-color`|`Required`||
62
62
|[`error.type`](/docs/registry/attributes/error.md)| string | Describes a class of error the operation ended with. [1]|`provider_not_ready`; `targeting_key_missing`; `provider_fatal`; `general`|`Conditionally Required`[2]||
63
-
|[`feature_flag.result.value`](/docs/registry/attributes/feature-flag.md)| any | The evaluated value of the feature flag. [3]|`#ff0000`; `true`; `3`|`Conditionally Required`[4]||
64
-
|[`feature_flag.result.variant`](/docs/registry/attributes/feature-flag.md)| string | A semantic identifier for an evaluated flag value. [5]|`red`; `true`; `on`|`Conditionally Required`[6]||
63
+
|[`feature_flag.result.value`](/docs/registry/attributes/feature-flag.md)| any | The evaluated value of the feature flag. [3]|`#ff0000`; `true`; `3`|`Conditionally Required`[4]||
64
+
|[`feature_flag.result.variant`](/docs/registry/attributes/feature-flag.md)| string | A semantic identifier for an evaluated flag value. [5]|`red`; `true`; `on`|`Conditionally Required`[6]||
65
65
|[`error.message`](/docs/registry/attributes/error.md)| string | A message providing more detail about an error in human-readable form. [7]|`Unexpected input type: string`; `The user has exceeded their storage quota`|`Recommended`[8]||
66
-
|[`feature_flag.context.id`](/docs/registry/attributes/feature-flag.md)| string | The unique identifier for the flag evaluation context. For example, the targeting key. |`5157782b-2203-4c80-a857-dbbd5e7761db`|`Recommended`||
67
-
|[`feature_flag.provider.name`](/docs/registry/attributes/feature-flag.md)| string | Identifies the feature flag provider. |`Flag Manager`|`Recommended`||
68
-
|[`feature_flag.result.reason`](/docs/registry/attributes/feature-flag.md)| string | The reason code which shows how a feature flag value was determined. |`static`; `targeting_match`; `error`; `default`|`Recommended`||
69
-
|[`feature_flag.set.id`](/docs/registry/attributes/feature-flag.md)| string | The identifier of the [flag set](https://openfeature.dev/specification/glossary/#flag-set) to which the feature flag belongs. |`proj-1`; `ab98sgs`; `service1/dev`|`Recommended`||
70
-
|[`feature_flag.version`](/docs/registry/attributes/feature-flag.md)| string | The version of the ruleset used during the evaluation. This may be any stable value which uniquely identifies the ruleset. |`1`; `01ABCDEF`|`Recommended`||
66
+
|[`feature_flag.context.id`](/docs/registry/attributes/feature-flag.md)| string | The unique identifier for the flag evaluation context. For example, the targeting key. |`5157782b-2203-4c80-a857-dbbd5e7761db`|`Recommended`||
67
+
|[`feature_flag.provider.name`](/docs/registry/attributes/feature-flag.md)| string | Identifies the feature flag provider. |`Flag Manager`|`Recommended`||
68
+
|[`feature_flag.result.reason`](/docs/registry/attributes/feature-flag.md)| string | The reason code which shows how a feature flag value was determined. |`static`; `targeting_match`; `error`; `default`|`Recommended`||
69
+
|[`feature_flag.set.id`](/docs/registry/attributes/feature-flag.md)| string | The identifier of the [flag set](https://openfeature.dev/specification/glossary/#flag-set) to which the feature flag belongs. |`proj-1`; `ab98sgs`; `service1/dev`|`Recommended`||
70
+
|[`feature_flag.version`](/docs/registry/attributes/feature-flag.md)| string | The version of the ruleset used during the evaluation. This may be any stable value which uniquely identifies the ruleset. |`1`; `01ABCDEF`|`Recommended`||
71
71
72
72
**[1]`error.type`:** If one of these values applies, then it MUST be used; otherwise, a custom value MAY be used.
73
73
74
74
| Value | Description | Stability |
75
75
|---|---|---|
76
-
|`flag_not_found`| The flag could not be found. ||
77
-
|`invalid_context`| The evaluation context does not meet provider requirements. ||
78
-
|`parse_error`| An error was encountered parsing data, such as a flag configuration. ||
79
-
|`provider_fatal`| The provider has entered an irrecoverable error state. ||
80
-
|`provider_not_ready`| The value was resolved before the provider was initialized. ||
81
-
|`targeting_key_missing`| The provider requires a targeting key and one was not provided in the evaluation context. ||
82
-
|`type_mismatch`| The type of the flag value does not match the expected type. ||
83
-
|`general`| The error was for a reason not enumerated above. ||
76
+
|`flag_not_found`| The flag could not be found. ||
77
+
|`invalid_context`| The evaluation context does not meet provider requirements. ||
78
+
|`parse_error`| An error was encountered parsing data, such as a flag configuration. ||
79
+
|`provider_fatal`| The provider has entered an irrecoverable error state. ||
80
+
|`provider_not_ready`| The value was resolved before the provider was initialized. ||
81
+
|`targeting_key_missing`| The provider requires a targeting key and one was not provided in the evaluation context. ||
82
+
|`type_mismatch`| The type of the flag value does not match the expected type. ||
83
+
|`general`| The error was for a reason not enumerated above. ||
84
84
85
85
**[2]`error.type`:** If and only if an error occurred during flag evaluation.
86
86
@@ -117,15 +117,15 @@ For example, the variant `red` maybe be used for the value `#c05543`.
117
117
118
118
| Value | Description | Stability |
119
119
|---|---|---|
120
-
|`cached`| The resolved value was retrieved from cache. ||
121
-
|`default`| The resolved value fell back to a pre-configured value (no dynamic evaluation occurred or dynamic evaluation yielded no result). ||
122
-
|`disabled`| The resolved value was the result of the flag being disabled in the management system. ||
123
-
|`error`| The resolved value was the result of an error. ||
124
-
|`split`| The resolved value was the result of pseudorandom assignment. ||
125
-
|`stale`| The resolved value is non-authoritative or possibly out of date ||
126
-
|`static`| The resolved value is static (no dynamic evaluation). ||
127
-
|`targeting_match`| The resolved value was the result of a dynamic evaluation, such as a rule or specific user-targeting. ||
128
-
|`unknown`| The reason for the resolved value could not be determined. ||
120
+
|`cached`| The resolved value was retrieved from cache. ||
121
+
|`default`| The resolved value fell back to a pre-configured value (no dynamic evaluation occurred or dynamic evaluation yielded no result). ||
122
+
|`disabled`| The resolved value was the result of the flag being disabled in the management system. ||
123
+
|`error`| The resolved value was the result of an error. ||
124
+
|`split`| The resolved value was the result of pseudorandom assignment. ||
125
+
|`stale`| The resolved value is non-authoritative or possibly out of date ||
126
+
|`static`| The resolved value is static (no dynamic evaluation). ||
127
+
|`targeting_match`| The resolved value was the result of a dynamic evaluation, such as a rule or specific user-targeting. ||
128
+
|`unknown`| The reason for the resolved value could not be determined. ||
0 commit comments