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
Fix Vale linting issues in Ruby feature flags docs
- Remove 'just' from sentences
- Use sentence-style capitalization for 'Remote configuration'
- Replace 'via' with 'through' for Vale compliance
- Break up long sentence using passive voice for readability
Copy file name to clipboardExpand all lines: content/en/feature_flags/setup/ruby.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ The targeting key is used for consistent traffic distribution (percentage rollou
69
69
70
70
After creating the `OpenFeature` client, you can start reading flag values throughout your app. Flag evaluation uses locally cached data, so no network requests occur when evaluating flags.
71
71
72
-
Each flag is identified by a _key_ (a unique string) and can be evaluated with a _typed method_that returns a value of the expected type. If the flag doesn't exist or cannot be evaluated, the SDK returns the provided default value.
72
+
Each flag is identified by a unique string_key_. Flags are evaluated using typed methods that return values matching the expected type. The SDK returns the default value if a flag doesn't exist or cannot be evaluated.
When you need more than just the flag value, use the `fetch_<type>_details` methods. These methods return both the evaluated value and metadata explaining the evaluation:
158
+
When you need more than the flag value, use the `fetch_<type>_details` methods. These methods return both the evaluated value and metadata explaining the evaluation:
159
159
160
160
```ruby
161
161
details = client.fetch_boolean_details(
@@ -196,11 +196,11 @@ end
196
196
If feature flags always return default values:
197
197
198
198
1. Verify Remote Configuration is enabled in your Datadog Agent configuration
199
-
2. Ensure service and environment are configured (either via`DD_SERVICE`/`DD_ENV` environment variables or `config.service`/`config.env` in Ruby)
199
+
2. Ensure service and environment are configured (either through`DD_SERVICE`/`DD_ENV` environment variables or `config.service`/`config.env` in Ruby)
200
200
3. Check that `config.remote.enabled = true` and `config.open_feature.enabled = true` are set in your Ruby application's Datadog configuration
201
201
4. Verify the datadog gem version includes OpenFeature support (2.23.0 or later)
202
202
203
-
### Remote Configuration connection issues
203
+
### Remote configuration connection issues
204
204
205
205
Check the Datadog tracer logs for Remote Configuration status:
0 commit comments