From 60603b2e89fce17ca5170baa94a78a4cc7397015 Mon Sep 17 00:00:00 2001 From: sbiscigl Date: Thu, 13 Jul 2023 09:59:46 -0400 Subject: [PATCH] fix cspell --- .cspell.json | 4 +++- .../include/aws/core/monitoring/HttpClientMetrics.h | 4 ++-- .../include/smithy/tracing/NoopMeterProvider.h | 4 ++-- .../smithy/tracing/impl/opentelemetry/OtelTracerProvider.cpp | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.cspell.json b/.cspell.json index bcbd2727e5c..daf705460c9 100644 --- a/.cspell.json +++ b/.cspell.json @@ -59,7 +59,9 @@ // Aws common runtime libraries "mqtt", // Aws common runtime API - "Mtls" + "Mtls", + // Opentelemtry + "Otel", "opentelemetry", "nostd", "OPTEL" ], "ignoreWords": [ // variables defined in ConcurrentStreamBuf diff --git a/src/aws-cpp-sdk-core/include/aws/core/monitoring/HttpClientMetrics.h b/src/aws-cpp-sdk-core/include/aws/core/monitoring/HttpClientMetrics.h index 54ea6d67bdb..b704d1b993c 100644 --- a/src/aws-cpp-sdk-core/include/aws/core/monitoring/HttpClientMetrics.h +++ b/src/aws-cpp-sdk-core/include/aws/core/monitoring/HttpClientMetrics.h @@ -70,8 +70,8 @@ namespace Aws SslLatency, /** - * Request teh SDK to have access to the download speed in bytes per - * second for a reqeust. + * Request the SDK to have access to the download speed in bytes per + * second for a request. */ Throughput, diff --git a/src/aws-cpp-sdk-core/include/smithy/tracing/NoopMeterProvider.h b/src/aws-cpp-sdk-core/include/smithy/tracing/NoopMeterProvider.h index eb56d4564db..e232461373f 100644 --- a/src/aws-cpp-sdk-core/include/smithy/tracing/NoopMeterProvider.h +++ b/src/aws-cpp-sdk-core/include/smithy/tracing/NoopMeterProvider.h @@ -11,7 +11,7 @@ namespace smithy { namespace components { namespace tracing { - class NoopGauageHandle : public GaugeHandle { + class NoopGaugeHandle : public GaugeHandle { public: void Stop() override {} }; @@ -48,7 +48,7 @@ namespace smithy { AWS_UNREFERENCED_PARAM(callback); AWS_UNREFERENCED_PARAM(units); AWS_UNREFERENCED_PARAM(description); - return Aws::MakeUnique("NO_OP"); + return Aws::MakeUnique("NO_OP"); } Aws::UniquePtr CreateUpDownCounter(Aws::String name, diff --git a/src/aws-cpp-sdk-core/source/smithy/tracing/impl/opentelemetry/OtelTracerProvider.cpp b/src/aws-cpp-sdk-core/source/smithy/tracing/impl/opentelemetry/OtelTracerProvider.cpp index 17f25c5f679..2b65a4a59f6 100644 --- a/src/aws-cpp-sdk-core/source/smithy/tracing/impl/opentelemetry/OtelTracerProvider.cpp +++ b/src/aws-cpp-sdk-core/source/smithy/tracing/impl/opentelemetry/OtelTracerProvider.cpp @@ -8,7 +8,7 @@ using namespace smithy::components::tracing; -static const char * ALLOC_TAG = "OTEL_TRAVER_PROVIDER"; +static const char * ALLOC_TAG = "OTEL_TRACER_PROVIDER"; std::shared_ptr OtelTracerProvider::GetTracer(Aws::String scope, const Aws::Map &attributes) {