diff --git a/devstack/lib/rally b/devstack/lib/rally index 3d2a6257..3c2839d8 100644 --- a/devstack/lib/rally +++ b/devstack/lib/rally @@ -35,6 +35,7 @@ RALLY_ADD_DEPLOYMENT=$(trueorfalse True $RALLY_ADD_DEPLOYMENT) # Integration with OSprofiler OSPROFILER_HMAC_KEYS=${OSPROFILER_HMAC_KEYS:-""} +OSPROFILER_CONNECTION_STRING=${OSPROFILER_CONNECTION_STRING:-""} # Functions # --------- @@ -46,6 +47,10 @@ OSPROFILER_HMAC_KEYS=${OSPROFILER_HMAC_KEYS:-""} # ``KEYSTONE_SERVICE_HOST``, ``KEYSTONE_SERVICE_PORT``, # ``IDENTITY_API_VERSION`` - must be defined # ``OSPROFILER_HMAC_KEYS`` - optional, for integration with osprofiler +# ``OSPROFILER_CONNECTION_STRING`` - optional, if this is set together with +# OSPROFILER_HMAC_KEYS rally html report will use osprofiler api to +# generate html report for each trace and embed it as iframe to our +# native html repor # # _create_deployment_config filename function _create_deployment_config() { @@ -86,6 +91,11 @@ if [[ ! -z "$OSPROFILER_HMAC_KEYS" ]]; then "profiler_hmac_key": $OSPROFILER_HMAC_KEYS, EOF fi +if [[ ! -z "$OSPROFILER_CONNECTION_STRING" ]]; then + cat >>$1 <>$1 <