Exemplo n.º 1
0
def _get_engine(request):
    connection_str = PROFILER_SETTINGS.get('receiver_connection_string',
                                           "mongodb://")
    kwargs = _get_engine_kwargs(request, connection_str)
    return profiler_get_driver(connection_str, **kwargs)
Exemplo n.º 2
0
def _get_engine():
    connection_str = horizon_settings.get_dict_config(
        'OPENSTACK_PROFILER', 'receiver_connection_string')
    return profiler_get_driver(connection_str)
Exemplo n.º 3
0
def _get_engine(request):
    connection_str = horizon_settings.get_dict_config(
        'OPENSTACK_PROFILER', 'receiver_connection_string')
    kwargs = _get_engine_kwargs(request, connection_str)
    return profiler_get_driver(connection_str, **kwargs)
Exemplo n.º 4
0
def _get_engine(request):
    connection_str = PROFILER_SETTINGS.get(
        'receiver_connection_string', "mongodb://")
    kwargs = _get_engine_kwargs(request, connection_str)
    return profiler_get_driver(connection_str, **kwargs)