Commit Graph

39 Commits

Author SHA1 Message Date
Sahid Orentino Ferdjaoui 908e740232 add support of otlp exporter
Depends-On: Idcff5d79b4884dd1cc7ed1ab42c9e4ce89d4a6d2
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@industrialdiscipline.com>
Change-Id: I74cdcb2aa99b0162ba1c14059111f09d0bb534e3
2023-05-10 10:18:48 +02:00
Sahid Orentino Ferdjaoui 52246cfbf6 devstack: remove jaeger container on unstack
Let's remove the docker container created with Jaeger Tracing when
unstacking, this avoid `./stack.sh` to fail when recreating the
environnement mentioning that a docker container named jaeger already
exists.

Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@industrialdiscipline.com>
Change-Id: I785c7b23be92eb5bc4da0366f705a77c3910d5c2
2023-03-23 13:05:33 +01:00
Goutham Pacha Ravi e475de6c67 Set manila config opts in devstack
When enabled, manila conf options need
to be set as well for the profiler to
work on devstack.

Depends-On: I3bce1f04d1cfebfacd78ed135a949a068c78987d
Change-Id: Ibdbcad7cf5b19442a36ff06b935153960200b96d
2021-08-02 17:16:25 +00:00
Balazs Gibizer 55b0542eaa Support standalone placement in the devstack
The placement service has a separate config file that also needs to be
modified if osprofiler is enabled in devstack.

Change-Id: I7fa963b20498549d4241ccb16cfbca8ddf70eef5
2019-06-13 15:27:36 +02:00
Ilya Shakhat 0fcc65d0d5 Automatic configuration of SQLAlchemy driver in DevStack
This patch adds a new type of collector "sqlalchemy".
To enable it, add the following line into DevStack local.conf:

    OSPROFILER_COLLECTOR=sqlalchemy

OSProfiler DevStack plugin creates database for traces and
configures all services to use it.

SQLAlchemy driver is extend to be able to list traces.

Zuul job is added to run Tempest tests with sqlalchemy driver enabled.

Change-Id: Ia943d311d78f6dfd2e6bb884c8dca725b3b2a36b
2019-05-16 12:03:00 +02:00
caoyuan b0189254b1 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: Id2b126d0b66a24a099fb7f52aa819b4b0ac0f7c7
2019-04-29 06:48:18 +00:00
Ilya Shakhat 587248a835 Allow OSPROFILER_TRACE_SQLALCHEMY to be overridden
Change-Id: Idc3f10b108781d09dd9e871b20bbb6a1551f423c
2019-04-08 16:02:27 +00:00
Zuul a195df7af8 Merge "Add a job to run full Tempest with enabled profiler" 2019-03-18 14:10:57 +00:00
Zuul 5912491fba Merge "Reload keystone to apply osprofiler config" 2019-01-26 11:35:03 +00:00
Zuul 0a1cc5763c Merge "Do not insert osprofiler filter into Neutron api-paste pipeline" 2019-01-25 11:36:11 +00:00
Zuul 2abd1bfd20 Merge "Use $STACK_USER variable in install_jaeger function" 2019-01-22 14:40:49 +00:00
Slawek Kaplonski b871a010de Use $STACK_USER variable in install_jaeger function
There was hardcoded "stack" user used in install_jaeger
function in devstack plugin.
Now it will use Devstack's variable $STACK_USER.

Change-Id: I15e783786440e6516dbbf01d7aa61c3854d29662
2019-01-21 22:59:32 +01:00
Slawek Kaplonski de7e34f1db Add support for mongodb backend in devstack plugin
Change-Id: I0cb1b339aeac471f23092b844a7466266c6c2451
2019-01-21 13:03:30 +01:00
Zuul 05a0ac4155 Merge "[devstack] Add support for elasticsearch backend" 2019-01-11 18:12:00 +00:00
Ilya Shakhat 8c264eb0fe Reload keystone to apply osprofiler config
In DevStack Keystone is configured and started within the same phase
(while other services allow to be configured before starting). To apply
osprofiler configuration, Keystone needs to be reloaded.

Change-Id: Icf69c4e7f602702cf68986a6073b2cd4c0c3abe8
2019-01-11 12:26:17 +01:00
Ilya Shakhat 0c6ec73946 Do not insert osprofiler filter into Neutron api-paste pipeline
With I8e45888968cde8ca29548447d0b0bc00ae569fc1 osprofiler is
in the default api-paste pipeline and is installed in DevStack.

Change-Id: Ieaf6d4f543b650c8426ec5aeb1a7f173c041faef
2019-01-11 12:04:31 +01:00
zhouxinyong 8ae3f4aee8 Change http to https in reference link
Change-Id: I125d82c15a588aba320347c4d6c6eb41c7edbcfd
2018-12-15 02:07:17 +00:00
Andrey Kurilin 5bdc7c60c5 [devstack] Add support for elasticsearch backend
Change-Id: I857bb80a702c4875b06e0aa76d6f0e2e1240d87d
2018-12-13 12:50:07 +00:00
Ilya Shakhat 0b878cfd24 Configure Jaeger collector in DevStack
This patch adds a new type of collector "jaeger".

To try this patch out add following lines into local.conf:

 enable_plugin osprofiler https://git.openstack.org/openstack/osprofiler refs/changes/67/611067/4
 OSPROFILER_BRANCH=refs/changes/67/611067/4
 OSPROFILER_COLLECTOR=jaeger

Jaeger UI can be accessed on port 16686.

Change-Id: I29031764290106570a1d358f6fd653c5367ca587
2018-11-23 17:47:52 +01:00
Ilya Shakhat 1786f65e06 In DevStack install Redis client library via pip, not as system package
System package name depends on Python version, while pip library name
is uniform for both py2 and py3.

Change-Id: I7ba7db61d2b07af4b880393bc0463d733f34f8cf
2018-10-17 13:37:26 +02:00
Ilya Shakhat 175cfeef5c Add a job to run full Tempest with enabled profiler
Default Tempest jobs only execute tests, but do not configure
osprofiler library. This patch adds a job that executes full
Tempest with enabled osprofiler. Currently the job is non-voting.

Depends-on: I64f30c36adbf7fb26609142f22d3e305ac9e82b5
Change-Id: Ib0ad4d22b62dba7cfea76283be2d87574f010c87
2018-09-17 18:02:30 +02:00
Ilya Shakhat 2f66049fb8 Make tracing of SQL statements configurable in DevStack plugin
This patch adds a new configuration variable OSPROFILER_TRACE_SQLALCHEMY
with default value `True`.

Change-Id: I72c782872dac370d6d1620cf734a293f998ed7f1
2018-09-17 15:52:40 +02:00
Tovin Seven f2ed61fe72 Update documentation & usage for redis driver
Add password (AUTH) support to redis driver.

Change-Id: I5e3af4848ecce7b0a8a469faa587f54689358d3b
2018-06-01 10:32:34 +07:00
Ilya Shakhat 0bb909c7a0 Remove Ceilometer support
Our current Ceilometer driver relies on old version of ceilometer client,
which is in deprecated state and not compatible with the latest Telemetry
projects (Panko, Gnocchi). The functionality of the driver is not tested
automatically and most probably broken. So it's time to let it go and
clean the code.

This patch leaves "messaging" driver as default for notification and
makes "connection-string" a required parameter in CLI. In the future
we may consider to change default notification driver, though it
requires proper release note handling in all affected projects.

Change-Id: Id8442c4ff13c5cc33fd909b4757757cc5f396f50
2018-01-18 12:01:09 +01:00
Ilya Shakhat afa98f3880 Initialize osprofiler in Nova Cell configs
Nova Cell conductor has its own config file and Devstack plugin
should update it when osprofiler is enabled.

Change-Id: Iaa6a8de9ab9d8a27ff9bf9d56ee62cd8d290609a
Closes-Bug: #1731856
2018-01-12 10:36:01 +01:00
Ilya Shakhat f15a7e47e6 Make collector configurable in DevStack plugin
In DevStack OSProfiler is by default configured to use messaging
driver with Ceilometer backend. User can change the driver, but
still needs to install collector/storage manually. This patch
introduces configuration option `OSPROFILER_COLLECTOR` which is
used to specify which collector/storage to install into DevStack.

Currently 2 values are supported:
 * `redis` to install Redis server and use Redis driver
 * <empty> to keep the default behavior and use messaging driver

To test the patch on DevStack, the following lines are needed in local.conf:
  enable_plugin osprofiler https://git.openstack.org/openstack/osprofiler refs/changes/06/527406/5
  OSPROFILER_BRANCH=refs/changes/06/527406/5
  OSPROFILER_COLLECTOR=redis

Change-Id: Ia9763605db95b3f35c8b0e51211f96ee0dd3a82d
2017-12-15 15:07:18 +01:00
Ilya Shakhat 66d0607dd0 Expose connection_string parameter into DevStack plugin
With this patch the user can select which OSProfiler driver to use
in DevStack. The configuration parameter is `OSPROFILER_CONNECTION_STRING`.
Default empty value refers to Ceilometer-based driver (value `messaging://`).

DevStack plugin's README is updated to explain new option.

Change-Id: I608cd3e7bafd29db72e9e3e4cb8eb7437cd81ab2
2017-06-14 14:58:47 +02:00
Ilya Shakhat ce64d7d9ba Cleanup code of DevStack plugin
Change-Id: I798e56d5779705ce0a5ec7889af688fac8016d5e
2017-06-08 16:55:19 +02:00
Carlos Goncalves b5eac43161 devstack: use project conf file env variables
OpenStack project configuration files may be stored elsewhere not in the
default /etc directory or with a different filename. Better relying on
existing environment variables set by each project devstack plugin.

Change-Id: I253739c765b469901d0bc6e0c82922645fb92545
2017-05-30 22:09:59 +02:00
Hongbin Lu 3035f3def3 Add zun to devstack config
Change-Id: Id05357f9677ed4944f8c296a5aa5ea471fde86c2
2017-03-18 10:21:20 -05:00
Tovin Seven 1cc4efd90d Add magnum to devstack config
Change-Id: I9598ed06f52812a06c059b29741244e8e6db7d24
2017-03-03 16:10:11 +07:00
Roman Podoliaka 5d4fd50fac devstack: make option hmac_keys configurable
Let the Devstack users override the default value of option
`hmac_keys` by the means of the environment variable set in
local.conf.

Change-Id: I0241abc4129f2d0130246723b78c584d448870a2
2017-01-23 18:04:11 +02:00
Victor Morales 52f0df9428 Fix enabling order specify in README.rst
The order to enable devstack plugins is ommited which causes a
failure during the stack execution. This patch specifies this
requirement.

Change-Id: Id59072c1c17530addb45b24ccec6b3c6fe6cc6df
Closes-Bug: #1656373
2017-01-17 10:13:57 -06:00
Jenkins 60448e666b Merge "Enable devstack to configure OSProfiler for Senlin project" 2016-10-20 14:34:44 +00:00
lvdongbing 978c84a579 Update devstack plugin readme to enable Panko
Ceilometer now uses Panko to store event, should enable Panko when
enabling OSProfiler.

Change-Id: I929505f38bce58b6061f757b64014afa3cab6c51
2016-10-18 02:55:16 -04:00
lvdongbing ede2d12ab0 Enable devstack to configure OSProfiler for Senlin project
Change-Id: I568ed685b8cb56785390fea86b91043c4affc5bb
2016-10-18 02:07:42 -04:00
lvdongbing 8fe74c0edc Heat and Cinder now use new style conf
Change-Id: Ice1952fac512905009a6042e571a10e23e7f62b0
2016-10-11 05:45:43 -04:00
Dina Belova d210129fd8 Add raw Ceilometer events support to DevStack plugin
Change-Id: I3a48ea3f1157c7f97dfa1773f66e0638abfc43a5
2016-01-27 16:39:37 +03:00
Boris Pavlovic a6cb3c08cc Add DevStack plugin
This allows us to automate enabling OSProfiler in OpenStack

Just add to DevStack localrc file:

enable_plugin ceilometer https://github.com/openstack/ceilometer
enable_plugin osprofiler https://github.com/openstack/osprofiler

Change-Id: I3607407dd506723c1aad6696ec98eaed8a8ddd9e
2016-01-14 01:41:39 -08:00