forked from nebula-contrib/NebulaGraph-Bench
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add monitor docker-compose and readme (nebula-contrib#25)
* enhance jmeter variables * add metrics docker-compose * add p99 for summary output * list scenarios in cli * add influxdb to record k6 test result * add list scenarios readme * enhance doc * enhance data folder * fix influxdb default port
- Loading branch information
Showing
20 changed files
with
1,920 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,4 +25,5 @@ mysql/data | |
.env | ||
nebula-bench.db | ||
.vscode | ||
output | ||
output | ||
third/*/data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
version: '3.7' | ||
|
||
|
||
services: | ||
node-exporter: | ||
image: prom/node-exporter | ||
volumes: | ||
- /proc:/host/proc:ro | ||
- /sys:/host/sys:ro | ||
- /:/rootfs:ro | ||
command: | ||
- '--path.procfs=/host/proc' | ||
- '--path.sysfs=/host/sys' | ||
- --collector.filesystem.ignored-mount-points | ||
- "^/(sys|proc|dev|host|etc|rootfs/var/lib/docker/containers|rootfs/var/lib/docker/overlay2|rootfs/run/docker/netns|rootfs/var/lib/docker/aufs)($$|/)" | ||
network_mode: host | ||
restart: always | ||
|
||
process-exporter: | ||
image: ncabatoff/process-exporter | ||
volumes: | ||
- /proc:/host/proc | ||
- ./filename.yml:/config/filename.yml | ||
command: | ||
- --procfs | ||
- /host/proc | ||
- -config.path | ||
- /config/filename.yml | ||
|
||
network_mode: host | ||
|
||
|
||
restart: always | ||
privileged: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
process_names: | ||
- name: "qa-61-{{.Comm}}" | ||
comm: | ||
- nebula-metad | ||
- nebula-storaged | ||
- nebula-graphd |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
|
||
version: '3.7' | ||
|
||
|
||
networks: | ||
monitor: | ||
|
||
services: | ||
prometheus: | ||
image: prom/prometheus:v2.1.0 | ||
user: root | ||
volumes: | ||
- ./prometheus.yml:/etc/prometheus/prometheus.yml | ||
- ./data/prometheus:/prometheus:rw | ||
command: | ||
- '--config.file=/etc/prometheus/prometheus.yml' | ||
- '--storage.tsdb.path=/prometheus' | ||
- '--web.console.libraries=/usr/share/prometheus/console_libraries' | ||
- '--web.console.templates=/usr/share/prometheus/consoles' | ||
- '--storage.tsdb.retention=15d' | ||
ports: | ||
- 9090:9090 | ||
# links: | ||
# - alertmanager:alertmanager | ||
# depends_on: | ||
networks: | ||
- monitor | ||
restart: always | ||
|
||
grafana: | ||
image: grafana/grafana | ||
user: root | ||
depends_on: | ||
- prometheus | ||
ports: | ||
- 3000:3000 | ||
|
||
networks: | ||
- monitor | ||
restart: always | ||
|
||
volumes: | ||
- ./data/grafana:/var/lib/grafana:rw | ||
|
||
|
||
influxdb: | ||
image: influxdb:1.8 | ||
container_name: influxdb | ||
ports: | ||
- "8086:8086" | ||
- "8083:8083" | ||
environment: | ||
- INFLUXDB_DATA_ENGINE=tsm1 | ||
- INFLUXDB_DB=k6 | ||
|
||
volumes: | ||
# Data persistency | ||
- ./data/influxdb:/var/lib/influxdb |
Oops, something went wrong.