[Uptime] Use core HTTP instead of native fetch
for API calls
#56894
Labels
Team:Uptime - DEPRECATED
Synthetics & RUM sub-team of Application Observability
technical debt
Improvement of the software architecture and operational architecture
test-plan-skip
v7.8.0
We use plain
fetch
in a number of places, notably all the files instate/api
. We should switch these to use core http as inuse_telemetry
.For the API calls however this is a bit trickier since
useKibana
is only available in the component, and breaks when invoked after dispatch from redux. We should introduce some sugar to making these dispatches more simple, so we don't have to putuseKibana
everywhere.The text was updated successfully, but these errors were encountered: