From 07fc74e7153300639323d05e3000ab7d6af4467b Mon Sep 17 00:00:00 2001 From: Chris Thain <32781396+cthain@users.noreply.github.com> Date: Wed, 13 Mar 2024 13:26:25 -0700 Subject: [PATCH 1/4] Demo Docs: Update the name of recommendation cache feature flag The name of the feature-flag for introducing the memory leak is actually `recommendationServiceCacheFailure`. --- content/en/docs/demo/feature-flags.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/content/en/docs/demo/feature-flags.md b/content/en/docs/demo/feature-flags.md index c4cdb176428a..527c5e4720c6 100644 --- a/content/en/docs/demo/feature-flags.md +++ b/content/en/docs/demo/feature-flags.md @@ -13,12 +13,12 @@ feature flag service that supports [OpenFeature](https://openfeature.dev). Flag values are stored in the `demo.flagd.json` file. To enable a flag, change the `defaultVariant` value in the config file for a given flag to "on". -| Feature Flag | Service(s) | Description | -| ----------------------- | --------------- | -------------------------------------------------------------------------------------------------------- | -| `adServiceFailure` | Ad Service | Generate an error for `GetAds` 1/10th of the time | -| `cartServiceFailure` | Cart Service | Generate an error for `EmptyCart` 1/10th of the time | -| `productCatalogFailure` | Product Catalog | Generate an error for `GetProduct` requests with product id: `OLJCESPC7Z` | -| `recommendationCache` | Recommendation | Create a memory leak due to an exponentially growing cache. 1.4x growth, 50% of requests trigger growth. | +| Feature Flag | Service(s) | Description | +| ----------------------------------- | --------------- | -------------------------------------------------------------------------------------------------------------- | +| `adServiceFailure` | Ad Service | Generate an error for `GetAds` 1/10th of the time | +| `cartServiceFailure` | Cart Service | Generate an error for `EmptyCart` 1/10th of the time | +| `productCatalogFailure` | Product Catalog | Generate an error for `GetProduct` requests with product id: `OLJCESPC7Z` | +| `recommendationServiceCacheFailure` | Recommendation | Create a memory leak due to an exponentially growing cache. 1.4x growth, 50% of requests trigger growth. | ## Feature Flag Architecture From 89b3d35b51a771a03ea70cf93da592f4932af150 Mon Sep 17 00:00:00 2001 From: Chris Thain <32781396+cthain@users.noreply.github.com> Date: Wed, 13 Mar 2024 13:31:02 -0700 Subject: [PATCH 2/4] Fix table formatting in feature-flags.md --- content/en/docs/demo/feature-flags.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/en/docs/demo/feature-flags.md b/content/en/docs/demo/feature-flags.md index 527c5e4720c6..1e216cb355d8 100644 --- a/content/en/docs/demo/feature-flags.md +++ b/content/en/docs/demo/feature-flags.md @@ -13,11 +13,11 @@ feature flag service that supports [OpenFeature](https://openfeature.dev). Flag values are stored in the `demo.flagd.json` file. To enable a flag, change the `defaultVariant` value in the config file for a given flag to "on". -| Feature Flag | Service(s) | Description | -| ----------------------------------- | --------------- | -------------------------------------------------------------------------------------------------------------- | -| `adServiceFailure` | Ad Service | Generate an error for `GetAds` 1/10th of the time | -| `cartServiceFailure` | Cart Service | Generate an error for `EmptyCart` 1/10th of the time | -| `productCatalogFailure` | Product Catalog | Generate an error for `GetProduct` requests with product id: `OLJCESPC7Z` | +| Feature Flag | Service(s) | Description | +| ----------------------------------- | --------------- | -------------------------------------------------------------------------------------------------------- | +| `adServiceFailure` | Ad Service | Generate an error for `GetAds` 1/10th of the time | +| `cartServiceFailure` | Cart Service | Generate an error for `EmptyCart` 1/10th of the time | +| `productCatalogFailure` | Product Catalog | Generate an error for `GetProduct` requests with product id: `OLJCESPC7Z` | | `recommendationServiceCacheFailure` | Recommendation | Create a memory leak due to an exponentially growing cache. 1.4x growth, 50% of requests trigger growth. | ## Feature Flag Architecture From 201ddc6b40f5d946c9d3a4cf809ad583b580d1ac Mon Sep 17 00:00:00 2001 From: Phillip Carter Date: Sat, 16 Mar 2024 07:59:58 -0700 Subject: [PATCH 3/4] Update content/en/docs/demo/feature-flags.md --- content/en/docs/demo/feature-flags.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/content/en/docs/demo/feature-flags.md b/content/en/docs/demo/feature-flags.md index 0e94e7c45de7..c7c8a67cf58e 100644 --- a/content/en/docs/demo/feature-flags.md +++ b/content/en/docs/demo/feature-flags.md @@ -13,12 +13,12 @@ feature flag service that supports [OpenFeature](https://openfeature.dev). Flag values are stored in the `demo.flagd.json` file. To enable a flag, change the `defaultVariant` value in the config file for a given flag to "on". -| Feature Flag | Service(s) | Description | -| ----------------------------------- | --------------- | -------------------------------------------------------------------------------------------------------- | -| `adServiceFailure` | Ad Service | Generate an error for `GetAds` 1/10th of the time | -| `cartServiceFailure` | Cart Service | Generate an error for `EmptyCart` 1/10th of the time | -| `productCatalogFailure` | Product Catalog | Generate an error for `GetProduct` requests with product id: `OLJCESPC7Z` | -| `recommendationServiceCacheFailure` | Recommendation | Create a memory leak due to an exponentially growing cache. 1.4x growth, 50% of requests trigger growth. | +| Feature Flag | Service(s) | Description | +| ----------------------------------- | ---------------- | -------------------------------------------------------------------------------------------------------- | +| `adServiceFailure` | Ad Service | Generate an error for `GetAds` 1/10th of the time | +| `cartServiceFailure` | Cart Service | Generate an error for `EmptyCart` 1/10th of the time | +| `productCatalogFailure` | Product Catalog | Generate an error for `GetProduct` requests with product id: `OLJCESPC7Z` | +| `recommendationServiceCacheFailure` | Recommendation | Create a memory leak due to an exponentially growing cache. 1.4x growth, 50% of requests trigger growth. | | `paymentServiceFailure` | Payment Service | Generate an error when calling the `charge` method | | `paymentServiceUnreachable` | Checkout Service | Use a bad address when calling the PaymentService to make it seem like the PaymentService is unavailable. | From 32fef7593619950905a51b107e3b3e3136bfa685 Mon Sep 17 00:00:00 2001 From: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com> Date: Sat, 16 Mar 2024 15:02:26 +0000 Subject: [PATCH 4/4] Results from /fix:all --- content/en/docs/demo/feature-flags.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/content/en/docs/demo/feature-flags.md b/content/en/docs/demo/feature-flags.md index c7c8a67cf58e..80e2a7d283dc 100644 --- a/content/en/docs/demo/feature-flags.md +++ b/content/en/docs/demo/feature-flags.md @@ -13,12 +13,12 @@ feature flag service that supports [OpenFeature](https://openfeature.dev). Flag values are stored in the `demo.flagd.json` file. To enable a flag, change the `defaultVariant` value in the config file for a given flag to "on". -| Feature Flag | Service(s) | Description | -| ----------------------------------- | ---------------- | -------------------------------------------------------------------------------------------------------- | -| `adServiceFailure` | Ad Service | Generate an error for `GetAds` 1/10th of the time | -| `cartServiceFailure` | Cart Service | Generate an error for `EmptyCart` 1/10th of the time | -| `productCatalogFailure` | Product Catalog | Generate an error for `GetProduct` requests with product id: `OLJCESPC7Z` | -| `recommendationServiceCacheFailure` | Recommendation | Create a memory leak due to an exponentially growing cache. 1.4x growth, 50% of requests trigger growth. | +| Feature Flag | Service(s) | Description | +| ----------------------------------- | ---------------- | --------------------------------------------------------------------------------------------------------- | +| `adServiceFailure` | Ad Service | Generate an error for `GetAds` 1/10th of the time | +| `cartServiceFailure` | Cart Service | Generate an error for `EmptyCart` 1/10th of the time | +| `productCatalogFailure` | Product Catalog | Generate an error for `GetProduct` requests with product id: `OLJCESPC7Z` | +| `recommendationServiceCacheFailure` | Recommendation | Create a memory leak due to an exponentially growing cache. 1.4x growth, 50% of requests trigger growth. | | `paymentServiceFailure` | Payment Service | Generate an error when calling the `charge` method | | `paymentServiceUnreachable` | Checkout Service | Use a bad address when calling the PaymentService to make it seem like the PaymentService is unavailable. |