panko  8.1.0
About: OpenStack Panko is an event storage service and REST API for Ceilometer.
The "Ussuri" series (maintained release).
  Fossies Dox: panko-8.1.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

panko.storage Namespace Reference

Namespaces

namespace  base
 
namespace  hbase
 
namespace  impl_elasticsearch
 
namespace  impl_hbase
 
namespace  impl_log
 
namespace  impl_mongodb
 
namespace  impl_sqlalchemy
 
namespace  models
 
namespace  mongo
 
namespace  pymongo_base
 
namespace  sqlalchemy
 

Classes

class  EventFilter
 
class  InvalidMarker
 
class  StorageBadAggregate
 
class  StorageBadVersion
 
class  StorageUnknownWriteError
 

Functions

def get_connection_from_config (conf)
 
def get_connection (url, conf)
  More...
 

Variables

 LOG = log.getLogger(__name__)
 
list OPTS
  More...
 

Function Documentation

◆ get_connection()

def panko.storage.get_connection (   url,
  conf 
)
Return an open connection to the database.

Definition at line 89 of file __init__.py.

References panko.storage.get_connection().

Referenced by panko.storage.get_connection().

Variable Documentation

◆ OPTS

list panko.storage.OPTS
Initial value:
1= [
2 cfg.IntOpt('event_time_to_live',
3 default=-1,
4 help=("Number of seconds that events are kept "
5 "in the database for (<= 0 means forever).")),
6 cfg.IntOpt('events_delete_batch_size',
7 default=0,
8 min=0,
9 help=("Number of events to be deleted in one iteration "
10 "from the database for (0 means all).")),
11 cfg.StrOpt('event_connection',
12 secret=True,
13 deprecated_for_removal=True,
14 help='The connection string used to connect '
15 'to the event database - rather use ${database.connection}'),
16 cfg.BoolOpt('es_ssl_enabled',
17 default=False,
18 help="Enable HTTPS connection in the Elasticsearch "
19 "connection"),
20 cfg.StrOpt('es_index_name',
21 default='events',
22 help='The name of the index in Elasticsearch')
23]

Definition at line 30 of file __init__.py.