From 6bcb4383e2b3de6bb8dc9a10fa9b61997fa3d8ce Mon Sep 17 00:00:00 2001 From: Evan Sims Date: Tue, 20 Aug 2024 16:01:53 -0500 Subject: [PATCH] docs: replace `supportsOpenTelemetry` with `openTelemetryDocumentation` path --- config/clients/java/config.overrides.json | 2 +- config/clients/js/config.overrides.json | 4 ++-- config/clients/python/config.overrides.json | 2 +- config/common/files/README.mustache | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config/clients/java/config.overrides.json b/config/clients/java/config.overrides.json index 0704d78b..ce6a90e1 100644 --- a/config/clients/java/config.overrides.json +++ b/config/clients/java/config.overrides.json @@ -31,7 +31,7 @@ "enumUnknownDefaultCase": true, "allowUnicodeIdentifiers": true, "caseInsensitiveResponseHeaders": true, - "supportsOpenTelemetry": true, + "openTelemetryDocumentation": "OpenTelemetry.md", "files": { "auth-model.json": { "destinationFilename": "src/test-integration/resources/auth-model.json", diff --git a/config/clients/js/config.overrides.json b/config/clients/js/config.overrides.json index bf49783c..cecf556a 100644 --- a/config/clients/js/config.overrides.json +++ b/config/clients/js/config.overrides.json @@ -10,7 +10,7 @@ "useSingleRequestParameter": false, "supportsES6": true, "modelPropertyNaming": "original", - "supportsOpenTelemetry": true, + "openTelemetryDocumentation": "opentelemetry.md", "files": { ".github/workflows/main.yaml.mustache": { "destinationFilename": ".github/workflows/main.yaml", @@ -119,7 +119,7 @@ "destinationFilename": "example/example1/package.json", "templateType": "SupportingFiles" }, - "example/opentelemetry/.npmrc": {}, + "example/opentelemetry/.npmrc": {}, "example/opentelemetry/opentelemetry.mjs": {}, "example/opentelemetry/README.md": {}, "example/opentelemetry/instrumentation.mjs": {}, diff --git a/config/clients/python/config.overrides.json b/config/clients/python/config.overrides.json index 5b8bbdc1..430802cd 100644 --- a/config/clients/python/config.overrides.json +++ b/config/clients/python/config.overrides.json @@ -10,7 +10,7 @@ "infoEmail": "community@openfga.dev", "docPrefix": "https://github.com/openfga/python-sdk/blob/main/", "pythonMinimumRuntime": "3.10", - "supportsOpenTelemetry": true, + "openTelemetryDocumentation": "opentelemetry.md", "files": { ".github/workflows/main.yaml.mustache": { "destinationFilename": ".github/workflows/main.yaml", diff --git a/config/common/files/README.mustache b/config/common/files/README.mustache index 54cf7006..f79e351a 100644 --- a/config/common/files/README.mustache +++ b/config/common/files/README.mustache @@ -112,12 +112,12 @@ If your server is configured with [authentication enabled]({{docsUrl}}/getting-s {{>README_models}} -{{#supportsOpenTelemetry}} +{{#openTelemetryDocumentation}} ### OpenTelemetry -This SDK supports producing metrics that can be consumed as part of an [OpenTelemetry](https://opentelemetry.io/) setup. For more information, please see [the documentation](https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}/blob/main/docs/opentelemetry.md) +This SDK supports producing metrics that can be consumed as part of an [OpenTelemetry](https://opentelemetry.io/) setup. For more information, please see [the documentation](https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}/blob/main/docs/{{openTelemetryDocumentation}}) -{{/supportsOpenTelemetry}} +{{/openTelemetryDocumentation}} ## Contributing ### Issues