_STORE_HOST_PREFIX = "host"
instance = None
+ NOTIFY_TYPES = [NotifyType.mon_map, NotifyType.pg_summary]
NATIVE_OPTIONS = [] # type: List[Any]
MODULE_OPTIONS = [
Option(
for options in PLUGIN_MANAGER.hook.get_options() or []:
MODULE_OPTIONS.extend(options)
+ NOTIFY_TYPES = [NotifyType.clog]
+
__pool_stats = collections.defaultdict(lambda: collections.defaultdict(
lambda: collections.deque(maxlen=10))) # type: dict
class Module(MgrModule):
+
+ NOTIFY_TYPES = [NotifyType.health]
+
def __init__(self, *args, **kwargs):
super(Module, self).__init__(*args, **kwargs)
'default': 7,
'desc': "Days to hold ceph event information within local cache"}
]
+ NOTIFY_TYPES = [NotifyType.clog]
def __init__(self, *args, **kwargs):
self.run = True
desc='name prefix for any created local pool',
runtime=True),
]
+ NOTIFY_TYPES = [NotifyType.osd_map]
def __init__(self, *args: Any, **kwargs: Any) -> None:
super(Module, self).__init__(*args, **kwargs)
"""
MDS autoscaler.
"""
+ NOTIFY_TYPES = [NotifyType.fs_map]
+
def __init__(self, *args: Any, **kwargs: Any) -> None:
MgrModule.__init__(self, *args, **kwargs)
self.set_mgr(self)
class Module(MgrModule):
MODULE_OPTIONS: List[Option] = []
+ NOTIFY_TYPES = [NotifyType.fs_map]
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
},
]
+ NOTIFY_TYPES = [NotifyType.command]
+
def __init__(self, *args, **kwargs):
super(Module, self).__init__(*args, **kwargs)
context.instance = self
},
]
MODULE_OPTIONS: List[Option] = []
+ NOTIFY_TYPES = [NotifyType.command]
def __init__(self, *args, **kwargs):
super(Module, self).__init__(*args, **kwargs)