SigNoz is an open-source observability platform native to OpenTelemetry with logs, traces and metrics in a single application. An open-source alternative to DataDog, NewRelic, etc. 🔥 🖥. 👉 Open source Application Performance Monitoring (APM) & Observability tool
Previously we had an if clause that if the startEndArr array is empty don't run the new pagination and fallback, which was missed so. Queries for <= hour interval were returning empty results.
Update the function to return a signle item which contains the actual start and end if the interval is < hour
[!IMPORTANT]
Fixes GetListTsRanges to return a single range for intervals less than 1 hour, updating the test case accordingly.
Behavior:
Fixes GetListTsRanges in logs.go to return a single range for intervals < 1 hour.
Previously, intervals <= 1 hour returned empty results.
Tests:
Updates TestListTsRange in logs_test.go to expect a single range for intervals < 1 hour.
This description was created by for 2ed2bd617537e2d8d0ff252412afb07683a11c39. It will automatically update as commits are pushed.
Previously we had an if clause that if the
startEndArr
array is empty don't run the new pagination and fallback, which was missed so. Queries for <= hour interval were returning empty results.Update the function to return a signle item which contains the actual start and end if the interval is < hour