Skip to content

Commit

Permalink
Adds a couchbase module for metricbeat (elastic#3081)
Browse files Browse the repository at this point in the history
  • Loading branch information
paschdan authored and suraj-soni committed Dec 15, 2016
1 parent d7139ac commit bd083b4
Show file tree
Hide file tree
Showing 45 changed files with 7,403 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ https://github.com/elastic/beats/compare/v5.1.1...master[Check the HEAD diff]

*Metricbeat*
- Kafka module broker matching enhancements. {pull}3129[3129]
- Add a couchbase module with metricsets for node, cluster and bucker. {pull}3081[3081]


*Packetbeat*
Expand Down
7 changes: 7 additions & 0 deletions metricbeat/_meta/beat.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ metricbeat.modules:
# Password of hosts. Empty by default
#password: test123

#------------------------------ couchbase Module -----------------------------
#- module: couchbase
#metricsets: ["cluster", "node", "bucket"]
#enabled: true
#period: 10s
#hosts: ["localhost:8091"]

#------------------------------- Docker Module -------------------------------
#- module: docker
#metricsets: ["cpu", "info", "memory", "network", "diskio", "container"]
Expand Down
9 changes: 7 additions & 2 deletions metricbeat/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ services:
build: ${PWD}/.
links:
- apache
- couchbase
- mongodb
- kafka
- mysql
Expand All @@ -15,6 +16,9 @@ services:
environment:
- APACHE_HOST=apache
- APACHE_PORT=80
- COUCHBASE_HOST=couchbase
- COUCHBASE_PORT=8091
- COUCHBASE_DSN=http://Administrator:password@couchbase:8091
- KAFKA_HOST=kafka
- KAFKA_PORT=9092
- NGINX_HOST=nginx
Expand Down Expand Up @@ -50,6 +54,9 @@ services:
apache:
build: ${PWD}/module/apache/_meta

couchbase:
build: ${PWD}/module/couchbase/_meta

kafka:
image: spotify/kafka
expose:
Expand Down Expand Up @@ -80,5 +87,3 @@ services:

zookeeper:
image: jplock/zookeeper:3.4.8


1 change: 1 addition & 0 deletions metricbeat/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ waitFor() {

# Main
waitFor ${APACHE_HOST} ${APACHE_PORT} Apache
waitFor ${COUCHBASE_HOST} ${COUCHBASE_PORT} Couchbase
waitFor ${HAPROXY_HOST} ${HAPROXY_PORT} HAProxy
waitFor ${KAFKA_HOST} ${KAFKA_PORT} Kafka
waitFor ${MYSQL_HOST} ${MYSQL_PORT} MySQL
Expand Down
Loading

0 comments on commit bd083b4

Please sign in to comment.