[Console] Requests made to kbn:
do not trigger deprecation counters
#207868
Labels
discuss
Feature:Console
Dev Tools Console Feature
Feature:http
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Team:Kibana Management
Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
In the fetch service (browser side) we always inject a header to flag a request as internal:
kibana/src/core/packages/http/browser-internal/src/fetch.ts
Line 143 in 8580f4f
This breaks our ability to count deprecated usages from Console that go to deprecated Kibana routes. Perhaps this is OK, Console is not strictly "third party integration", but I think we should surface the deprecations in Console UI much like we do for ES deprecations (that are contained in the
warn
header).We should be able to do this quite easily now that deprecations are returned for Kibana APIs too:
#205926
The text was updated successfully, but these errors were encountered: