Skip to content

Commit

Permalink
Update and fix textlinter (#4728)
Browse files Browse the repository at this point in the history
Signed-off-by: svrnm <neumanns@cisco.com>
  • Loading branch information
svrnm committed Jun 21, 2024
1 parent 0fb2b47 commit 22821f4
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .textlintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ filters:
enablingComment: prettier-ignore-end
allowlist:
allow:
# Don't check registry .yml file fields for language, repo and tags:
- '/^\s*(?:language|repo|name|docs): .*$/m'
# Don't check registry .yml file fields for language, repo, url and tags:
- '/^\s*(?:language|repo|name|docs|url): .*$/m'
- /^(?:tags):(\s*-.+$)*/m
# Hugo template syntax:
- /{{.*?}}/
Expand Down
2 changes: 1 addition & 1 deletion content/en/blog/2023/end-user-q-and-a-01.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ They are hoping to leverage
[OpenTelemetry’s Exemplars](/docs/specs/otel/metrics/data-model/#exemplars) to
link traces and metrics.

### How is the organization sending telemetry data to various observability back-ends?
### How is the organization sending telemetry data to various observability backends?

J’s team uses a combination of the proprietary backend agent and the
OpenTelemetry Collector (for metrics). They are one of the primary users of
Expand Down
4 changes: 2 additions & 2 deletions content/en/docs/collector/management.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ We will set up a simple OpAMP control plane consisting of an example OpAMP
server and let an OpenTelemetry Collector connect to it via an example OpAMP
supervisor.

First, clone the `open-telemetry/opamp-go` repo:
First, clone the `open-telemetry/opamp-go` repository:

```sh
git clone https://github.com/open-telemetry/opamp-go.git
Expand Down Expand Up @@ -159,7 +159,7 @@ service:
```

Now it's time to launch the supervisor (which in turn will launch your
OpenTelemetry collector):
OpenTelemetry Collector):

```console
$ go run .
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/demo/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ solve them.
We'll be adding more scenarios over time.

- Generate a [Product Catalog error](feature-flags) for `GetProduct` requests
with product id: `OLJCESPC7Z` using the Feature Flag service
with product ID: `OLJCESPC7Z` using the Feature Flag service
- Discover a memory leak and diagnose it using metrics and traces.
[Read more](scenarios/recommendation-cache/)

Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/demo/feature-flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ change the `defaultVariant` value in the config file for a given flag to "on".
| `adServiceManualGc` | Ad Service | Trigger full manual garbage collections in the ad service |
| `adServiceHighCpu` | Ad Service | Trigger high cpu load in the ad service. If you want to demo cpu throttling, set cpu resource limits |
| `cartServiceFailure` | Cart Service | Generate an error for `EmptyCart` 1/10th of the time |
| `productCatalogFailure` | Product Catalog | Generate an error for `GetProduct` requests with product id: `OLJCESPC7Z` |
| `productCatalogFailure` | Product Catalog | Generate an error for `GetProduct` requests with product ID: `OLJCESPC7Z` |
| `recommendationServiceCacheFailure` | Recommendation | Create a memory leak due to an exponentially growing cache. 1.4x growth, 50% of requests trigger growth. |
| `paymentServiceFailure` | Payment Service | Generate an error when calling the `charge` method. |
| `paymentServiceUnreachable` | Checkout Service | Use a bad address when calling the PaymentService to make it seem like the PaymentService is unavailable. |
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/languages/js/serverless.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ If you are interested in a plug and play user experience, see

### Dependencies

First, create an empty package.json:
First, create an empty `package.json`:

```sh
npm init -y
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/languages/php/instrumentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ See [Exporters](/docs/languages/php/exporters)
OpenTelemetry can be used to measure and record different types of metrics from
an application, which can then be
[pushed](/docs/specs/otel/metrics/sdk/#push-metric-exporter) to a metrics
service such as the OpenTelemetry collector:
service such as the OpenTelemetry Collector:

- counter
- async counter
Expand Down
4 changes: 2 additions & 2 deletions content/en/docs/languages/python/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ pip install -e ./opentelemetry-sdk

## Repositories and benchmarks

- Main repo: [opentelemetry-python][]
- Contrib repo: [opentelemetry-python-contrib][]
- Main repository: [opentelemetry-python][]
- Contrib repository: [opentelemetry-python-contrib][]

[opentelemetry-python]: https://github.com/open-telemetry/opentelemetry-python
[opentelemetry-python-contrib]:
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/languages/ruby/exporters.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ end
```

If you now run your application, set the environment variable
`OTEL_TRACES_EXPORTER` to zipkin:
`OTEL_TRACES_EXPORTER` to Zipkin:

```sh
env OTEL_TRACES_EXPORTER=zipkin rails server
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/languages/ruby/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ For more elaborate examples, see [examples](/docs/languages/ruby/examples/).

### Dependencies

To begin, install rails:
To begin, install Rails:

```sh
gem install rails
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"textlint": "^14.0.4",
"textlint-filter-rule-allowlist": "^4.0.0",
"textlint-filter-rule-comments": "^1.2.2",
"textlint-rule-terminology": "^5.0.10",
"textlint-rule-terminology": "^5.0.15",
"through2": "^4.0.2",
"yargs": "^17.7.2"
},
Expand Down

0 comments on commit 22821f4

Please sign in to comment.