Skip to content

Commit 877e209

Browse files
chore: update sdk readmes
Signed-off-by: OpenFeature Bot <[email protected]>
1 parent a97547f commit 877e209

File tree

14 files changed

+61
-25
lines changed

14 files changed

+61
-25
lines changed

docs/reference/technologies/client/kotlin.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ This content has been automatically generated from kotlin-sdk.
1010
Edits should be made here: https://github.com/open-feature/kotlin-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Wed Jul 16 2025 08:11:01 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Mon Aug 04 2025 08:12:13 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

1616
<p align="center" class="github-badges">
1717
<a href="https://github.com/open-feature/spec/releases/tag/v0.8.0">
1818
<img alt="Specification" src="https://img.shields.io/static/v1?label=specification&message=v0.8.0&color=yellow&style=for-the-badge" />
1919
</a>
2020

21-
<a href="https://github.com/open-feature/kotlin-sdk/releases/tag/v0.4.1">
22-
<img alt="Release" src="https://img.shields.io/static/v1?label=release&message=v0.4.1&color=blue&style=for-the-badge" />
21+
<a href="https://github.com/open-feature/kotlin-sdk/releases/tag/v0.5.0">
22+
<img alt="Release" src="https://img.shields.io/static/v1?label=release&message=v0.5.0&color=blue&style=for-the-badge" />
2323
</a>
2424

2525
<br/>
@@ -45,7 +45,7 @@ Installation via Maven Central is preferred, using the following dependency:
4545

4646
```kotlin
4747
dependencies {
48-
api("dev.openfeature:android-sdk:0.4.1")
48+
api("dev.openfeature:android-sdk:0.5.0")
4949
}
5050
```
5151

docs/reference/technologies/client/swift.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from swift-sdk.
1010
Edits should be made here: https://github.com/open-feature/swift-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Wed Jul 16 2025 08:11:02 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Mon Aug 04 2025 08:12:13 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

1616
<p align="center" class="github-badges">

docs/reference/technologies/client/web/angular.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ This content has been automatically generated from js-sdk.
1010
Edits should be made here: https://github.com/open-feature/js-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Wed Jul 16 2025 08:11:02 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Mon Aug 04 2025 08:12:13 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

1616
<p align="center" class="github-badges">
1717
<a href="https://github.com/open-feature/spec/releases/tag/v0.8.0">
1818
<img alt="Specification" src="https://img.shields.io/static/v1?label=specification&message=v0.8.0&color=yellow&style=for-the-badge" />
1919
</a>
2020

21-
<a href="https://github.com/open-feature/js-sdk/releases/tag/angular-sdk-v0.0.15">
22-
<img alt="Release" src="https://img.shields.io/static/v1?label=release&message=v0.0.15&color=blue&style=for-the-badge" />
21+
<a href="https://github.com/open-feature/js-sdk/releases/tag/angular-sdk-v0.0.16">
22+
<img alt="Release" src="https://img.shields.io/static/v1?label=release&message=v0.0.16&color=blue&style=for-the-badge" />
2323
</a>
2424

2525
<br/>

docs/reference/technologies/client/web/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
1010
Edits should be made here: https://github.com/open-feature/js-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Wed Jul 16 2025 08:11:01 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Mon Aug 04 2025 08:12:12 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

1616
<p align="center" class="github-badges">

docs/reference/technologies/client/web/react.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
1010
Edits should be made here: https://github.com/open-feature/js-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Wed Jul 16 2025 08:11:01 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Mon Aug 04 2025 08:12:12 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

1616
<p align="center" class="github-badges">

docs/reference/technologies/server/dotnet.mdx

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ This content has been automatically generated from dotnet-sdk.
1010
Edits should be made here: https://github.com/open-feature/dotnet-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Wed Jul 16 2025 08:11:00 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Mon Aug 04 2025 08:12:12 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

1616
[![Specification](https://img.shields.io/static/v1?label=specification&message=v0.8.0&color=yellow&style=for-the-badge)](https://github.com/open-feature/spec/releases/tag/v0.8.0)
1717
[
18-
![Release](https://img.shields.io/static/v1?label=release&message=v2.7.0&color=blue&style=for-the-badge)
19-
](https://github.com/open-feature/dotnet-sdk/releases/tag/v2.7.0)
18+
![Release](https://img.shields.io/static/v1?label=release&message=v2.8.1&color=blue&style=for-the-badge)
19+
](https://github.com/open-feature/dotnet-sdk/releases/tag/v2.8.1)
2020

2121
[![Slack](https://img.shields.io/badge/slack-%40cncf%2Fopenfeature-brightgreen?style=flat&logo=slack)](https://cloud-native.slack.com/archives/C0344AANLA1)
2222
[![Codecov](https://codecov.io/gh/open-feature/dotnet-sdk/branch/main/graph/badge.svg?token=MONAVJBXUJ)](https://codecov.io/gh/open-feature/dotnet-sdk)
@@ -603,6 +603,24 @@ namespace OpenFeatureTestApp
603603

604604
After running this example, you will be able to see the traces, including the events sent by the hook in your Jaeger UI.
605605

606+
You can specify custom tags on spans created by the `TraceEnricherHook` by providing `TraceEnricherHookOptions` when adding the hook:
607+
608+
```csharp
609+
var options = TraceEnricherHookOptions.CreateBuilder()
610+
.WithTag("custom_dimension_key", "custom_dimension_value")
611+
.Build();
612+
613+
OpenFeature.Api.Instance.AddHooks(new TraceEnricherHook(options));
614+
```
615+
616+
You can also write your own extraction logic against the Flag metadata by providing a callback to `WithFlagEvaluationMetadata`. The below example will add a tag to the span with the key `boolean` and a value specified by the callback.
617+
618+
```csharp
619+
var options = TraceEnricherHookOptions.CreateBuilder()
620+
.WithFlagEvaluationMetadata("boolean", s => s.GetBool("boolean"))
621+
.Build();
622+
```
623+
606624
### Metrics Hook
607625

608626
For this hook to function correctly a global `MeterProvider` must be set.
@@ -663,3 +681,21 @@ namespace OpenFeatureTestApp
663681

664682
After running this example, you should be able to see some metrics being generated into the console.
665683

684+
You can specify custom dimensions on all instruments by the `MetricsHook` by providing `MetricsHookOptions` when adding the hook:
685+
686+
```csharp
687+
var options = MetricsHookOptions.CreateBuilder()
688+
.WithCustomDimension("custom_dimension_key", "custom_dimension_value")
689+
.Build();
690+
691+
OpenFeature.Api.Instance.AddHooks(new MetricsHook(options));
692+
```
693+
694+
You can also write your own extraction logic against the Flag metadata by providing a callback to `WithFlagEvaluationMetadata`.
695+
696+
```csharp
697+
var options = MetricsHookOptions.CreateBuilder()
698+
.WithFlagEvaluationMetadata("boolean", s => s.GetBool("boolean"))
699+
.Build();
700+
```
701+

docs/reference/technologies/server/go.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This content has been automatically generated from go-sdk.
99
Edits should be made here: https://github.com/open-feature/go-sdk
1010
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1111

12-
Last updated at Wed Jul 16 2025 08:11:01 GMT+0000 (Coordinated Universal Time)
12+
Last updated at Mon Aug 04 2025 08:12:12 GMT+0000 (Coordinated Universal Time)
1313
-->
1414

1515
<p align="center" class="github-badges">

docs/reference/technologies/server/java.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This content has been automatically generated from java-sdk.
99
Edits should be made here: https://github.com/open-feature/java-sdk
1010
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1111

12-
Last updated at Wed Jul 16 2025 08:11:00 GMT+0000 (Coordinated Universal Time)
12+
Last updated at Mon Aug 04 2025 08:12:12 GMT+0000 (Coordinated Universal Time)
1313
-->
1414

1515
<p align="center" class="github-badges">

docs/reference/technologies/server/javascript/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
1010
Edits should be made here: https://github.com/open-feature/js-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Wed Jul 16 2025 08:11:00 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Mon Aug 04 2025 08:12:12 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

1616
<p align="center" class="github-badges">

docs/reference/technologies/server/javascript/nestjs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
1010
Edits should be made here: https://github.com/open-feature/js-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Wed Jul 16 2025 08:11:00 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Mon Aug 04 2025 08:12:12 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

1616
<p align="center" class="github-badges">

0 commit comments

Comments
 (0)