File tree Expand file tree Collapse file tree 14 files changed +32
-14
lines changed
docs/reference/technologies Expand file tree Collapse file tree 14 files changed +32
-14
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ This content has been automatically generated from kotlin-sdk.
10
10
Edits should be made here: https://github.com/open-feature/kotlin-sdk
11
11
Once a repo has been updated, docs can be generated by running: yarn update :sdk-docs
12
12
13
- Last updated at Wed Jul 16 2025 08:11:01 GMT+0000 (Coordinated Universal Time)
13
+ Last updated at Fri Jul 25 2025 08:10:55 GMT+0000 (Coordinated Universal Time)
14
14
-->
15
15
16
16
<p align = " center" class = " github-badges" >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ This content has been automatically generated from swift-sdk.
10
10
Edits should be made here: https://github.com/open-feature/swift-sdk
11
11
Once a repo has been updated, docs can be generated by running: yarn update :sdk-docs
12
12
13
- Last updated at Wed Jul 16 2025 08:11:02 GMT+0000 (Coordinated Universal Time)
13
+ Last updated at Fri Jul 25 2025 08:10:55 GMT+0000 (Coordinated Universal Time)
14
14
-->
15
15
16
16
<p align = " center" class = " github-badges" >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
10
10
Edits should be made here: https://github.com/open-feature/js-sdk
11
11
Once a repo has been updated, docs can be generated by running: yarn update :sdk-docs
12
12
13
- Last updated at Wed Jul 16 2025 08:11:02 GMT+0000 (Coordinated Universal Time)
13
+ Last updated at Fri Jul 25 2025 08:10:56 GMT+0000 (Coordinated Universal Time)
14
14
-->
15
15
16
16
<p align = " center" class = " github-badges" >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
10
10
Edits should be made here: https://github.com/open-feature/js-sdk
11
11
Once a repo has been updated, docs can be generated by running: yarn update :sdk-docs
12
12
13
- Last updated at Wed Jul 16 2025 08:11:01 GMT+0000 (Coordinated Universal Time)
13
+ Last updated at Fri Jul 25 2025 08:10:55 GMT+0000 (Coordinated Universal Time)
14
14
-->
15
15
16
16
<p align = " center" class = " github-badges" >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
10
10
Edits should be made here: https://github.com/open-feature/js-sdk
11
11
Once a repo has been updated, docs can be generated by running: yarn update :sdk-docs
12
12
13
- Last updated at Wed Jul 16 2025 08:11:01 GMT+0000 (Coordinated Universal Time)
13
+ Last updated at Fri Jul 25 2025 08:10:55 GMT+0000 (Coordinated Universal Time)
14
14
-->
15
15
16
16
<p align = " center" class = " github-badges" >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ This content has been automatically generated from dotnet-sdk.
10
10
Edits should be made here: https://github.com/open-feature/dotnet-sdk
11
11
Once a repo has been updated, docs can be generated by running: yarn update :sdk-docs
12
12
13
- Last updated at Wed Jul 16 2025 08:11:00 GMT+0000 (Coordinated Universal Time)
13
+ Last updated at Fri Jul 25 2025 08:10:55 GMT+0000 (Coordinated Universal Time)
14
14
-->
15
15
16
16
[](https://github.com/open-feature/spec/releases/tag/v0.8.0)
@@ -663,3 +663,21 @@ namespace OpenFeatureTestApp
663
663
664
664
After running this example, you should be able to see some metrics being generated into the console.
665
665
666
+ You can specify custom dimensions on all instruments by the ` MetricsHook ` by providing ` MetricsHookOptions ` when adding the hook:
667
+
668
+ ``` csharp
669
+ var options = MetricsHookOptions .CreateBuilder ()
670
+ .WithCustomDimension (" custom_dimension_key" , " custom_dimension_value" )
671
+ .Build ();
672
+
673
+ OpenFeature .Api .Instance .AddHooks (new MetricsHook (options ));
674
+ ```
675
+
676
+ You can also write your own extraction logic against the Flag metadata by providing a callback to ` WithFlagEvaluationMetadata ` .
677
+
678
+ ``` csharp
679
+ var options = MetricsHookOptions .CreateBuilder ()
680
+ .WithFlagEvaluationMetadata (" boolean" , s => s .GetBool (" boolean" ))
681
+ .Build ();
682
+ ```
683
+
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ This content has been automatically generated from go-sdk.
9
9
Edits should be made here: https://github.com/open-feature/go-sdk
10
10
Once a repo has been updated, docs can be generated by running: yarn update :sdk-docs
11
11
12
- Last updated at Wed Jul 16 2025 08:11:01 GMT+0000 (Coordinated Universal Time)
12
+ Last updated at Fri Jul 25 2025 08:10:55 GMT+0000 (Coordinated Universal Time)
13
13
-->
14
14
15
15
<p align = " center" class = " github-badges" >
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ This content has been automatically generated from java-sdk.
9
9
Edits should be made here: https://github.com/open-feature/java-sdk
10
10
Once a repo has been updated, docs can be generated by running: yarn update :sdk-docs
11
11
12
- Last updated at Wed Jul 16 2025 08:11:00 GMT+0000 (Coordinated Universal Time)
12
+ Last updated at Fri Jul 25 2025 08:10:54 GMT+0000 (Coordinated Universal Time)
13
13
-->
14
14
15
15
<p align = " center" class = " github-badges" >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
10
10
Edits should be made here: https://github.com/open-feature/js-sdk
11
11
Once a repo has been updated, docs can be generated by running: yarn update :sdk-docs
12
12
13
- Last updated at Wed Jul 16 2025 08:11:00 GMT+0000 (Coordinated Universal Time)
13
+ Last updated at Fri Jul 25 2025 08:10:54 GMT+0000 (Coordinated Universal Time)
14
14
-->
15
15
16
16
<p align = " center" class = " github-badges" >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
10
10
Edits should be made here: https://github.com/open-feature/js-sdk
11
11
Once a repo has been updated, docs can be generated by running: yarn update :sdk-docs
12
12
13
- Last updated at Wed Jul 16 2025 08:11:00 GMT+0000 (Coordinated Universal Time)
13
+ Last updated at Fri Jul 25 2025 08:10:55 GMT+0000 (Coordinated Universal Time)
14
14
-->
15
15
16
16
<p align = " center" class = " github-badges" >
You can’t perform that action at this time.
0 commit comments