Skip to content

Fix link from traces to logs

Daniele Rossetti requested to merge drosse/fix-link-logs-traces into master

What does this MR do and why?

When going from a trace to its logs, we take the user to the logs list page and search for the selected trace-id. This might not always produce results, because the default search period is 1h and the trace might be older than that.

To avoid this, I'm adding the 30d date range query filter to the logs link so that the search window is expanded.

Fix Link trace to logs need to specify the search t... (gitlab-org/opstrace/opstrace#2878)

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

  • Be logged in and running GDK with Ultimate license
  • Enable :observability_metrics, :observability_logs, :observability_tracing feature flag
  • Apply patch to load mocks
git apply < <(curl -s https://gitlab.com/-/project/32149347/uploads/efae4da82b7ac5f2bdeff30c8fb2d138/observability_local_env.patch)
Edited by Daniele Rossetti

Merge request reports