Skip to content

Commit

Permalink
[chore] Fix typos (#1060)
Browse files Browse the repository at this point in the history
  • Loading branch information
kianmeng committed May 22, 2024
1 parent 9adff43 commit a47cced
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ This and earlier versions were released as part of [the Specification](https://g
([#2827](https://github.com/open-telemetry/opentelemetry-specification/pull/2827))
- Define semantic conventions yaml for non-otlp conventions
([#2850](https://github.com/open-telemetry/opentelemetry-specification/pull/2850))
- Add more semantic convetion attributes of Apache RocketMQ
- Add more semantic convention attributes of Apache RocketMQ
([#2881](https://github.com/open-telemetry/opentelemetry-specification/pull/2881))
- Add `process.runtime.jvm.memory.usage_after_last_gc` metric to semantic conventions.
([#2901](https://github.com/open-telemetry/opentelemetry-specification/pull/2901))
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ markdown-link-check:
# This target runs markdown-toc on all files that contain
# a comment <!-- tocstop -->.
#
# The recommended way to prepate a .md file for markdown-toc is
# The recommended way to prepare a .md file for markdown-toc is
# to add these comments:
#
# <!-- toc -->
Expand Down
2 changes: 1 addition & 1 deletion docs/attributes-registry/cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The following well-known definitions MUST be used if you set this attribute and
- **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
Take care not to use the "invoked ARN" directly but replace any
[alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html)
with the resolved function version, as the same runtime instance may be invokable with
with the resolved function version, as the same runtime instance may be invocable with
multiple different aliases.
- **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names)
- **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/rest/api/resources/resources/get-by-id) of the invoked function,
Expand Down
2 changes: 1 addition & 1 deletion docs/faas/faas-spans.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ The following well-known definitions MUST be used if you set this attribute and
* **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
Take care not to use the "invoked ARN" directly but replace any
[alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html)
with the resolved function version, as the same runtime instance may be invokable with
with the resolved function version, as the same runtime instance may be invocable with
multiple different aliases.
* **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names)
* **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/rest/api/resources/resources/get-by-id) of the invoked function,
Expand Down
2 changes: 1 addition & 1 deletion docs/general/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ over all attribute values SHOULD be equal to the **limit**.
out of its **limit** should be called `entity.utilization`. For example,
`system.memory.utilization` for the fraction of memory in use. Utilization can
be with respect to a fixed limit or a soft limit. Utilization values are
represended as a ratio and are typically in the range `[0, 1]`, but may go above 1
represented as a ratio and are typically in the range `[0, 1]`, but may go above 1
in case of exceeding a soft limit.

- **time** - an instrument that measures passage of time should be called
Expand Down
2 changes: 1 addition & 1 deletion docs/general/trace.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ aliases: [docs/specs/semconv/general/trace-general]

**Status**: [Mixed][DocumentStatus]

In OpenTelemetry spans can be created freely and it’s up to the implementor to
In OpenTelemetry spans can be created freely and it’s up to the implementer to
annotate them with attributes specific to the represented operation. Spans
represent specific operations in and between systems. Some of these operations
represent calls that use well-known protocols like HTTP or database calls.
Expand Down
2 changes: 1 addition & 1 deletion docs/resource/cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The following well-known definitions MUST be used if you set this attribute and
* **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
Take care not to use the "invoked ARN" directly but replace any
[alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html)
with the resolved function version, as the same runtime instance may be invokable with
with the resolved function version, as the same runtime instance may be invocable with
multiple different aliases.
* **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names)
* **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/rest/api/resources/resources/get-by-id) of the invoked function,
Expand Down
2 changes: 1 addition & 1 deletion docs/resource/faas.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ The following well-known definitions MUST be used if you set this attribute and
* **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
Take care not to use the "invoked ARN" directly but replace any
[alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html)
with the resolved function version, as the same runtime instance may be invokable with
with the resolved function version, as the same runtime instance may be invocable with
multiple different aliases.
* **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names)
* **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/rest/api/resources/resources/get-by-id) of the invoked function,
Expand Down
6 changes: 3 additions & 3 deletions internal/tools/schema_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ BUILD_TOOL_SCHEMAS_VERSION=0.24.0
# List of versions that do not require or have a schema.
declare -a skip_versions=("1.0.0" "1.0.1" "1.1.0" "1.2.0" "1.3.0" "1.6.0")

# Verifies remote avilability of a schema file.
# Verifies remote availability of a schema file.
#
# If the schema file is available for download, THEN we make sure it is exactly
# what is in the repository. If the file is not available for download,
Expand All @@ -32,7 +32,7 @@ verify_remote_availability() {
rm verify$ver
}

# Verifies remote avilability of a schema file in the current repository.
# Verifies remote availability of a schema file in the current repository.
#
# Args:
# 1 - version number
Expand Down Expand Up @@ -65,7 +65,7 @@ grep -o -e '## v[1-9].*\s' $root_dir/CHANGELOG.md | grep -o '[1-9].*' | while re
verify_remote_availability "$ver"
done

# Now check the content of all schema files in the ../shemas directory.
# Now check the content of all schema files in the ../schemas directory.
for file in $schemas_dir/*; do
# Filename is the version number.
ver=$(basename $file)
Expand Down
2 changes: 1 addition & 1 deletion model/metrics/system-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ groups:
unit: "{cpu}"
attributes: []

# sytem.memory.* metrics
# system.memory.* metrics
- id: metric.system.memory.usage
type: metric
metric_name: system.memory.usage
Expand Down
2 changes: 1 addition & 1 deletion model/registry/cloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ groups:
* **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
Take care not to use the "invoked ARN" directly but replace any
[alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html)
with the resolved function version, as the same runtime instance may be invokable with
with the resolved function version, as the same runtime instance may be invocable with
multiple different aliases.
* **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names)
* **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/rest/api/resources/resources/get-by-id) of the invoked function,
Expand Down
2 changes: 1 addition & 1 deletion model/registry/system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ groups:
stability: experimental
brief: "The logical CPU number [0..n-1]"
examples: [1]
# sytem.memory.* attribute group
# system.memory.* attribute group
- id: registry.system.memory
prefix: system.memory
type: attribute_group
Expand Down

0 comments on commit a47cced

Please sign in to comment.