From be59f4107a42db070544ae500fe63666410f1901 Mon Sep 17 00:00:00 2001 From: Yang Song Date: Wed, 31 Jul 2019 02:39:59 -0700 Subject: [PATCH] Fix all typos (#199) Changes are generated with $ misspell -w . See https://github.com/client9/misspell --- specification/api-tracing.md | 2 +- specification/sdk-exporter.md | 2 +- work_in_progress/specification/resource/Resource.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/api-tracing.md b/specification/api-tracing.md index 272a6ed917a..0944888c3e8 100644 --- a/specification/api-tracing.md +++ b/specification/api-tracing.md @@ -404,7 +404,7 @@ record already completed span - [`SpanData`](#spandata) API HAVE TO be used. ## Status `Status` interface represents the status of a finished `Span`. It's composed of -a canonical code in conjuction with an optional descriptive message. +a canonical code in conjunction with an optional descriptive message. ### StatusCanonicalCode diff --git a/specification/sdk-exporter.md b/specification/sdk-exporter.md index 461a1796b0c..50c2c720cdc 100644 --- a/specification/sdk-exporter.md +++ b/specification/sdk-exporter.md @@ -46,7 +46,7 @@ Shuts down the exporter. Called when SDK is shut down. This is an opportunity fo ## Further Language Specialization -Based on the generic interface definition layed out above library authors must define the exact interface for the particular language. +Based on the generic interface definition laid out above library authors must define the exact interface for the particular language. Authors are encouraged to use efficient data structures on the interface boundary that are well suited for fast serialization to wire formats by protocol exporters and minimize the pressure on memory managers. The latter typically requires understanding of how to optimize the rapidly-generated, short-lived telemetry data structures to make life easier for the memory manager of the specific language. General recommendation is to minimize the number of allocations and use allocation arenas where possible, thus avoiding explosion of allocation/deallocation/collection operations in the presence of high rate of telemetry data generation. diff --git a/work_in_progress/specification/resource/Resource.md b/work_in_progress/specification/resource/Resource.md index f87bc763a5b..9040b984a9e 100644 --- a/work_in_progress/specification/resource/Resource.md +++ b/work_in_progress/specification/resource/Resource.md @@ -38,12 +38,12 @@ an agent attaches further labels about the underlying VM, the cluster, or geo-lo ### From environment variables Population of resource information from environment variables MUST be provided by the -core library. It provides the user with an ubiquitious way to manually provide information +core library. It provides the user with an ubiquitous way to manually provide information that may not be detectable automatically through available integration libraries. Two environment variables are used: * `OC_RESOURCE_TYPE`: defines the resource type. Leading and trailing whitespaces are trimmed. -* `OC_RESOURCE_LABELS`: defines resource labels as a comma-seperated list of key/value pairs +* `OC_RESOURCE_LABELS`: defines resource labels as a comma-separated list of key/value pairs (`[ ="value" [ ,="" ... ] ]`). `"` characters in values MUST be escaped with `\`. For example: