forked from apache/cassandra-java-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgraphite-setup.yaml
More file actions
102 lines (99 loc) · 3.65 KB
/
graphite-setup.yaml
File metadata and controls
102 lines (99 loc) · 3.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
dse_version: 6.0.11
# Driver branch to use
driver_oss_branch: 4.x
# Driver dse branch to use
driver_dse_branch: 4.x
# Driver version identifier (used as part of graphite prefix)
driver_version: 4.8.0
# Driver examples branch to use
driver_examples_branch: java-driver-4.x
# How long to run test for
duration: 2d
---
ensemble:
observer:
node.count: 1
provisioner:
name: ctool
properties:
mark_for_reuse: true
cloud.provider: openstack
cloud.tenant: performance
cloud.instance.type: ms1.small
configuration_manager:
- name: ctool_monitoring
properties:
graphite.create_server: true
server:
node.count: 3
provisioner:
name: ctool
properties:
mark_for_reuse: true
cloud.provider: openstack
cloud.tenant: performance
cloud.instance.type: ms1.small
configuration_manager:
- name: ctool
properties:
product.type: dse
product.install.type: tarball
product.version: {{dse_version}}
cassandra.yaml:
hinted_handoff_enabled: false
datacenters:
datacenter1:
size: 3
workload: cassandra
client:
node.count: 1
provisioner:
name: ctool
properties:
mark_for_reuse: true
cloud.provider: openstack
cloud.tenant: performance
cloud.instance.type: ms1.small
configuration_manager:
- name: ctool
properties:
java.version: openjdk8
install.maven: true
- name: java_driver
properties:
oss.git.repository: git@github.com:datastax/java-driver.git
oss.git.branch: {{driver_oss_branch}}
dse.git.branch: {{driver_dse_branch}}
type: FOUR_X_OSS
- name: java_driver_duration_test
properties:
git.branch: {{driver_examples_branch}}
workload:
phases:
- upload-dashboards-to-grafana:
module: bash
properties:
script: |
echo "BASH SCRIPT FALLOUT HOST IS..."
echo "${FALLOUT_OBSERVER_NODE0_GRAPHITE_HOST}"
git clone git@github.com:riptano/testeng-devtools.git ${FALLOUT_SCRATCH_DIR}/dashboard
curl --user admin:admin -d "@${FALLOUT_SCRATCH_DIR}/dashboard/duration-tests/java/grafana/aggregate.json" -X POST -H "Content-Type: application/json" http://${FALLOUT_OBSERVER_NODE0_MONITORING_GRAPHITE_HOST}:3000/api/dashboards/db/
curl --user admin:admin -d "@${FALLOUT_SCRATCH_DIR}/dashboard/duration-tests/java/grafana/aggregate4.json" -X POST -H "Content-Type: application/json" http://${FALLOUT_OBSERVER_NODE0_MONITORING_GRAPHITE_HOST}:3000/api/dashboards/db/
curl --user admin:admin -d "@${FALLOUT_SCRATCH_DIR}/dashboard/duration-tests/java/grafana/focus.json" -X POST -H "Content-Type: application/json" http://${FALLOUT_OBSERVER_NODE0_MONITORING_GRAPHITE_HOST}:3000/api/dashboards/db/
curl --user admin:admin -d "@${FALLOUT_SCRATCH_DIR}/dashboard/duration-tests/java/grafana/focus4.json" -X POST -H "Content-Type: application/json" http://${FALLOUT_OBSERVER_NODE0_MONITORING_GRAPHITE_HOST}:3000/api/dashboards/db/
target.group: client
- run-endurance:
module: java_driver_duration_test
properties:
duration: {{duration}}
is.four: true
graphite.prefix: endurance-test-java-{{driver_version}}-DSE-{{dse_version}}
- kill_nodes:
module: killnode_rhino
properties:
target.strategy: whitelist
target.number_of_nodes: 1
target.selector: "*:*"
repeat.delay: 120
repeat.iterations: 0
graceful: true