Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions gh-aw-test/retry-settings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
navigation_title: Retry settings
---

# Retry Settings For The Ingest Pipeline

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Headings use sentence case (formatting). Change # Retry Settings For The Ingest Pipeline to:

Suggested change
# Retry Settings For The Ingest Pipeline
# Retry settings for the ingest pipeline


Retries are configured by the user in the pipeline settings. When a bulk request fails, the request will be retried up to the configured maximum, and a backoff delay is applied by the pipeline between each attempt.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"the request will be retried" uses future tense. Use present tense (verb tense) and active voice (voice-tone):

Suggested change
Retries are configured by the user in the pipeline settings. When a bulk request fails, the request will be retried up to the configured maximum, and a backoff delay is applied by the pipeline between each attempt.
You configure retries in the pipeline settings. When a bulk request fails, the pipeline retries it up to the configured maximum and applies a backoff delay between attempts.


## Configure retries

To configure retries you should go into the settings file and set the following options, which is a really simple process:

Check notice on line 11 in gh-aw-test/retry-settings.md

View workflow job for this annotation

GitHub Actions / build / vale

Elastic.WordChoice: Consider using 'efficient, basic' instead of 'simple', unless the term is in the UI.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"you should go into the settings file" is wordy and addresses the reader indirectly (minimal wording). Line 7 says retries are set in the "pipeline settings", while this line says "settings file" and step 1 gives a URL, so the location of the settings is unclear. Use one term throughout:

Suggested change
To configure retries you should go into the settings file and set the following options, which is a really simple process:
To configure retries, set the following options in the pipeline settings:


1. Open the file at https://example.com/docs/settings
2. Set `max_retries` to the number of attempts you want.
3. Set `backoff_ms` to the delay between attempts.

Note: the default for `max_retries` is 5. Values above 10 are leveraged only in the legacy mode.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two issues on the quoted line "Values above 10 are leveraged only in the legacy mode": "leveraged" is jargon, so use "used" (word choice). "legacy mode" is also undefined, and the default and limit are unscoped by version, so link to or define that mode. Replace the plain Note: prefix with a MyST {note} admonition, or move the default into the step 2 text.


## Troubleshooting

If requests still fail after the max retries has been reached, the failures are logged by the pipeline and the batch is dropped. Check the logs for the `retry_exhausted` event.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Subject-verb disagreement in "the max retries has been reached" (grammar-spelling):

Suggested change
If requests still fail after the max retries has been reached, the failures are logged by the pipeline and the batch is dropped. Check the logs for the `retry_exhausted` event.
If requests still fail after the maximum number of retries is reached, the pipeline logs the failures and drops the batch. Check the logs for the `retry_exhausted` event.

Loading