browbeat/conf/ceilometer-persist-response-timing.yaml
Masco 8632866417 add ilm policies to handle the life of the es indices
two policies are added to handle short and long term indices.

life of the indices can be configured using the 'elasticsearch.life'
field at browbeat-config.yml file
shortterm will have: 125 days
longterm will have 2 years

the policy and the policy based templates can be created using the
'es-template' install playbook.

Change-Id: I0f4a4a9acc03092fd582ae4ff50f688850def953
2023-09-07 15:29:11 +05:30

95 lines
2.6 KiB
YAML

# Ceilometer stress test that boots persisting xtiny cirros instances.
# It boots 20 each iteration with a concurrency of 5 instances. Inbetween
# each iteration it measures response time of several Ceilometer APIs.
# Currently it maxs at 200 instances
browbeat:
cloud_name: openstack
rerun: 10
rerun_type: complete
start_stop_collectd: false
create_grafana_annotations: false
ansible:
hosts: ansible/hosts
metadata_playbook: ansible/gather/stockpile.yml
logging_playbook: ansible/common_logging/browbeat_logging.yml
start_collectd_playbook: ansible/install/start-collectd.yml
stop_collectd_playbook: ansible/install/stop-collectd.yml
check_collectd_config_playbook: ansible/install/check-collectd-config.yml
ssh_config: ansible/ssh-config
elasticsearch:
enabled: false
host: 1.1.1.1
port: 9200
life: shortterm
regather: false
metadata_files:
- name: hardware-metadata
file: metadata/hardware-metadata.json
- name: environment-metadata
file: metadata/environment-metadata.json
- name: software-metadata
file: metadata/software-metadata.json
- name: version
file: metadata/version.json
grafana:
enabled: true
host: example.grafana.com
port: 3000
dashboards:
- openstack-general-system-performance
filebeat:
enabled: false
rally:
sleep_before: 5
sleep_after: 5
plugins:
- browbeat: rally/rally-plugins/browbeat
- nova: rally/rally-plugins/nova
shaker:
server: 1.1.1.1
port: 5555
flavor: m1.small
join_timeout: 600
sleep_before: 0
sleep_after: 0
shaker_region: regionOne
external_host: 2.2.2.2
workloads:
# Measure Ceilometer Response Timings
- name: Ceilometer
enabled: true
type: rally
concurrency:
- 8
times: 500
scenarios:
- name: list_meters
enabled: true
file: rally/CeilometerMeters/list_meters-cc.yml
- name: create_and_query_samples-01
enabled: true
file: rally/CeilometerQueries/create_and_query_samples-cc.yml
- name: list_resources
enabled: true
file: rally/CeilometerResource/list_resources-cc.yml
- name: list_samples
enabled: true
file: rally/CeilometerSamples/list_samples-cc.yml
- name: get_stats
enabled: true
file: rally/CeilometerStats/get_stats-cc.yml
# Boot 20 instances
- name: BrowbeatNovaPersist
enabled: true
type: rally
concurrency:
- 5
times: 20
scenarios:
- name: nova-boot-20
enabled: true
image_name: cirro5
flavor_name: m1.xtiny
file: rally/rally-plugins/nova/nova_boot_persist.yml