mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Upgrade sentry-sdk to 0.17.1 (#39495)
This commit is contained in:
parent
09efbc569f
commit
97e1be98df
@ -75,7 +75,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||||||
tracing = {}
|
tracing = {}
|
||||||
if entry.options.get(CONF_TRACING):
|
if entry.options.get(CONF_TRACING):
|
||||||
tracing = {
|
tracing = {
|
||||||
"traceparent_v2": True,
|
|
||||||
"traces_sample_rate": entry.options.get(
|
"traces_sample_rate": entry.options.get(
|
||||||
CONF_TRACING_SAMPLE_RATE, DEFAULT_TRACING_SAMPLE_RATE
|
CONF_TRACING_SAMPLE_RATE, DEFAULT_TRACING_SAMPLE_RATE
|
||||||
),
|
),
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
"name": "Sentry",
|
"name": "Sentry",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/sentry",
|
"documentation": "https://www.home-assistant.io/integrations/sentry",
|
||||||
"requirements": ["sentry-sdk==0.16.5"],
|
"requirements": ["sentry-sdk==0.17.1"],
|
||||||
"codeowners": ["@dcramer", "@frenck"]
|
"codeowners": ["@dcramer", "@frenck"]
|
||||||
}
|
}
|
||||||
|
@ -1959,7 +1959,7 @@ sense-hat==2.2.0
|
|||||||
sense_energy==0.7.2
|
sense_energy==0.7.2
|
||||||
|
|
||||||
# homeassistant.components.sentry
|
# homeassistant.components.sentry
|
||||||
sentry-sdk==0.16.5
|
sentry-sdk==0.17.1
|
||||||
|
|
||||||
# homeassistant.components.sharkiq
|
# homeassistant.components.sharkiq
|
||||||
sharkiqpy==0.1.8
|
sharkiqpy==0.1.8
|
||||||
|
@ -908,7 +908,7 @@ samsungtvws[websocket]==1.4.0
|
|||||||
sense_energy==0.7.2
|
sense_energy==0.7.2
|
||||||
|
|
||||||
# homeassistant.components.sentry
|
# homeassistant.components.sentry
|
||||||
sentry-sdk==0.16.5
|
sentry-sdk==0.17.1
|
||||||
|
|
||||||
# homeassistant.components.sharkiq
|
# homeassistant.components.sharkiq
|
||||||
sharkiqpy==0.1.8
|
sharkiqpy==0.1.8
|
||||||
|
@ -98,11 +98,9 @@ async def test_setup_entry_with_tracing(hass: HomeAssistant) -> None:
|
|||||||
"integrations",
|
"integrations",
|
||||||
"release",
|
"release",
|
||||||
"before_send",
|
"before_send",
|
||||||
"traceparent_v2",
|
|
||||||
"traces_sample_rate",
|
"traces_sample_rate",
|
||||||
}
|
}
|
||||||
assert call_args["traces_sample_rate"] == 0.5
|
assert call_args["traces_sample_rate"] == 0.5
|
||||||
assert call_args["traceparent_v2"]
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user