You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some missed data points in the result 2 and the result 3. And the missing data points are not the newest one, so the reason should not be the prometheus remote write deley.
The text was updated successfully, but these errors were encountered:
If by "replica=2" you mean replication factor = 2, then I think it's a not-so-well tested configuration. I don't think we ever battle tested Cortex with RF=2. We typically run it with RF=3 and, my experience, you shouldn't have gaps in query results if RF=3 and -distributor.shard-by-all-labels enabled.
This issue has been automatically marked as stale because it has not had any activity in the past 60 days. It will be closed in 15 days if no further activity occurs. Thank you for your contributions.
Describe the bug
Query may return less data points than expect when restarting ingester.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The query should return a result with 6 data points.
Storage Engine
Additional Context
Here are some query results. (Only differences in start time and end time, the queries are the same)
start=1617761918, end=1617761968
{"status":"success","data":{"resultType":"matrix","result":[{"metric":{"label": "series1"},"values":[[1617761910,"0.1"],[1617761920,"0"],[1617761930,"0"],[1617761940,"0.1"],[1617761950,"0"],[1617761960,"0"]]},{"metric":{"label": "series2"},"values":[[1617761910,"0.1"],[1617761920,"0"],[1617761930,"0"],[1617761940,"0.1"],[1617761950,"0"],[1617761960,"0"]]}]}}
start=1617761924, end=1617761974
{"status":"success","data":{"resultType":"matrix","result":[{"metric":{"label": "series2"},"values":[[1617761920,"0"],[1617761930,"0"],[1617761940,"0.1"],[1617761950,"0"],[1617761960,"0"],[1617761970,"0.1"]]}]}}
start=1617761931, end=1617761981
{"status":"success","data":{"resultType":"matrix","result":[{"metric":{"label": "series1"},"values":[[1617761980,"0"]]},{"metric":{"label": "series2"},"values":[[1617761930,"0"],[1617761940,"0.1"],[1617761950,"0"],[1617761960,"0"],[1617761970,"0.1"],[1617761980,"0"]]}]}}
start=1617761937, end=1617761987
{"status":"success","data":{"resultType":"matrix","result":[{"metric":{"label": "series1"},"values":[[1617761930,"0"],[1617761940,"0.1"],[1617761950,"0"],[1617761960,"0"],[1617761970,"0.1"],[1617761980,"0"]]},{"metric":{"label": "series2"},"values":[[1617761930,"0"],[1617761940,"0.1"],[1617761950,"0"],[1617761960,"0"],[1617761970,"0.1"],[1617761980,"0"]]}]}}
There are some missed data points in the result 2 and the result 3. And the missing data points are not the newest one, so the reason should not be the prometheus remote write deley.
The text was updated successfully, but these errors were encountered: