AIOps#
ConfigGenerator#
AIOps application typically relies on a decision system with one or multiple AI models.
The ConfigGenerator provides a easy-to-use builder for an AIOps decision system with the usage of Trigger.
- class bigdl.chronos.aiops.config_generator.config_generator.ConfigGenerator[source]#
Bases:
object
Users could customize their own config generator by define a class inherited from ConfigGenerator.
Example
>>> class MyConfigGenerator(ConfigGenerator): >>> def __init__(self, ...): >>> super().__init__() # <-- This super class initialization must be called >>> ... >>> def genConfig(self, ...): # <-- (recommeneded), generate a best config >>> ...
Users could also add some trigger decorator imported from bigdl.chronos.aiops.trigger More details about trigger please refer to correspond apis
Example
>>> class MyConfigGenerator(ConfigGenerator): >>> ... >>> @triggerbyfile(...) >>> def update_status(self, ...) # <-- this will be exec once trigger activated >>> ...