Skip to content

Add TraceID filter to metrics list

Daniele Rossetti requested to merge drosse/filter-metrics-by-trace-id into master

What does this MR do and why?

  • Add trace id filter to metrics list filtered search
  • Refactor observability client filtering logic from logs and traces
  • Refactor observability metrics filters to handle trace-id

Relates to Add support for filtering metrics by trace-id (gitlab-org/opstrace/opstrace#2927 - closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

image

How to set up and validate locally

  1. You need a GitLab Ultimate license.
  2. Enable the :observability_features feature flag.
  3. Apply patch to load local mocks git apply < <(curl -s https://gitlab.com/-/snippets/3740820/raw/main/snippetfile1.txt)
  4. Go to http://gdk.test:3443/flightjs/Flight/-/metrics
Edited by Daniele Rossetti

Merge request reports

Loading