Skip to content

Commit

Permalink
[Docs] prometheus.exporter.[blackbox, snmp] misc. fixes (#5187) (#5220)
Browse files Browse the repository at this point in the history
* Remove name from block arguments and add a sentence that a label is required

* Fix blocks header levels and move 'period and length' section

* Add suggested change

Co-authored-by: Clayton Cornell <[email protected]>

* Revert "Fix blocks header levels and move 'period and length' section"

This reverts commit 93a593a.

---------

Co-authored-by: Clayton Cornell <[email protected]>
(cherry picked from commit 31999c8)

Co-authored-by: Mischa Thompson <[email protected]>
  • Loading branch information
clayton-cornell and spartan0x117 authored Sep 14, 2023
1 parent 37cf7f5 commit 40407dd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,12 @@ target | [target][] | Configures a blackbox target. | yes
### target block

The `target` block defines an individual blackbox target.
The `target` block may be specified multiple times to define multiple targets.
The `target` block may be specified multiple times to define multiple targets. The label of the block is required and will be used in the target's `job` label.

Name | Type | Description | Default | Required
---- | ---- | ----------- | ------- | --------
`name` | `string` | Name of the target. | | yes
`address` | `string` | The address of the target to probe. | | yes
`module`| `string` | Blackbox module to use to probe. | `""` | no
| Name | Type | Description | Default | Required |
| --------- | -------- | ----------------------------------- | ------- | -------- |
| `address` | `string` | The address of the target to probe. | | yes |
| `module` | `string` | Blackbox module to use to probe. | `""` | no |

## Exported fields

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ scheduled interval. When this feature is enabled, CloudWatch metrics are gathere
of synchronously when the CloudWatch component is scraped.

The decoupled scraping feature reduces the number of API requests sent to AWS.
This feature also prevents component scrape timeouts when you gather high volumes of CloudWatch metrics
This feature also prevents component scrape timeouts when you gather high volumes of CloudWatch metrics.

| Name | Type | Description | Default | Required |
|-------------------|----------|-------------------------------------------------------------------------|---------|----------|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,14 @@ walk_param | [walk_param][] | SNMP connection profiles to override default SNMP
### target block

The `target` block defines an individual SNMP target.
The `target` block may be specified multiple times to define multiple targets.

Name | Type | Description | Default | Required
---- | ---- | ----------- | ------- | --------
`name` | `string` | Name of a snmp_target. | | yes
`address` | `string` | The address of SNMP device. | | yes
`module`| `string` | SNMP module to use for polling. | `""` | no
`auth` | `string` | SNMP authentication profile to use. | `""` | no
`walk_params`| `string` | Config to use for this target. | `""` | no
The `target` block may be specified multiple times to define multiple targets. The label of the block is required and will be used in the target's `job` label.

| Name | Type | Description | Default | Required |
| ------------- | -------- | ----------------------------------- | ------- | -------- |
| `address` | `string` | The address of SNMP device. | | yes |
| `module` | `string` | SNMP module to use for polling. | `""` | no |
| `auth` | `string` | SNMP authentication profile to use. | `""` | no |
| `walk_params` | `string` | Config to use for this target. | `""` | no |

### walk_param block

Expand Down

0 comments on commit 40407dd

Please sign in to comment.