From e5157268363ab44fb69429f265c7113cd2981ac2 Mon Sep 17 00:00:00 2001 From: Juli Tera Date: Wed, 17 Jul 2024 09:10:10 -0700 Subject: [PATCH] Add config documentation --- .../smithy/ruby/codegen/middleware/MiddlewareBuilder.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/codegen/smithy-ruby-codegen/src/main/java/software/amazon/smithy/ruby/codegen/middleware/MiddlewareBuilder.java b/codegen/smithy-ruby-codegen/src/main/java/software/amazon/smithy/ruby/codegen/middleware/MiddlewareBuilder.java index ef7cbdff9..ac14e045f 100644 --- a/codegen/smithy-ruby-codegen/src/main/java/software/amazon/smithy/ruby/codegen/middleware/MiddlewareBuilder.java +++ b/codegen/smithy-ruby-codegen/src/main/java/software/amazon/smithy/ruby/codegen/middleware/MiddlewareBuilder.java @@ -241,7 +241,11 @@ private Collection getDefaultClientConfig() { .build(); String telemetryProviderDocumentation = """ - TODO + A telemetry provider is used to emit telemetry data. By default, this + functionality is disabled. The SDK currently supports OpenTelemetry (OTel) + as a provider. To use the OTel provider, load the `opentelemetry-sdk` gem + and then, pass in an instance of a `Hearth::Telemetry::OTelProvider` + for telemetry provider. """; ClientConfig telemetryProvider = ClientConfig.builder() .name("telemetry_provider")