diff --git a/src/app.py b/src/app.py index 9e6b510..369851b 100644 --- a/src/app.py +++ b/src/app.py @@ -30,8 +30,10 @@ if config.SENTRY_DSN: dsn=config.SENTRY_DSN, send_default_pii=True, integrations=[sentry_logging], + traces_sample_rate=1.0, release=config.RELEASE_ID, - environment=config.RELEASEMODE + environment=config.RELEASEMODE, + _experiments={"auto_enabling_integrations": True} ) diff --git a/src/mqtt_helper.py b/src/mqtt_helper.py index d3e6628..63ca792 100644 --- a/src/mqtt_helper.py +++ b/src/mqtt_helper.py @@ -19,7 +19,7 @@ class MQTT: """ def __init__(self, host=config.MQTT_HOSTNAME, port=config.MQTT_PORT, client_id=config.CLIENT_ID, qos=2, - retain=True, username=config.MQTT_USERNAME, password=config.MQTT_PASSWORD): + retain=False, username=config.MQTT_USERNAME, password=config.MQTT_PASSWORD): """ Init variables :param host: