Skip to content

Commit 8023bf0

Browse files
svrnmchalin
andauthored
Introduce additional textlint rules (#3011)
Co-authored-by: Patrice Chalin <chalin@users.noreply.github.com>
1 parent 03a4f28 commit 8023bf0

File tree

81 files changed

+260
-205
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+260
-205
lines changed

.textlintrc.json

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,34 +27,86 @@
2727
"skip": [],
2828
"terms": [
2929
".NET",
30+
"Ajax",
3031
"Apache",
32+
"API",
33+
"AWS",
34+
"Azure",
3135
"CNCF",
3236
"eBPF",
37+
"ECMAScript",
38+
"Elixir",
39+
"Erlang",
40+
"GCP",
41+
"GitHub",
3342
"gRPC",
43+
"GraphQL",
44+
"ID",
45+
"iOS",
3446
"HTTP",
3547
"Jaeger",
48+
"Java",
49+
"JavaScript",
50+
"Jetty",
51+
"JMX",
3652
"K8s",
53+
"Kafka",
3754
"KubeCon",
3855
"Kubernetes",
56+
"MacBook",
57+
"macOS",
3958
"MySQL",
4059
"NGINX",
60+
"OK",
4161
"OpenTelemetry Collector",
4262
"OTel",
4363
"OTEP",
64+
"Phoenix",
4465
"PHP",
66+
"Python",
4567
"PostgreSQL",
4668
"protobuf",
69+
"Rails",
70+
"Redis",
71+
"Ruby",
72+
"Rust",
73+
"SemVer",
74+
"SDK",
75+
"SQL",
4776
"SQLite",
77+
"Swift",
4878
"Thanos",
4979
"Traefik",
80+
"TypeScript",
81+
"URL",
82+
"WordPress",
83+
"YouTube",
5084
"Zend",
5185
"Zipkin",
86+
["3rd[- ]party", "third-party"],
87+
["bug[- ]fix(es)?", "bugfix$1"],
88+
["cpp", "C++"],
89+
["dotnet", ".NET"],
5290
["[^\\.]json", "JSON"],
91+
["[^\\.]html", "HTML"],
92+
["he or she", "they"],
93+
["he/she", "they"],
94+
["\\(s\\)he", "they"],
95+
["id['’]?s", "IDs"],
96+
["Mac ?OS", "macOS"],
97+
["meta[- ]data", "metadata"],
5398
["[Nn]ode\\.?[Jj][sS]", "Node.js"],
5499
["open-source", "open source"],
55100
["[Oo]pen[- ]?[Tt]elemetry", "OpenTelemetry"],
101+
["OS X", "macOS"],
102+
["postgres", "PostgreSQL"],
56103
["psr[ -]?([0-9]+)", "PSR-$1"],
57-
["regexes", "regular expressions"]
104+
["React[ .]js", "React"],
105+
["regexp?(s)?", "regular expression$1"],
106+
["repo\\b", "repository"],
107+
["repos", "repositories"],
108+
["screen[- ]shot(s)?", "screenshot$1"],
109+
["time[- ]stamp(s)?", "timestamp$1"]
58110
]
59111
}
60112
}

content/en/blog/2022/collector-builder-sample/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,12 +284,12 @@ config changes and new components as compiled into the updated image.
284284
## Automate builds for secure, up-to-date images
285285

286286
Building your own Collector allows you to control updates and rollouts of the
287-
Collector image. In this repo, we have some samples of how you can own your
288-
Collector build on GCP.
287+
Collector image. In this repository, we have some samples of how you can own
288+
your Collector build on GCP.
289289

290290
Using a [Cloud Build](https://cloud.google.com/build) configuration supports
291291
serverless, automated builds for your Collector. By doing so you can benefit
292-
from new releases, features, and bug fixes in Collector components with minimal
292+
from new releases, features, and bugfixes in Collector components with minimal
293293
delay. Combined with
294294
[Artifact Registry](https://cloud.google.com/artifact-registry), these builds
295295
can be pushed as Docker images in your GCP project. This provides portability

content/en/blog/2022/debug-otel-with-otel/index.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ of OpenTelemetry to identify the root cause of bug in another feature.
1717
In this blog post, we want to share this interesting experience with you. By
1818
that, you will learn that minor differences in the language-specific
1919
implementations can have interesting implications and that you have a feature
20-
for java & python, which is here to help you to debug context propagation
20+
for Java and Python, which is here to help you to debug context propagation
2121
issues.
2222

2323
## The issue
@@ -27,14 +27,14 @@ issues.
2727
For the blog post [Learn how to instrument NGINX with OpenTelemetry][] we
2828
created a small sample app that had a frontend application in Node.js, that
2929
called an NGINX, which acted as a reverse proxy for a backend application in
30-
python.
30+
Python.
3131

3232
Our goal was to create a re-usable `docker-compose` that would not only show
3333
people how to instrument NGINX with OpenTelemetry, but also how a distributed
3434
trace crossing the web server would look like.
3535

3636
While Jaeger showed us a trace flowing from the frontend application down to the
37-
NGINX, the connection between NGINX and python app was not visible: we had two
37+
NGINX, the connection between NGINX and Python app was not visible: we had two
3838
disconnected traces.
3939

4040
This came as a surprise, because in a prior test with a Java application as
@@ -44,7 +44,7 @@ application.
4444
### Steps to reproduce
4545

4646
Follow the instructions on how you can [put NGINX between two services][].
47-
Replace the java-based application with a python application, e.g. put following
47+
Replace the java-based application with a Python application, e.g. put following
4848
three files into the `backend` folder instead:
4949

5050
- `app.py`:
@@ -156,21 +156,21 @@ the `frontend` down to NGINX, and another one only for the `python-app`.
156156

157157
### The hints
158158

159-
Since the setup worked with a java application in the backend, we knew that the
160-
problem was either caused by the python application or by the combination of the
161-
NGINX instrumentation and the python application.
159+
Since the setup worked with a Java application in the backend, we knew that the
160+
problem was either caused by the Python application or by the combination of the
161+
NGINX instrumentation and the Python application.
162162

163-
We could quickly rule out that the python application alone was the issue:
163+
We could quickly rule out that the Python application alone was the issue:
164164
trying out a simple Node.js application as backend, we got the same result: two
165165
traces, one from frontend to NGINX, another one for the Node.js application
166166
alone.
167167

168168
With that, we knew that we had a propagation issue: the trace context was not
169-
transferred successfully from NGINX down to the python and Node.js application.
169+
transferred successfully from NGINX down to the Python and Node.js application.
170170

171171
### The analysis
172172

173-
Knowing that the issue does not occur with java and that it is likely a broken
173+
Knowing that the issue does not occur with Java and that it is likely a broken
174174
propagation, we knew what we had to do: we needed to see the trace headers.
175175

176176
Gladly, the instrumentations for [Java][] and [Python][] have a feature that

content/en/blog/2022/demo-announcement/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ represented, demo support will be extended to Metrics and Logs, and canonical
1414
scenarios will be documented for each signal, with fault injection, and more!
1515

1616
If you want to skip the details then clone our
17-
[repo](https://github.com/open-telemetry/opentelemetry-demo) then run
17+
[repository](https://github.com/open-telemetry/opentelemetry-demo) then run
1818
`docker compose up`[^1] from the command line. There are a couple
1919
[technology requirements](https://github.com/open-telemetry/opentelemetry-demo-webstore#local-quickstart)
2020
so be sure to check those out too.
@@ -73,7 +73,7 @@ Otherwise the pre-existing feature set from the GCP demo remains the same:
7373
Node.js, Python, and Ruby)
7474
- Ruby support was added within the last 2 weeks of publishing date
7575
- Designed to work on docker locally
76-
- Uses redis cache
76+
- Uses Redis cache
7777
- Auto-instrumentation using instrumentation libraries Tracing support for the
7878
gRPC, Redis, and HTTP libraries
7979
- Jaeger visualizations for distributed traces, forwarded by OpenTelemetry
@@ -148,7 +148,7 @@ ourselves to just the items listed here.
148148

149149
We’re still at the beginning of our journey but there’s great momentum behind
150150
this project. If you’re interested in contributing we’d love your support. There
151-
are links in our GitHub repo on how to get involved and you can
151+
are links in our GitHub repository on how to get involved and you can
152152
[track our overall progress](https://github.com/open-telemetry/opentelemetry-demo/issues)
153153
from there.
154154

content/en/blog/2022/gc-elections.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ the community.
6161
## Questions?
6262

6363
For any election related questions, please file an issue on the
64-
[community repo](https://github.com/open-telemetry/community/issues) here and
65-
tag [@jpkrohling](https://github.com/jpkrohling),
64+
[community repository](https://github.com/open-telemetry/community/issues) here
65+
and tag [@jpkrohling](https://github.com/jpkrohling),
6666
[@bogdandrutu](https://github.com/bogdandrutu), and
6767
[@bhs](https://github.com/bhs). Or send us a message on
6868
[CNCF Slack](https://slack.cncf.io/) in

content/en/blog/2022/go-web-app-instrumentation/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ with OpenTelemetry Go without prior knowledge.
1515
We will start with creating a simple to-do app that uses Mongo and the Gin
1616
framework. Then, we will send tracing data to Jaeger Tracing for visualization.
1717
You can find all the relevant files in this
18-
[Github repository](https://github.com/aspecto-io/opentelemetry-examples/tree/master/go).
18+
[GitHub repository](https://github.com/aspecto-io/opentelemetry-examples/tree/master/go).
1919

2020
![OpenTelemetry Go - The Mandalorian](OpenTelemetry-Go-The-Mandalorian-2048x1406.png)
2121

content/en/blog/2022/instrument-apache-httpd-server/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ quick guide to get started with the module.
2222

2323
Getting started with the OpenTelemetry module for Apache HTTP Server is pretty
2424
simple, all you need is a docker engine and git. Download the source code from
25-
github and then build the docker image on CentOS7[^1]:
25+
GitHub and then build the docker image on CentOS7[^1]:
2626

2727
```sh
2828
git clone https://github.com/open-telemetry/opentelemetry-cpp-contrib
@@ -99,8 +99,8 @@ Zipkin backend. The following steps are required to be done.
9999

100100
![Php-Config](php-config.png)
101101

102-
- Create a file named as `index.html` in the **/var/www/html** directory and add
103-
the following text
102+
- Create a file named as `index.html` in the `**/var/www/html**` directory and
103+
add the following text
104104

105105
```html
106106
<!doctype html>

content/en/blog/2022/instrument-nginx/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ might be a service calling NGINX to reach that down stream service.
195195
Add two more services to the running example:
196196

197197
- A Node.js service called `frontend` that sits at the front and calls the NGINX
198-
- A java service called `backend` that sits behind the NGINX
198+
- A Java service called `backend` that sits behind the NGINX
199199

200200
Update the `docker-compose` file to contain those 2 services and to overwrite
201201
the `default.conf` in NGINX:

content/en/blog/2022/k8s-otel-expose/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ article
3939
[How TLS provides identification, authentication, confidentiality, and integrity](https://www.ibm.com/docs/en/ibm-mq/9.1?topic=tls-how-provides-identification-authentication-confidentiality-integrity)
4040
and the Collector
4141
[TLS-Config](https://github.com/open-telemetry/opentelemetry-collector/blob/v0.58.0/config/configtls/README.md)
42-
description on Github.
42+
description on GitHub.
4343

4444
If you are interested in using an external authentication provider, I advise you
4545
to have a look at the article
@@ -421,7 +421,7 @@ Kubernetes components, the configurations differ a lot. Overall the
421421
configuration is very error-prone. In the future the exposing of the collector
422422
should be simplified with the help of the OpenTelemetry operator. If you are
423423
interested in the development, you can follow
424-
[Github issue #902](https://github.com/open-telemetry/opentelemetry-operator/issues/902)
424+
[GitHub issue #902](https://github.com/open-telemetry/opentelemetry-operator/issues/902)
425425
to stay updated.
426426

427427
## References

content/en/blog/2022/otel-demo-app-nomad/index.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,16 @@ In order to run the example in this tutorial, you’ll need the following:
4242
- [Docker](https://docker.com) (version 20.10.21 at the time of this writing)
4343
- [Vagrant](https://vagrantup.com) (version 2.3.1 at the time of this writing)
4444

45-
### Tutorial Repos
45+
### Tutorial Repositories
4646

47-
Below are the repos that we’ll be using for today’s tutorial:
47+
Below are the repositories that we’ll be using for today’s tutorial:
4848

49-
- My modified [HashiQube Repo](https://github.com/avillela/hashiqube) (fork of
50-
[servian/hashiqube](https://github.com/servian/hashiqube)). If you’re curious,
51-
you can see what modifications I’ve made
49+
- My modified [HashiQube Repository](https://github.com/avillela/hashiqube)
50+
(fork of [servian/hashiqube](https://github.com/servian/hashiqube)). If you’re
51+
curious, you can see what modifications I’ve made
5252
[here](https://github.com/avillela/hashiqube).
53-
- My [Nomad Conversions](https://github.com/avillela/nomad-conversions) repo
53+
- My [Nomad Conversions](https://github.com/avillela/nomad-conversions)
54+
repository
5455

5556
### HashiQube Setup
5657

@@ -59,7 +60,7 @@ Before you start, just a friendly reminder that HashiQube by default runs
5960
on Docker. In addition, we’ll be deploying 21 job specs to Nomad. This means
6061
that we’ll need a decent amount of CPU and RAM, so please make sure that you
6162
have enough resources allocated in your Docker desktop. For reference, I’m
62-
running an M1 Macbook Pro with 8 cores and 32 GB RAM. My Docker Desktop Resource
63+
running an M1 MacBook Pro with 8 cores and 32 GB RAM. My Docker Desktop Resource
6364
settings are as follows:
6465

6566
- **CPUs:** 3
@@ -125,7 +126,7 @@ vagrant ssh
125126

126127
We’re finally ready to deploy the OTel Demo App!
127128

128-
First, let’s clone the repo, and go to our working directory:
129+
First, let’s clone the repository, and go to our working directory:
129130

130131
```shell
131132
git clone https://github.com/avillela/nomad-conversions.git
@@ -229,7 +230,7 @@ of the services:
229230
![Screen capture of Consul service health. All services healthy.](consul-service-health.png 'Screen capture of Consul service health. All services healthy.')
230231

231232
By default, unhealthy services show up at the top, with a red “x” next to them.
232-
Since we don’t see any nasty red “x”s in the above screen shot, we know that our
233+
Since we don’t see any nasty red “x”s in the above screenshot, we know that our
233234
services are lookin’ good!
234235

235236
#### 5- Access the OTel Demo App

content/en/blog/2022/tail-sampling/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ You also have the flexibility to add other policies. Here are a few examples:
134134
- `latency`: Sample based on the duration of the trace. For example, you could
135135
sample all traces that take longer than 5 seconds.
136136
- `string_attribute`: Sample based on string attribute values, both exact and
137-
regex value matches are supported. For example, you could sample based on
138-
specific custom attribute values.
137+
regular expression value matches are supported. For example, you could sample
138+
based on specific custom attribute values.
139139

140140
## Potential issues with tail sampling
141141

@@ -215,7 +215,7 @@ under active development, including the tail sampling processor and the
215215
collector. For the tail sampling processor, there is currently an
216216
[open issue](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/1797)
217217
in the
218-
[collector-contrib repo](https://github.com/open-telemetry/opentelemetry-collector-contrib)
218+
[collector-contrib repository](https://github.com/open-telemetry/opentelemetry-collector-contrib)
219219
to discuss the future of this processor that centers around replacing it with
220220
separate processors, so that the chain of events is well-defined and understood.
221221
One of the main issues the community is trying to figure out is whether using

content/en/blog/2022/troubleshooting-nodejs.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ To use an auto instrumentation library in your service, you’ll need to:
7777
For most users, the following should cover it:
7878

7979
```js
80-
// First run `npm install @opentelemetry/instrumentation-foo @opentelemetry/instrumentation-bar
81-
// Replace foo and bar with the actual packages you need to instrument (http/mysql/redis etc)
80+
// First run: npm install @opentelemetry/instrumentation-foo @opentelemetry/instrumentation-bar
81+
// Replace foo and bar with the actual packages you need to instrument (HTTP/mySQL/Redis etc)
8282
import { FooInstrumentation } from '@opentelemetry/instrumentation-foo';
8383
import { BarInstrumentation } from '@opentelemetry/instrumentation-bar';
8484
import { registerInstrumentations } from '@opentelemetry/instrumentation';
@@ -88,7 +88,7 @@ registerInstrumentations({
8888
});
8989
```
9090

91-
For advanced users who choose to use the low-level api instead of calling
91+
For advanced users who choose to use the low-level API instead of calling
9292
`registerInstrumentations`, make sure your instrumentation is set to use the
9393
right tracer provider and that you call `enable()` if appropriate.
9494

@@ -152,9 +152,9 @@ might not be supported and thus no spans will be created.
152152

153153
Consult the documentation of the library you are using to verify if your version
154154
is compatible. This data is usually found in the README for the instrumentation,
155-
for example see the [redis README][].
155+
for example see the [Redis README][].
156156

157-
[redis readme]:
157+
[Redis readme]:
158158
https://www.npmjs.com/package/@opentelemetry/instrumentation-redis
159159

160160
## No Recording and Non-Sampled Spans
@@ -367,7 +367,7 @@ channels:
367367

368368
### Resources
369369

370-
- [Opentelemetry-js GitHub repo](https://github.com/open-telemetry/opentelemetry-js)
370+
- [Opentelemetry-js GitHub repository](https://github.com/open-telemetry/opentelemetry-js)
371371
- [The OpenTelemetry Bootcamp](https://www.aspecto.io/opentelemetry-bootcamp/)
372372
- [OpenTelemetry docs](/docs/)
373373

content/en/blog/2022/v1.0-trio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ canonical_url: https://medium.com/opentelemetry/opentelemetry-erlang-elixir-java
66
---
77

88
We are kicking off the new year with a bang! In the last couple months, three
9-
new languages (Ruby, Javascript, and Erlang/Elixir) have had their first 1.0
9+
new languages (Ruby, JavaScript, and Erlang/Elixir) have had their first 1.0
1010
releases, joining the existing GA releases from C++, Go, Java, .Net, Python and
1111
Swift. Read all the details from the [announcement][].
1212

content/en/blog/2023/demo-birthday/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ since we declared general availability with our
1515
### Project Milestones
1616

1717
The demo has achieved remarkable milestones in its first year, with more than
18-
**70 contributors, 20 official vendor forks, 780 Github stars, and 180K Docker
18+
**70 contributors, 20 official vendor forks, 780 GitHub stars, and 180K Docker
1919
pulls**. The project team has been hard at work adding new capabilities and
2020
improving on existing ones with more than _460 merged PRs, 5 re-written services
2121
in new languages, and 7 brand new components / services_.
@@ -33,7 +33,7 @@ changed between our 1.0.0 and 1.4.0 releases? Quite a lot actually.
3333
Helm_
3434
- **More out of the box dashboards like our
3535
[Collector Data Flow Dashboard](/docs/demo/collector-data-flow-dashboard/)**
36-
- **A myriad of frontend bug fixes**
36+
- **A myriad of frontend bugfixes**
3737
- _Our first
3838
[Connector](https://github.com/open-telemetry/opentelemetry-collector/blob/main/connector/README.md)
3939
in the Collector to demonstrate how telemetry pipelines can be linked_

0 commit comments

Comments
 (0)