Skip to content

Commit

Permalink
Add queues to rabbitmq documentation (influxdata#3135)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnelson authored Aug 18, 2017
1 parent 3006ccb commit e31d91f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
8 changes: 6 additions & 2 deletions plugins/inputs/rabbitmq/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
# client_timeout = "4s"

## A list of nodes to pull metrics about. If not specified, metrics for
## all nodes are gathered.
## A list of nodes to gather as the rabbitmq_node measurement. If not
## specified, metrics for all nodes are gathered.
# 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:
Expand Down
9 changes: 6 additions & 3 deletions plugins/inputs/rabbitmq/rabbitmq.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ type RabbitMQ struct {
ResponseHeaderTimeout internal.Duration `toml:"header_timeout"`
ClientTimeout internal.Duration `toml:"client_timeout"`

// InsecureSkipVerify bool
Nodes []string
Queues []string

Expand Down Expand Up @@ -165,9 +164,13 @@ var sampleConfig = `
## Includes connection time, any redirects, and reading the response body.
# client_timeout = "4s"
## A list of nodes to pull metrics about. If not specified, metrics for
## all nodes are gathered.
## A list of nodes to gather as the rabbitmq_node measurement. If not
## specified, metrics for all nodes are gathered.
# 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 ...
Expand Down

0 comments on commit e31d91f

Please sign in to comment.