From 2c70be2d20a835a897fb7bd0c35f67c0ba92b56d Mon Sep 17 00:00:00 2001 From: Huang Chen-Yi Date: Thu, 5 Sep 2024 03:25:14 +0800 Subject: [PATCH] Fix some typos in loki.process component (#1604) --- docs/sources/reference/components/loki/loki.process.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/sources/reference/components/loki/loki.process.md b/docs/sources/reference/components/loki/loki.process.md index 601f0d2e46..0e9d78f793 100644 --- a/docs/sources/reference/components/loki/loki.process.md +++ b/docs/sources/reference/components/loki/loki.process.md @@ -659,7 +659,7 @@ The following arguments are supported: | Name | Type | Description | Default | Required | |---------------------|------------|-----------------------------------------------------------------------------------------------------------|--------------------------|----------| | `name` | `string` | The metric name. | | yes | -| `action` | `string` | The action to take. Valid actions are `set`, `inc`, `dec`,` add`, or `sub`. | | yes | +| `action` | `string` | The action to take. Valid actions are `inc` and `add`. | | yes | | `description` | `string` | The metric's description and help text. | `""` | no | | `source` | `string` | Key from the extracted data map to use for the metric. Defaults to the metric name. | `""` | no | | `prefix` | `string` | The prefix to the metric name. | `"loki_process_custom_"` | no | @@ -682,7 +682,7 @@ The following arguments are supported: | Name | Type | Description | Default | Required | |---------------------|------------|-------------------------------------------------------------------------------------|--------------------------|----------| | `name` | `string` | The metric name. | | yes | -| `action` | `string` | The action to take. Valid actions are `inc` and `add`. | | yes | +| `action` | `string` | The action to take. Valid actions are `inc`, `dec`, `set`, `add`, or `sub`. | | yes | | `description` | `string` | The metric's description and help text. | `""` | no | | `source` | `string` | Key from the extracted data map to use for the metric. Defaults to the metric name. | `""` | no | | `prefix` | `string` | The prefix to the metric name. | `"loki_process_custom_"` | no | @@ -692,7 +692,7 @@ The following arguments are supported: The valid `action` values are `inc`, `dec`, `set`, `add`, or `sub`. `inc` and `dec` increment and decrement the metric's value by 1 respectively. -If `set`, `add, or `sub` is chosen, the extracted value must be convertible to a positive float and is set, added to, or subtracted from the metric's value. +If `set`, `add`, or `sub` is chosen, the extracted value must be convertible to a positive float and is set, added to, or subtracted from the metric's value. #### metric.histogram block @@ -704,7 +704,7 @@ The following arguments are supported: | Name | Type | Description | Default | Required | |---------------------|---------------|-------------------------------------------------------------------------------------|--------------------------|----------| | `name` | `string` | The metric name. | | yes | -| `buckets` | `list(float)` | The action to take. Valid actions are `set`, `inc`, `dec`,` add`, or `sub`. | | yes | +| `buckets` | `list(float)` | Prefined buckets | | yes | | `description` | `string` | The metric's description and help text. | `""` | no | | `source` | `string` | Key from the extracted data map to use for the metric. Defaults to the metric name. | `""` | no | | `prefix` | `string` | The prefix to the metric name. | `"loki_process_custom_"` | no |