Skip to content

Commit 79a11b2

Browse files
docs: Minor README fixes for Hooks (#1477)
Signed-off-by: Kyle Julian <[email protected]>
1 parent 0030528 commit 79a11b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hooks/open-telemetry/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ api.addHooks(new MetricsHook(openTelemetry));
113113

114114
#### Custom dimensions (attributes)
115115

116-
You can extract dimension from `ImmutableMetadata` of the `FlagEvaluationDetails` and add them to `feature_flag. evaluation_success_total` metric.
116+
You can extract dimension from `ImmutableMetadata` of the `FlagEvaluationDetails` and add them to `feature_flag.evaluation_success_total` metric.
117117
To use this feature, construct the `MetricsHook` with a list of `DimensionDescription`.
118118
You can add dimensions of type `String`, `Integer`, `Long`, `Float`, `Double` & `Boolean`.
119119

@@ -129,7 +129,7 @@ OpenFeatureAPI api = OpenFeatureAPI.getInstance();
129129
api.addHooks(new MetricsHook(openTelemetry, customDimensions));
130130
```
131131

132-
You can also wrtie your own extraction logic against [flag evaluation metadata](https://github.com/open-feature/spec/blob/main/specification/types.md#flag-metadata) by providing a callback to `attributeSetter`.
132+
You can also write your own extraction logic against [flag evaluation metadata](https://github.com/open-feature/spec/blob/main/specification/types.md#flag-metadata) by providing a callback to `attributeSetter`.
133133

134134
```java
135135
final OpenTelemetry openTelemetry = ... // OpenTelemetry API instance

0 commit comments

Comments
 (0)