Add queues to rabbitmq documentation (#3135)
This commit is contained in:
parent
d008ffca1a
commit
2ec1f63ae6
|
@ -33,9 +33,13 @@ For additional details reference the [RabbitMQ Management HTTP Stats](https://cd
|
||||||
## Includes connection time, any redirects, and reading the response body.
|
## Includes connection time, any redirects, and reading the response body.
|
||||||
# client_timeout = "4s"
|
# client_timeout = "4s"
|
||||||
|
|
||||||
## A list of nodes to pull metrics about. If not specified, metrics for
|
## A list of nodes to gather as the rabbitmq_node measurement. If not
|
||||||
## all nodes are gathered.
|
## specified, metrics for all nodes are gathered.
|
||||||
# nodes = ["rabbit@node1", "rabbit@node2"]
|
# nodes = ["rabbit@node1", "rabbit@node2"]
|
||||||
|
|
||||||
|
## A list of queues to gather as the rabbitmq_queue measurement. If not
|
||||||
|
## specified, metrics for all queues are gathered.
|
||||||
|
# queues = ["telegraf"]
|
||||||
```
|
```
|
||||||
|
|
||||||
### Measurements & Fields:
|
### Measurements & Fields:
|
||||||
|
|
|
@ -48,7 +48,6 @@ type RabbitMQ struct {
|
||||||
ResponseHeaderTimeout internal.Duration `toml:"header_timeout"`
|
ResponseHeaderTimeout internal.Duration `toml:"header_timeout"`
|
||||||
ClientTimeout internal.Duration `toml:"client_timeout"`
|
ClientTimeout internal.Duration `toml:"client_timeout"`
|
||||||
|
|
||||||
// InsecureSkipVerify bool
|
|
||||||
Nodes []string
|
Nodes []string
|
||||||
Queues []string
|
Queues []string
|
||||||
|
|
||||||
|
@ -165,9 +164,13 @@ var sampleConfig = `
|
||||||
## Includes connection time, any redirects, and reading the response body.
|
## Includes connection time, any redirects, and reading the response body.
|
||||||
# client_timeout = "4s"
|
# client_timeout = "4s"
|
||||||
|
|
||||||
## A list of nodes to pull metrics about. If not specified, metrics for
|
## A list of nodes to gather as the rabbitmq_node measurement. If not
|
||||||
## all nodes are gathered.
|
## specified, metrics for all nodes are gathered.
|
||||||
# nodes = ["rabbit@node1", "rabbit@node2"]
|
# nodes = ["rabbit@node1", "rabbit@node2"]
|
||||||
|
|
||||||
|
## A list of queues to gather as the rabbitmq_queue measurement. If not
|
||||||
|
## specified, metrics for all queues are gathered.
|
||||||
|
# queues = ["telegraf"]
|
||||||
`
|
`
|
||||||
|
|
||||||
// SampleConfig ...
|
// SampleConfig ...
|
||||||
|
|
Loading…
Reference in New Issue