This feature will allow user to monitor mistral services and important metrics like operations related to tasks, executions, workflows, etc.
1. Added Monitoring server which can run similar to other mistral components by enabling monitoring and recovery jobs config options.
2. Monitoring plugin can collect metrics from the mistral and publish it in the Prometheus compatible format.
3. By using this monitoring plugin user can attach monitoring tools to the Mistral like Prometheus and Grafana to view metrics in a dashboard.
4. Added recovery jobs to recover from different failing or stucked conditions for eg. removing frozen named locks, refresh state of tasks stucked in waiting state long time, expired sub workflow tasks, stucked workflows, etc.
Implements: blueprint add-mistral-monitoring-plugin
Change-Id: Idbb6de9084504448befb9e346da4f458eb6c5a17
Since setuptools v54.1.0[1], the parmeters with dash have been
deprecated in favor of the new parameters with underscore.
This change updates the parameters accordingly to avoid the warnings
like the example below.
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: I2aeb34021ae34b5f91b1892a463ec6e0d5bdc8ad
* These workflows are openstack workflow so they should be
in mistral-extra where all the openstack actions are.
* Use an entry point to get all the paths for the workflows.py,
This way other projects can have there own pre installed workflows.
Depends-On: https://review.opendev.org/#/c/709963/
Change-Id: I379dc5ca40c2055122508daae7a638c21c840254
As per https://review.openstack.org/#/c/473230/, we need to change
the author in setup.cfg from Mistral Team to Openstack.
Change-Id: I5b449c97b4865456d039f60de31e09127aafb55b
Properly sets up the mistral-extra repository with packaging and testing
setup, in order to add gating in CI.
Change-Id: I204745785e63cc8b1ae47da5cc59eda6da18b722
Depends-On: I5e75914e500837babdeb358a76ec7d90c56f61ac
* "examples" file tree should not be Python packages
* Examples should have their own dependencies, if needed, not centralized
Next steps:
* Prepare a layout for storing OpenStack actions
Depends-on: Id8e5d55e34ec3b3d555b5482e13f99c2561e871e
Partially implements: blueprint mistral-custom-actions-api
Change-Id: Ic5b0f655686361ee00bdb70ea13bc66ce0769f90
The syntax of the README files is broken. Fix the syntax and change the
file suffix from md to rst.
Change-Id: I07461e6f931c610464092488f5a72a7516a2c064