Skip to content

Commit

Permalink
docs: replace supportsOpenTelemetry with `openTelemetryDocumentatio…
Browse files Browse the repository at this point in the history
…n` path
  • Loading branch information
evansims committed Aug 20, 2024
1 parent b760997 commit 6bcb438
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config/clients/java/config.overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions config/clients/js/config.overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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": {},
Expand Down
2 changes: 1 addition & 1 deletion config/clients/python/config.overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"infoEmail": "[email protected]",
"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",
Expand Down
6 changes: 3 additions & 3 deletions config/common/files/README.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6bcb438

Please sign in to comment.