Upgrade sentry-sdk to 0.17.1 (#39495)

This commit is contained in:
Franck Nijhof 2020-08-31 10:28:52 +02:00 committed by GitHub
parent 09efbc569f
commit 97e1be98df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 6 deletions

View File

@ -75,7 +75,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
tracing = {}
if entry.options.get(CONF_TRACING):
tracing = {
"traceparent_v2": True,
"traces_sample_rate": entry.options.get(
CONF_TRACING_SAMPLE_RATE, DEFAULT_TRACING_SAMPLE_RATE
),

View File

@ -3,6 +3,6 @@
"name": "Sentry",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/sentry",
"requirements": ["sentry-sdk==0.16.5"],
"requirements": ["sentry-sdk==0.17.1"],
"codeowners": ["@dcramer", "@frenck"]
}

View File

@ -1959,7 +1959,7 @@ sense-hat==2.2.0
sense_energy==0.7.2
# homeassistant.components.sentry
sentry-sdk==0.16.5
sentry-sdk==0.17.1
# homeassistant.components.sharkiq
sharkiqpy==0.1.8

View File

@ -908,7 +908,7 @@ samsungtvws[websocket]==1.4.0
sense_energy==0.7.2
# homeassistant.components.sentry
sentry-sdk==0.16.5
sentry-sdk==0.17.1
# homeassistant.components.sharkiq
sharkiqpy==0.1.8

View File

@ -98,11 +98,9 @@ async def test_setup_entry_with_tracing(hass: HomeAssistant) -> None:
"integrations",
"release",
"before_send",
"traceparent_v2",
"traces_sample_rate",
}
assert call_args["traces_sample_rate"] == 0.5
assert call_args["traceparent_v2"]
@pytest.mark.parametrize(