Skip to content

Commit 037e672

Browse files
authored
Verify spelling fixes pass check-spelling
2 parents d249533 + c68d1d6 commit 037e672

File tree

37 files changed

+88
-88
lines changed

37 files changed

+88
-88
lines changed

.github/workflows/generate_workflows_lib/src/generate_workflows_lib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def get_misc_job_datas(tox_envs: list) -> list:
173173
def _generate_workflow(
174174
job_datas: list, name: str, workflow_directory_path: Path, max_jobs=250
175175
):
176-
# Github seems to limit the amount of jobs in a workflow file, that is why
176+
# GitHub seems to limit the amount of jobs in a workflow file, that is why
177177
# they are split in groups of 250 per workflow file.
178178
for file_number, job_datas in enumerate(
179179
[

CHANGELOG.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
503503
([#1879](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1879))
504504
- Add optional distro and configurator selection for auto-instrumentation
505505
([#1823](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1823))
506-
- `opentelemetry-instrumentation-django` - Add option to add Opentelemetry middleware at specific position in middleware chain
506+
- `opentelemetry-instrumentation-django` - Add option to add OpenTelemetry middleware at specific position in middleware chain
507507
([#2912]https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2912)
508508

509509
### Added
@@ -536,7 +536,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
536536
([#1762](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1762))
537537
- `opentelemetry-instrumentation-celery` Add support for anonymous tasks.
538538
([#1407](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1407))
539-
- `opentelemetry-instrumentation-logging` Add `otelTraceSampled` to instrumetation-logging
539+
- `opentelemetry-instrumentation-logging` Add `otelTraceSampled` to instrumentation-logging
540540
([#1773](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1773))
541541

542542
### Changed
@@ -620,7 +620,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
620620
([#1575](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1575))
621621
- Fix SQLAlchemy uninstrumentation
622622
([#1581](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1581))
623-
- `opentelemetry-instrumentation-grpc` Fix code()/details() of \_OpentelemetryServicerContext.
623+
- `opentelemetry-instrumentation-grpc` Fix code()/details() of \_OpenTelemetryServicerContext.
624624
([#1578](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1578))
625625
- Fix aiopg instrumentation to work with aiopg < 2.0.0
626626
([#1473](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1473))
@@ -702,7 +702,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
702702
- `opentelemetry-instrumentation-django` Fixed bug where auto-instrumentation fails when django is installed and settings are not configured.
703703
([#1369](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1369))
704704
- `opentelemetry-instrumentation-system-metrics` add supports to collect system thread count. ([#1339](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1339))
705-
- `opentelemetry-exporter-richconsole` Fixing RichConsoleExpoter to allow multiple traces, fixing duplicate spans and include resources ([#1336](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1336))
705+
- `opentelemetry-exporter-richconsole` Fixing RichConsoleExporter to allow multiple traces, fixing duplicate spans and include resources ([#1336](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1336))
706706
- `opentelemetry-instrumentation-asgi` Add support for regular expression matching and sanitization of HTTP headers.
707707
([#1333](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1333))
708708
- `opentelemetry-instrumentation-asgi` metrics record target attribute (FastAPI only)
@@ -730,7 +730,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
730730
([#1377](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1377))
731731
- `opentelemetry-instrumentation-asgi` Fix keys() in class ASGIGetter so it decodes the keys before returning them.
732732
([#1333](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1333))
733-
- `opentelemetry-instrumentation-asgi` Make ASGIGetter.get() compare all keys in a case insensitive manner.
733+
- `opentelemetry-instrumentation-asgi` Make ASGIGetter.get() compare all keys in a case-insensitive manner.
734734
([#1333](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1333))
735735
- Use resp.text instead of resp.body for Falcon 3 to avoid a deprecation warning.
736736
([#1412](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1412))
@@ -828,7 +828,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
828828
([#1117](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1117))
829829
- `opentelemetry-instrumentation-remoulade` Initial release
830830
([#1082](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1082))
831-
- Added `opentelemetry-instrumention-confluent-kafka`
831+
- Added `opentelemetry-instrumentation-confluent-kafka`
832832
([#1111](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1111))
833833
- Set otlp-proto-grpc as the default metrics exporter for auto-instrumentation
834834
([#1127](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1127))
@@ -984,7 +984,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
984984
- `opentelemetry-instrumentation-pymongo` now supports `pymongo v4`
985985
([#876](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/876))
986986

987-
- `opentelemetry-instrumentation-httpx` now supports versions higher than `0.19.0`.
987+
- `opentelemetry-instrumentation-httpx` now supports versions greater than `0.19.0`.
988988
([#866](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/866))
989989

990990
### Fixed
@@ -1109,7 +1109,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11091109
([#667](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/667))
11101110
- `opentelemetry-instrumentation-urllib3`, `opentelemetry-instrumentation-requests`
11111111
The `net.peer.ip` attribute is set to the IP of the connected HTTP server or proxy
1112-
using a new instrumentor in `opententelemetry-util-http`
1112+
using a new instrumentor in `opentelemetry-util-http`
11131113
([#661](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/661))
11141114
- `opentelemetry-instrumentation-pymongo` Add check for suppression key in PyMongo.
11151115
([#736](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/736))
@@ -1165,7 +1165,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11651165

11661166
- `opentelemetry-sdk-extension-aws` Add AWS resource detectors to extension package
11671167
([#586](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/586))
1168-
- `opentelemetry-instrumentation-asgi`, `opentelemetry-instrumentation-aiohttp-client`, `openetelemetry-instrumentation-fastapi`,
1168+
- `opentelemetry-instrumentation-asgi`, `opentelemetry-instrumentation-aiohttp-client`, `opentelemetry-instrumentation-fastapi`,
11691169
`opentelemetry-instrumentation-starlette`, `opentelemetry-instrumentation-urllib`, `opentelemetry-instrumentation-urllib3` Added `request_hook` and `response_hook` callbacks
11701170
([#576](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/576))
11711171
- `opentelemetry-instrumentation-pika` added RabbitMQ's pika module instrumentation.
@@ -1217,7 +1217,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12171217
([#566](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/566))
12181218
- Include Flask 2.0 as compatible with existing flask instrumentation
12191219
([#545](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/545))
1220-
- `openelemetry-sdk-extension-aws` Take a dependency on `opentelemetry-sdk`
1220+
- `opentelemetry-sdk-extension-aws` Take a dependency on `opentelemetry-sdk`
12211221
([#558](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/558))
12221222
- Change `opentelemetry-instrumentation-httpx` to replace `client` classes with instrumented versions.
12231223
([#577](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/577))
@@ -1321,23 +1321,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13211321
- `opentelemetry-instrumentation-flask` Added `request_hook` and `response_hook` callbacks.
13221322
([#416](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/416))
13231323

1324-
- `opentelemetry-instrumenation-django` now supports request and response hooks.
1324+
- `opentelemetry-instrumentation-django` now supports request and response hooks.
13251325
([#407](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/407))
13261326
- `opentelemetry-instrumentation-falcon` FalconInstrumentor now supports request/response hooks.
13271327
([#415](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/415))
13281328
- `opentelemetry-instrumentation-tornado` Add request/response hooks.
13291329
([#426](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/426))
13301330
- `opentelemetry-exporter-datadog` Add parsing exception events for error tags.
13311331
([#459](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/459))
1332-
- `opentelemetry-instrumenation-django` now supports trace response headers.
1332+
- `opentelemetry-instrumentation-django` now supports trace response headers.
13331333
([#436](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/436))
1334-
- `opentelemetry-instrumenation-tornado` now supports trace response headers.
1334+
- `opentelemetry-instrumentation-tornado` now supports trace response headers.
13351335
([#436](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/436))
1336-
- `opentelemetry-instrumenation-pyramid` now supports trace response headers.
1336+
- `opentelemetry-instrumentation-pyramid` now supports trace response headers.
13371337
([#436](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/436))
1338-
- `opentelemetry-instrumenation-falcon` now supports trace response headers.
1338+
- `opentelemetry-instrumentation-falcon` now supports trace response headers.
13391339
([#436](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/436))
1340-
- `opentelemetry-instrumenation-flask` now supports trace response headers.
1340+
- `opentelemetry-instrumentation-flask` now supports trace response headers.
13411341
([#436](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/436))
13421342
- `opentelemetry-instrumentation-grpc` Keep client interceptor in sync with grpc client interceptors.
13431343
([#442](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/442))
@@ -1391,7 +1391,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13911391
- Remove `component` span attribute in instrumentations.
13921392
`opentelemetry-instrumentation-aiopg`, `opentelemetry-instrumentation-dbapi` Remove unused `database_type` parameter from `trace_integration` function.
13931393
([#301](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/301))
1394-
- `opentelemetry-instrumentation-asgi` Return header values using case insensitive keys
1394+
- `opentelemetry-instrumentation-asgi` Return header values using case-insensitive keys
13951395
([#308](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/308))
13961396
- Remove metrics from all instrumentations
13971397
([#312](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/312))

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ Some of the tox targets install packages from the [OpenTelemetry Python Core Rep
248248
CORE_REPO_SHA=c49ad57bfe35cfc69bfa863d74058ca9bec55fc3 tox
249249
```
250250

251-
The continuous integration overrides that environment variable with as per the configuration [here](https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/.github/workflows/test_0.yml#L14).
251+
The continuous integration overrides that environment variable with as per [the configuration](https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/.github/workflows/test_0.yml#L14).
252252

253253
## Style Guide
254254

@@ -263,15 +263,15 @@ The continuous integration overrides that environment variable with as per the c
263263
Below is a checklist of things to be mindful of when implementing a new instrumentation or working on a specific instrumentation. It is one of our goals as a community to keep the implementation specific details of instrumentations as similar across the board as possible for ease of testing and feature parity. It is also good to abstract as much common functionality as possible.
264264

265265
- Follow semantic conventions
266-
- The instrumentation should follow the semantic conventions defined [here](https://github.com/open-telemetry/semantic-conventions/tree/main/docs).
266+
- The instrumentation should follow the [semantic conventions](https://github.com/open-telemetry/semantic-conventions/tree/main/docs).
267267
- To ensure consistency, we encourage contributions that align with [STABLE](https://opentelemetry.io/docs/specs/otel/document-status/#lifecycle-status) semantic conventions if available. This approach helps us avoid potential confusion and reduces the need to support multiple outdated versions of semantic conventions. However, we are still open to considering exceptional cases where changes are well justified.
268268
- Contributions related to outdated HTTP semantic conventions (conventions prior to becoming [stable](https://github.com/open-telemetry/semantic-conventions/tree/v1.23.0)) will likely be discouraged, as they increase complexity and the potential for misconceptions.
269269
- Contains a name that is not already claimed in [Pypi](https://pypi.org/). Contact a maintainer, bring the issue up in the weekly Python SIG or create a ticket in Pypi if a desired name has already been taken.
270270
- Extends from [BaseInstrumentor](https://github.com/open-telemetry/opentelemetry-python-contrib/blob/2518a4ac07cb62ad6587dd8f6cbb5f8663a7e179/opentelemetry-instrumentation/src/opentelemetry/instrumentation/instrumentor.py#L35)
271271
- Supports auto-instrumentation
272272
- Add an entry point (ex. <https://github.com/open-telemetry/opentelemetry-python-contrib/blob/2518a4ac07cb62ad6587dd8f6cbb5f8663a7e179/instrumentation/opentelemetry-instrumentation-requests/pyproject.toml#L44>)
273273
- Run `python scripts/generate_instrumentation_bootstrap.py` after adding a new instrumentation package.
274-
- Functionality that is common amongst other instrumentation and can be abstracted [here](https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/opentelemetry-instrumentation/src/opentelemetry/instrumentation)
274+
- Functionality that is [common amongst other instrumentation and can be abstracted](https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/opentelemetry-instrumentation/src/opentelemetry/instrumentation)
275275
- Request/response [hooks](https://github.com/open-telemetry/opentelemetry-python-contrib/issues/408) for http instrumentations
276276
- `suppress_instrumentation` functionality
277277
- ex. <https://github.com/open-telemetry/opentelemetry-python-contrib/blob/2518a4ac07cb62ad6587dd8f6cbb5f8663a7e179/opentelemetry-instrumentation/src/opentelemetry/instrumentation/utils.py#L191>
@@ -290,7 +290,7 @@ Below is a checklist of things to be mindful of when implementing a new instrume
290290
- ex. <https://github.com/open-telemetry/opentelemetry-python-contrib/blob/60fb936b7e5371b3e5587074906c49fb873cbd76/instrumentation/opentelemetry-instrumentation-grpc/tests/test_aio_server_interceptor.py#L84>
291291
- Most of the instrumentations have the same version. If you are going to develop a new instrumentation it would probably have `X.Y.dev` version and depends on `opentelemetry-instrumentation` and `opentelemetry-semantic-conventions` for a [compatible version](https://peps.python.org/pep-0440/#compatible-release). That means that you may need to install the instrumentation dependencies from this repo and the core repo from git.
292292
- Documentation
293-
- When adding a new instrumentation remember to add an entry in `docs/instrumentation/` named `<instrumentation>/<instrumentation>.rst` to have the instrumentation documentation referenced from the index. You can use the entry template available [here](./_template/autodoc_entry.rst)
293+
- When adding a new instrumentation remember to add an entry in `docs/instrumentation/` named `<instrumentation>/<instrumentation>.rst` to have the instrumentation documentation referenced from the index. You can use the [entry template](./_template/autodoc_entry.rst)
294294
- Testing
295295
- When adding a new instrumentation remember to update `tox.ini` adding appropriate rules in `envlist`, `command_pre` and `commands` sections
296296

RELEASING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The workflow will create a pull request that should be merged in order to procee
6868
* Review and merge the pull request that it creates for updating the change log in main
6969
(note that if this is not a patch release then the change log on main may already be up-to-date,
7070
in which case no pull request will be created).
71-
* Verify that a new [Github release](https://github.com/open-telemetry/opentelemetry-python-contrib/releases) has been created and that the CHANGELOGs look correct.
71+
* Verify that a new [GitHub release](https://github.com/open-telemetry/opentelemetry-python-contrib/releases) has been created and that the CHANGELOGs look correct.
7272

7373
### Releasing individual package
7474

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
# Add a .nojekyll file to the generated HTML docs
106106
# https://help.github.com/en/articles/files-that-start-with-an-underscore-are-missing
107107
"sphinx.ext.githubpages",
108-
# Support external links to different versions in the Github repo
108+
# Support external links to different versions in the GitHub repo
109109
"sphinx.ext.extlinks",
110110
]
111111

@@ -182,7 +182,7 @@ def getlistcfg(strval):
182182
# so a file named "default.css" will overwrite the builtin "default.css".
183183
html_static_path = []
184184

185-
# Support external links to specific versions of the files in the Github repo
185+
# Support external links to specific versions of the files in the GitHub repo
186186
branch = os.environ.get("READTHEDOCS_VERSION")
187187
if branch is None or branch == "latest":
188188
branch = "main"

exporter/opentelemetry-exporter-prometheus-remote-write/example/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ data
1414
*Users do not need to install Python as the app will be run in the Docker Container*
1515

1616
## Instructions
17-
1. Run `docker-compose up -d` in the the `example/` directory
17+
1. Run `docker-compose up -d` in the `example/` directory
1818

1919
The `-d` flag causes all services to run in detached mode and frees up your
2020
terminal session. This also causes no logs to show up. Users can attach themselves to the service's logs manually using `docker logs ${CONTAINER_ID} --follow`

exporter/opentelemetry-exporter-prometheus-remote-write/src/opentelemetry/exporter/prometheus_remote_write/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def _sanitize_string(string: str, type_: str) -> str:
296296
raise TypeError(f"Unsupported string type: {type_}")
297297

298298
# Remove consecutive underscores
299-
# TODO: Unfortunately this clobbbers __name__
299+
# TODO: Unfortunately this clobbers __name__
300300
# sanitized = UNDERSCORE_REGEX.sub("_",sanitized)
301301

302302
return sanitized

instrumentation/opentelemetry-instrumentation-aio-pika/tests/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from yarl import URL
55

66
AIOPIKA_VERSION_INFO = tuple(int(v) for v in aiopika_version.split("."))
7-
MESSAGE_ID = "meesage_id"
7+
MESSAGE_ID = "message_id"
88
CORRELATION_ID = "correlation_id"
99
MESSAGING_SYSTEM = "rabbitmq"
1010
EXCHANGE_NAME = "exchange_name"

instrumentation/opentelemetry-instrumentation-asgi/tests/test_getter.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@ def test_get_(self):
3737
self.assertEqual(
3838
getter.get(carrier, "Test-Key"),
3939
expected_val,
40-
"Should be case insensitive",
40+
"Should be case-insensitive",
4141
)
4242
self.assertEqual(
4343
getter.get(carrier, "test-key"),
4444
expected_val,
45-
"Should be case insensitive",
45+
"Should be case-insensitive",
4646
)
4747
self.assertEqual(
4848
getter.get(carrier, "TEST-KEY"),
4949
expected_val,
50-
"Should be case insensitive",
50+
"Should be case-insensitive",
5151
)
5252

5353
def test_keys_empty_carrier(self):

0 commit comments

Comments
 (0)