Upgrade sentry-sdk to 0.17.1 (#39495)
parent
09efbc569f
commit
97e1be98df
|
@ -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
|
||||
),
|
||||
|
|
|
@ -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"]
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue