Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
telegraf-nftables
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Due to inactivity, this project is scheduled to be deleted on 2035-04-24.
Why is this scheduled?
Show more breadcrumbs
vqgroup
telegraf-nftables
Commits
e31d91f0
Commit
e31d91f0
authored
7 years ago
by
Daniel Nelson
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add queues to rabbitmq documentation (#3135)
parent
3006ccbf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
plugins/inputs/rabbitmq/README.md
+6
-2
6 additions, 2 deletions
plugins/inputs/rabbitmq/README.md
plugins/inputs/rabbitmq/rabbitmq.go
+6
-3
6 additions, 3 deletions
plugins/inputs/rabbitmq/rabbitmq.go
with
12 additions
and
5 deletions
plugins/inputs/rabbitmq/README.md
+
6
−
2
View file @
e31d91f0
...
@@ -33,9 +33,13 @@ For additional details reference the [RabbitMQ Management HTTP Stats](https://cd
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
plugins/inputs/rabbitmq/rabbitmq.go
+
6
−
3
View file @
e31d91f0
...
@@ -48,7 +48,6 @@ type RabbitMQ struct {
...
@@ -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 = `
...
@@ -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 ...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment