Skip to content

[Uptime] Use core HTTP instead of native fetch for API calls #56894

@andrewvc

Description

@andrewvc

We use plain fetch in a number of places, notably all the files in state/api. We should switch these to use core http as in use_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 put useKibana everywhere.

Metadata

Metadata

Assignees

Labels

Team:Uptime - DEPRECATEDSynthetics & RUM sub-team of Application Observabilitytechnical debtImprovement of the software architecture and operational architecturetest-plan-skipv7.8.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions