Comments (2)
Two unrelated things are likely at play here.
The series in question contains a very large gap, which throws off our heuristic of how many result samples we will generate. I'll see whether this can be improved but it doesn't seem unreasonable to consider this an edge case for which we don't have to reach the target optimum.
The final chunk with the negative timestamps is a small bug.
from thanos.
The culprit is here: https://github.com/improbable-eng/thanos/blob/b4dbb272888930961d1418a8eb655410eb89de46/pkg/compact/downsample/downsample.go#L415-L428
The series in question is highly irregular and has stale markers set almost every 4th sample (something must've been sketchy with the target's reachability at the time).
Now we basically had the edge case of the last batch only containing a single sample and on top that sample being a staleness marker, which is skipped. Thus we add the nonsensical sample with timestamp -1.
Of course we should avoid having single sample batches as well. Will prepare a fix for both.
from thanos.
Related Issues (20)
- go-grpc-prometheus is deprecated
- Compactor: Workload identity stopped working after upgrade to v0.34.0 HOT 2
- frontend, store: query cancel floods logs with error messages related to redis cache context cancel
- Change the reflect package to an unsafe package
- increase/rate got abnormally large result on aggregated data sources HOT 6
- Index header creation is not windows compatible HOT 2
- Constant compactor warnings due to deletion delay HOT 3
- Thanos Compactor not pruning old data HOT 2
- S3 bucket Access Denied when retrieving credentials using Amazon EKS Pod Identity HOT 4
- Add a source label to the `thanos_rule_evaluation_with_warnings_total` metric
- Is Thanos FIPS compliant? HOT 2
- Thanos receiver is unable to ingest data stating msg="only metadata from client; metadata ingestion not supported skipping” HOT 1
- receive: Issue with hashring configuration leading to "amount of endpoints needs to be larger than replication factor" error HOT 1
- Dedup Index Cache requests HOT 1
- Dedup ExpandPostings call
- receive-distributor: SIGSEGV and workbuf is not empty HOT 6
- alert for `receive` not uploading triggers on empty block writes
- Thanos generates a lot of warnings when Prometheus creates empty chunks
- [Compact] duplicated blocks with different id but same data
- Support random delay before upload blocks on sidecar HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thanos.