[Lens] Lens telemetry errors on read-only users #75034
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Lens
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Kibana version: master
Describe the bug: When a user has only read rights, they don't have permissions to write to lens telemetry. As Lens tries to send telemetry events based on a timer, this causes a lot of errors failing with a 500 error code
Steps to reproduce:
Context:
The
telemetry
plugin solves this by "probing" the request once and stopping to attempt requests ifforbidden
is returned:kibana/src/plugins/telemetry/public/plugin.ts
Line 220 in 90f61ab
We could adopt the same strategy and stop trying to push telemetry on certain status codes. Maybe implementing #48352 will fix this bug as well
The text was updated successfully, but these errors were encountered: