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.evaluation.value.type`| one of `"array"`, `"boolean"`, `"byte_array"`, `"float"`, `"int"`, `"map"`, `"null"`, `"string"` or `"unknown"`, representing the type of the `evaluation details'``value` field | See: [reason](./types.md#resolution-reason)|
29
30
30
31
> [!NOTE]
31
32
> The `error.type` and `feature_flag.evaluation.reason` enumerations use a lowercase "snake_case" convention (see [OpenTelemetry feature-flag log records](https://opentelemetry.io/docs/specs/semconv/feature-flags/feature-flags-logs/)).
32
33
> OpenFeature [error codes](types.md#error-code) and [resolution reasons](./types.md#resolution-reason) should be transformed accordingly by integrations which include this data.
33
34
35
+
#### Flag Value
36
+
37
+
The flag value is required if the `feature_flag.variant` is not set (and optional otherwise), and is defined in a the event body:
38
+
39
+
| Body Field | Source Field from Evaluation Details |
|`contextId`|`feature_flag.context.id`| The context identifier returned in the flag metadata uniquely identifies the subject of the flag evaluation. If not available, the [targeting key](./glossary.md#targeting-key) should be used. |
41
-
|`flagSetId`|`feature_flag.set.id`| A logical identifier for the [flag set](./glossary.md#flag-set). |
42
-
|`flagSetVersion`|`feature_flag.version`| A version string (format unspecified) for the [flag set](./glossary.md#flag-set). |
47
+
|Log Record Attribute | Flag Metadata Key| Notes |
|`feature_flag.context.id`|`contextId`| The context identifier returned in the flag metadata uniquely identifies the subject of the flag evaluation. If not available, the [targeting key](./glossary.md#targeting-key) should be used. |
50
+
|`feature_flag.set.id`|`flagSetId`| A logical identifier for the [flag set](./glossary.md#flag-set). |
51
+
|`feature_flag.version`|`flagSetVersion`| A version string (format unspecified) for the [flag set](./glossary.md#flag-set). |
43
52
44
53
> [!NOTE]
45
54
> Keys in flag metadata use the "camelCase" casing convention, while the OpenTelemetry standard uses a namespaced "snake_case" convention.
46
55
47
56
### Provider Metadata
48
57
49
-
|Provider Metadata Field | Log Record Attribute| Notes |
0 commit comments