Skip to content

Commit

Permalink
Fix typos of “it's” where “its” is meant (open-telemetry#2039)
Browse files Browse the repository at this point in the history
  • Loading branch information
musicinmybrain authored Aug 16, 2021
1 parent 5e0a465 commit 93fa54d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion opentelemetry-api/src/opentelemetry/trace/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def start_as_current_span(
as the current span in this tracer's context.
Exiting the context manager will call the span's end method,
as well as return the current span to it's previous value by
as well as return the current span to its previous value by
returning to the previous context.
Example::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def parse_args():
parser = argparse.ArgumentParser(
description="""
opentelemetry-instrument automatically instruments a Python
program and it's dependencies and then runs the program.
program and its dependencies and then runs the program.
"""
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
This module implements experimental propagators to inject trace context
into response carriers. This is useful for server side frameworks that start traces
when server requests and want to share the trace context with the client so the
client can add it's spans to the same trace.
client can add its spans to the same trace.
This is part of an upcoming W3C spec and will eventually make it to the Otel spec.
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-sdk/src/opentelemetry/sdk/trace/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ class SpanLimits:
All limit arguments must be either a non-negative integer, ``None`` or ``SpanLimits.UNSET``.
- All limit arguments are optional.
- If a limit argument is not set, the class will try to read it's value from the corresponding
- If a limit argument is not set, the class will try to read its value from the corresponding
environment variable.
- If the environment variable is not set, the default value for the limit is used.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ class SpanAttributes:
MESSAGING_KAFKA_MESSAGE_KEY = "messaging.kafka.message_key"
"""
Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message_id` in that they're not unique. If the key is `null`, the attribute MUST NOT be set.
Note: If the key type is not string, it's string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value.
Note: If the key type is not string, its string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value.
"""

MESSAGING_KAFKA_CONSUMER_GROUP = "messaging.kafka.consumer_group"
Expand Down

0 comments on commit 93fa54d

Please sign in to comment.