From d73cc3c919c3a0151ff0ee905408688e96f5f2d4 Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Thu, 20 Jun 2024 19:23:27 +0300 Subject: [PATCH] [v11.0.x] Echo: Suppress errors from frontend-metrics API call failing (#89493) Echo: Don't notify if PerformanceBackend errors when flushing (#89379) (cherry picked from commit b43411631b616c962d86174134c60961bd0a98ee) Co-authored-by: Josh Hunt --- .../services/echo/backends/PerformanceBackend.ts | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/public/app/core/services/echo/backends/PerformanceBackend.ts b/public/app/core/services/echo/backends/PerformanceBackend.ts index 29ff37882bc..7fd3a18d572 100644 --- a/public/app/core/services/echo/backends/PerformanceBackend.ts +++ b/public/app/core/services/echo/backends/PerformanceBackend.ts @@ -32,9 +32,17 @@ export class PerformanceBackend implements EchoBackend { + // Just swallow this error - it's non-critical + }); this.buffer = []; };