Skip to content

Add filtering to metrics list UI

Daniele Rossetti requested to merge rossetd/metrics-list-filtering into master

What does this MR do and why?

The changes here add support for filtering the metrics list by prefix. It does so by adding the filtered_bar component ( only text search supported for now, but will be extended later with more tokens based search ).

  • Wrap metrics list into InfiniteScrolling component
  • Add FilteredSearch bar to MetricsList
  • Sync filters with query params through UrlSync
  • Add filters and limit support to observability client

Closes gitlab-org/opstrace/opstrace#2536 (closed)

Screenshots or screen recordings

image

demo

How to set up and validate locally

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Daniele Rossetti

Merge request reports