Skip to content

Commit

Permalink
Cleanup metricbeat configuration (#1383)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruflin authored and andrewkroh committed Apr 19, 2016
1 parent 79bd08a commit 02cf206
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions metricbeat/etc/beat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ metricbeat:
modules:

# Apache Module
# Server-status page (/server-status) is configurable string in apache and
# must be defined by user
- module: apache
metricsets: ["status"]
hosts: ["http://127.0.0.1/"]
period: 1s
enabled: true
period: 1s

# Apache hosts
hosts: ["http://127.0.0.1/"]

# Path to server status. Default server-status
#server_status_path: "server-status"
Expand All @@ -22,7 +22,10 @@ metricbeat:
# Redis Module
- module: redis
metricsets: ["info"]
enabled: true
period: 1s

# Redis hosts
hosts: ["127.0.0.1:6379"]

# Enabled defines if the module is enabled. Default: true
Expand Down
11 changes: 7 additions & 4 deletions metricbeat/metricbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ metricbeat:
modules:

# Apache Module
# Server-status page (/server-status) is configurable string in apache and
# must be defined by user
- module: apache
metricsets: ["status"]
hosts: ["http://127.0.0.1/"]
period: 1s
enabled: true
period: 1s

# Apache hosts
hosts: ["http://127.0.0.1/"]

# Path to server status. Default server-status
#server_status_path: "server-status"
Expand All @@ -22,7 +22,10 @@ metricbeat:
# Redis Module
- module: redis
metricsets: ["info"]
enabled: true
period: 1s

# Redis hosts
hosts: ["127.0.0.1:6379"]

# Enabled defines if the module is enabled. Default: true
Expand Down

0 comments on commit 02cf206

Please sign in to comment.