[Observability] Overview page API responses for UX do not correspond to expected interface #81081
Labels
bug
Fixes for quality problems that affect the customer experience
Team:Observability
Team label for Observability Team (for things that are handled across all of observability)
Team:Uptime - DEPRECATED
Synthetics & RUM sub-team of Application Observability
v7.10.0
Kibana version:
master
Elasticsearch version:
master
Server OS version:
macOS
Browser version:
Recent chrome
Browser OS version:
macOS
Original install method (e.g. download page, yum, from source, etc.):
from source
Describe the bug:
The Observability overview sections use types that annotate the expected shape of API responses. The UX dashboard has an extra
hasData
key wrapping its data flag, and this is causing TS errors.Steps to reproduce:
node scripts/type_check.ts
Expected behavior:
The API should respond with a objects matching the expected interface.
Screenshots (if relevant):
N/A
Errors in browser console (if relevant):
N/A
Provide logs and/or server output (if relevant):
Any additional context:
I do not want to modify the API after feature freeze for the 7.10.0 release. I am planning to suppress the errors for an unrelated bug fix; we should modify the API to return the correct values for the 7.11.0 release.
The text was updated successfully, but these errors were encountered: