755af67a02
The OSprofiler is a distributed trace toolkit library. It helps to trace internal calls of Openstack services including RPC, DB and WSGI. This patch integrates OSprofiler in Rally. Rally can trigger the profiling on a per-iteration basis. To do so a secret key (profiler_hmac_key) is stored alongside the credentials and used to initialize the profiler in the constructor of the scenarios. A configuration parameter (enable_profiler) can disabled the profiling. Note that in this patch we don't embed the full osprofiler report but only a trace id. This trace id can be used to retrieve the full trace from the osprofiler tool later. Change-Id: I7602856d094e073fde80d287b4d92b5750aacc3c Co-Authored-By: rcherrueau <Ronan-Alexandre.Cherrueau@inria.fr> Implements: spec osprofiler
21 lines
587 B
JSON
21 lines
587 B
JSON
{
|
|
"type": "ExistingCloud",
|
|
"creds": {
|
|
"openstack": {
|
|
"auth_url": "http://example.net:5000/v3/",
|
|
"region_name": "RegionOne",
|
|
"endpoint_type": "public",
|
|
"admin": {
|
|
"username": "admin",
|
|
"password": "myadminpass",
|
|
"user_domain_name": "admin",
|
|
"project_name": "admin",
|
|
"project_domain_name": "admin"
|
|
},
|
|
"https_insecure": false,
|
|
"https_cacert": "",
|
|
"profiler_hmac_key": "SECRET_KEY"
|
|
}
|
|
}
|
|
}
|