Use default sample rate for sentry
Change-Id: Icb8f07e590d4d6c0ab2678c3ccc174b9edad3735
This commit is contained in:
parent
3ec3da5172
commit
7a751c848b
@ -24,10 +24,7 @@ from sentry_sdk.integrations import wsgi
|
||||
|
||||
VERSION = pkg_resources.get_distribution("barbican").version
|
||||
|
||||
sentry_sdk.init(
|
||||
release="barbican@%s" % VERSION,
|
||||
traces_sample_rate=0.1
|
||||
)
|
||||
sentry_sdk.init(release="barbican@%s" % VERSION)
|
||||
|
||||
application = get_api_wsgi_script()
|
||||
application = wsgi.SentryWsgiMiddleware(application)
|
||||
|
@ -23,10 +23,7 @@ from sentry_sdk.integrations import wsgi
|
||||
|
||||
VERSION = pkg_resources.get_distribution("glance").version
|
||||
|
||||
sentry_sdk.init(
|
||||
release="glance@%s" % VERSION,
|
||||
traces_sample_rate=0.1
|
||||
)
|
||||
sentry_sdk.init(release="glance@%s" % VERSION)
|
||||
|
||||
application = init_app()
|
||||
application = wsgi.SentryWsgiMiddleware(application)
|
||||
|
@ -22,10 +22,7 @@ from heat.cmd.engine import main
|
||||
|
||||
VERSION = pkg_resources.get_distribution("openstack-heat").version
|
||||
|
||||
sentry_sdk.init(
|
||||
release="openstack-heat@%s" % VERSION,
|
||||
traces_sample_rate=0.1
|
||||
)
|
||||
sentry_sdk.init(release="openstack-heat@%s" % VERSION)
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||
|
@ -23,10 +23,7 @@ from sentry_sdk.integrations import wsgi
|
||||
|
||||
VERSION = pkg_resources.get_distribution("openstack-heat").version
|
||||
|
||||
sentry_sdk.init(
|
||||
release="openstack-heat@%s" % VERSION,
|
||||
traces_sample_rate=0.1
|
||||
)
|
||||
sentry_sdk.init(release="openstack-heat@%s" % VERSION)
|
||||
|
||||
application = init_application()
|
||||
application = wsgi.SentryWsgiMiddleware(application)
|
||||
|
@ -23,10 +23,7 @@ from sentry_sdk.integrations import wsgi
|
||||
|
||||
VERSION = pkg_resources.get_distribution("openstack-heat").version
|
||||
|
||||
sentry_sdk.init(
|
||||
release="openstack-heat@%s" % VERSION,
|
||||
traces_sample_rate=0.1
|
||||
)
|
||||
sentry_sdk.init(release="openstack-heat@%s" % VERSION)
|
||||
|
||||
application = init_application()
|
||||
application = wsgi.SentryWsgiMiddleware(application)
|
||||
|
@ -29,10 +29,7 @@ from sentry_sdk.integrations import wsgi
|
||||
|
||||
VERSION = pkg_resources.get_distribution("horizon").version
|
||||
|
||||
sentry_sdk.init(
|
||||
release="horizon@%s" % VERSION,
|
||||
traces_sample_rate=0.1
|
||||
)
|
||||
sentry_sdk.init(release="horizon@%s" % VERSION)
|
||||
|
||||
# Add this file path to sys.path in order to import settings
|
||||
sys.path.insert(0, os.path.normpath(os.path.join(
|
||||
|
@ -23,10 +23,7 @@ from sentry_sdk.integrations import wsgi
|
||||
|
||||
VERSION = pkg_resources.get_distribution("keystone").version
|
||||
|
||||
sentry_sdk.init(
|
||||
release="keystone@%s" % VERSION,
|
||||
traces_sample_rate=0.1
|
||||
)
|
||||
sentry_sdk.init(release="keystone@%s" % VERSION)
|
||||
|
||||
application = initialize_public_application()
|
||||
application = wsgi.SentryWsgiMiddleware(application)
|
||||
|
@ -24,10 +24,7 @@ from sentry_sdk.integrations import wsgi
|
||||
|
||||
VERSION = pkg_resources.get_distribution("magnum").version
|
||||
|
||||
sentry_sdk.init(
|
||||
release="magnum@%s" % VERSION,
|
||||
traces_sample_rate=0.1
|
||||
)
|
||||
sentry_sdk.init(release="magnum@%s" % VERSION)
|
||||
|
||||
application = build_wsgi_app()
|
||||
application = wsgi.SentryWsgiMiddleware(application)
|
||||
|
@ -23,10 +23,7 @@ from sentry_sdk.integrations import wsgi
|
||||
|
||||
VERSION = pkg_resources.get_distribution("openstack-placement").version
|
||||
|
||||
sentry_sdk.init(
|
||||
release="placement@%s" % VERSION,
|
||||
traces_sample_rate=0.1
|
||||
)
|
||||
sentry_sdk.init(release="placement@%s" % VERSION)
|
||||
|
||||
application = init_application()
|
||||
application = wsgi.SentryWsgiMiddleware(application)
|
||||
|
Loading…
x
Reference in New Issue
Block a user