The aodh.storage.impl_log Module

Simple logging storage backend.

class aodh.storage.impl_log.Connection(conf, url)[source]

Bases: aodh.storage.base.Connection

Log the data.

static clear()[source]
static clear_expired_alarm_history_data(alarm_history_ttl)[source]

Clear expired alarm history data from the backend storage system.

Clearing occurs according to the time-to-live.

Parameters:alarm_history_ttl – Number of seconds to keep alarm history records for.
static create_alarm(alarm)[source]

Create alarm.

static delete_alarm(alarm_id)[source]

Delete an alarm and its history data.

static get_alarms(name=None, user=None, state=None, meter=None, project=None, enabled=None, alarm_id=None, alarm_type=None, severity=None, exclude=None)[source]

Yields a lists of alarms that match filters.

static update_alarm(alarm)[source]

Update alarm.

static upgrade()[source]

Previous topic

The aodh.storage.impl_hbase Module

Next topic

The aodh.storage.impl_mongodb Module

Project Source

This Page