Skip to content

Scale lead time for changes for small values

What does this MR do and why?

Lead time for changes is measured in days, when the values returned are small we end up with 0.0d which can be misleading. This MR updates the rounding for Lead time for changes to have minimum 4 decimal places.

More info: #424703 (comment 1730372818)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2024-01-18_at_10.34.33_am Screenshot_2024-01-18_at_10.07.19_am

How to set up and validate locally

  1. Create a new group
  2. Create a new project in the group - Make a note of the project ID, we need this for seeding data
  3. Apply this patch to ensure we seed small values
  4. Follow the seeding instructions for VSD
    Note: add the `VSA_SEED_PROJECT_ID=<project-id>` environment variable, use the `project ID from step 2
  5. Navigate to Analyze > Analytics dashboards in the left hand menu

Related to #424703 (closed)

Edited by Ezekiel Kigbo

Merge request reports