Skip to content

Update value retrieval when querying for influxdb data

Andrejs Cunskis requested to merge acunskis-fix-flux-query into master

What does this MR do and why?

Fix influx warnings when fetching data

https://gitlab.com/gitlab-org/gitlab/-/jobs/3267348674

The response contains columns with duplicated names: label
You should use the 'FluxRecord.row to access your data instead of 'FluxRecord.values' hash.

Latest version also changed the return type when fetching data from Hash to Array, so method had to be refactored slightly

Fetch flaky test data from main runs

Fetch historical data from master runs only due to overwhelming amount of data across pipelines which can timeout the query for package-and-test runs

How to set up and validate locally

It's a CI only issue

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 Andrejs Cunskis

Merge request reports