Hey, I’m not sure if this is supposed to go in here or in the github.
Enhancement
For Flask Python framework there’s a nice convenience method for creating Raven client - Sentry constructor. But there’s an issue, that it doesn’t support all the parameters normal Sentry client supports.
Flask Sentry:
class Sentry(object):
def __init__(self, app=None, client=None, client_cls=Client, dsn=None,
logging=False, logging_exclusions=None, level=logging.NOTSET,
wrap_wsgi=None, register_signal=True):
Raven Client:
class Client(object):
def __init__(self, dsn=None, raise_send_errors=False, transport=None,
install_sys_hook=True, install_logging_hook=True,
hook_libraries=None, enable_breadcrumbs=True, **options):
The biggest issue for me is that I can’t pass the initial tags to the Raven client. I know I can just set them directly because Python doesn’t have private variables, but it doesn’t seem right. Can it be added to Flask sentry constructor or is there some other way I should solve it?