RETIRED, Monasca Analytics Engine
Go to file
Zuul 55300e3b10 Merge "Update links in README" 2019-01-22 10:34:06 +00:00
config Merge "Fix iptable example config." 2016-09-21 14:25:31 +00:00
devstack Change Apache Kafka download site 2019-01-20 08:37:32 +00:00
doc Update url in HACKING.rst 2018-11-16 10:48:35 +08:00
monasca_analytics Merge "Remove empty files" 2019-01-22 10:14:09 +00:00
test Merge "Remove empty files" 2019-01-22 10:14:09 +00:00
tools Update Spark version 2019-01-12 17:02:14 -08:00
.gitignore Add .eggs in .gitignore 2016-12-27 14:44:28 +00:00
.gitreview Added .gitreview 2016-04-22 11:40:50 +00:00
.zuul.yaml Update requirements 2019-01-06 21:14:48 -08:00
LICENSE Add license 2016-05-05 07:41:10 -06:00
Makefile Add the test back and include BytecodeAssembler in tree. 2016-07-05 11:11:34 +01:00
README.md Update links in README 2019-01-22 10:12:29 +00:00
SUMMARY.md Monanas initial code release. 2016-05-17 01:48:24 +01:00
Vagrantfile Monanas initial code release. 2016-05-17 01:48:24 +01:00
__init__.py Files with no code must be left completely empty 2017-01-17 11:09:44 +07:00
config_dsl.py This commit introduces the first version of Banana configuration language. 2016-08-22 14:29:26 +01:00
fetch-deps.sh added KAFKA_HOME env var to fetch-deps.sh 2016-09-19 15:19:12 +01:00
requirements.txt Update requirements 2019-01-06 21:14:48 -08:00
run.py Update requirements 2019-01-06 21:14:48 -08:00
setup.cfg tox support 2016-06-03 17:46:33 +00:00
setup.py Fix Apache license and PYTHONPATH for the gate 2016-06-28 15:03:27 +09:00
setup_property.py Fix Apache license and PYTHONPATH for the gate 2016-06-28 15:03:27 +09:00
test-requirements.txt fix pep8 job 2018-09-11 10:12:21 -04:00
tox.ini Update Spark version 2019-01-12 17:02:14 -08:00

README.md

Team and repository tags

Team and repository tags

MoNanas - Monasca Analytics Framework

MoNanas Logo

Overview

Monasca Analytics (MoNanas) is a statistical/machine-learning (SML) flow composition engine. Users can compose a sequence of algorithms to be executed by just providing a description as an input to MoNanas. The data flow is automatically handled by the framework.

Easy flow composition and reusability means that we can speed up the extraction of actionable infrastructure insight.

Advantages

👍 Decouple algorithm design from execution.

👍 Reusable specification of the desired flow.

👍 Language independent flow definition.

👍 Data source and format independent.

👍 Easy to add new SML algorithms and # combine them with pre-existing ones in the flow.

👍 Transparently exploit data parallelism.

Example Use Cases

Below are few use cases that are relevant to OpenStack. However, MoNanas enables you to add your own data ingestors.

Example Alert Fatigue Management Anomaly Detection
Dataset Synthetic, but representative, set of Monasca alerts that are processed in a stream manner. This alert set represents alerts that are seen in a data center consisting of several racks, enclosures and nodes. iptables rules together with the number of times they are fired in a time period.
Parsing Monasca alert parser. Simple parser extracting period and number of fire events per rule.
SML algorithm flow filter(bad_formatted) -> filter(duplicates) -> aggregate() >> aggregator aggregation can utilize conditional independence causality, score-based causality, linear algebra causality. detect_anomaly() >> aggregator anomaly detection could be based on SVM, trend, etc.
Output Directed acyclic alert graph with potential root causes at the top. Rule set with an anomalous number of firing times in a time period.
Note Even though this could be consumed directly by devops, the usage of Vitrage MoNanas Sink is recommended. The output of this module can speed up creation of a Vitrage entity graph to do further analysis on it. None.

-> indicates a sequential operation in the flow.

// indicates beginning of group of operations running in parallel.

- indicates operations running in parallel.

>> indicates end of group of operations running in parallel.

Documentation

Repositories

Core: https://github.com/openstack/monasca-analytics.git

MoNanas Design

See: MoNanas/Design for details on MoNanas's architecture, its functional requirements and core concepts.

Technologies

MoNanas uses a number of third-party technologies:

Feature Release Schedule

  • Basic SML flow.
  • New algorithm "add-on" ability.
  • Example datasets and SML flows.
  • Support end-to-end learning + data processing flows (currently, the latter part does not get updated due to Spark's immutability.)
  • Refactor codes to be consistent with terms used in the documentation.
  • Add a source, ingestor and transformer for Monasca.
  • Model connections as objects rather than references and have driver specifics in one place.
  • Expanded orchestration abilities/expressiveness.
  • Container-enabled testing/deployment for non-production environments.
  • Add Vitrage Sink.
  • Add a ready-to-use virtual machine image (get rid of the fetch-deps.sh).

Contributing

There are multiple ways to contribute to the project. All are equally important to us!

  • You can have a look at the Monasca launchpad for problems that needs to be solved (bugs/issues), and blueprints.
  • You can also help us to add new learning algorithms.
  • Finally, we are very interested in having more data sources to experiment with. The source can either be from an existing data provider or randomly generated. The more, the better! :) If you are interested to work on that aspect, you are welcome as well.

For more information on setting up your development environment, see MoNanas/DevGuide.

For more information about Monanas, please visit the wiki page: Monanas wiki.

And for more information about Monasca, please visit the wiki page: Monasca wiki.

License

Copyright (c) 2016 Hewlett Packard Enterprise Development Company, L.P. Licensed under the Apache License, Version 2.0 (the "License"); you may not used this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.