Commit Graph

87 Commits (9e999e8b0b2427946a0f37301a6872286b373f56)

Author SHA1 Message Date
Fabian Reinartz d17104f1f0 Prefix all metrics with `prometheus_*`
7 years ago
Fabian Reinartz fb9da52b11 Add more verbose error handling for closing, reduce locking
7 years ago
Goutham Veeramachaneni da565f975e Merge pull request #161 from prometheus/fileutil
7 years ago
Fabian Reinartz f04ec031eb compact: sync temporary directory
7 years ago
Fabian Reinartz bbe72dccb9 Remove dependency on etcd/pkg/fileutil
7 years ago
Goutham Veeramachaneni c35d3a65bd
Add levels to all log lines.
7 years ago
Fabian Reinartz 6ee254e353 Ensure postings are always sorted
7 years ago
Fabian Reinartz f904cd385f Do not build a superflous 'all' postings
7 years ago
Fabian Reinartz c36d574290 Replace single head lock with granular locks
7 years ago
Fabian Reinartz 1ddedf2b30 Change series ID from uint32 to uint64
7 years ago
Fabian Reinartz 9f41d9fd3c Instrument chunks on level 1 compactions
7 years ago
Fabian Reinartz 4cc37eecab Refactor and add tests for compactor
7 years ago
Fabian Reinartz 3901b6e70b Remove multiple heads
7 years ago
Goutham Veeramachaneni 7438ed7035 Expose Intervals type for use by TombstoneReader.
7 years ago
Goutham Veeramachaneni 178f840295 Fix panic caused by 0 division
7 years ago
Fabian Reinartz 905af27cf9 Refactor compactor
7 years ago
Fabian Reinartz 66ff7b12e9 Pool Chunk objects during compaction
7 years ago
Fabian Reinartz 2644c8665c Don't allocate ChunkMetas, reuse postings slices
7 years ago
Fabian Reinartz 96d7f540d4 Persist series without allocating the full set
7 years ago
Fabian Reinartz 3951d8cc29 Fix selection of compactable blocks
7 years ago
Fabian Reinartz 5d7b5994d6 Fix compaction range selection
7 years ago
Goutham Veeramachaneni 401bdfd4a6 Make Chunks return the number of samples inside
8 years ago
Goutham Veeramachaneni 1263a68875 Recompact blocks with large number of tombstones
8 years ago
Goutham Veeramachaneni 9a2ab732b5 Choose ranges by retention and min-block-duration
8 years ago
Goutham Veeramachaneni ce23adb579 Initial compaction implementation for block-ranges
8 years ago
Fabian Reinartz 03f95ee096 Fix directory file descriptor leak.
8 years ago
Fabian Reinartz 05e411a8eb Improve heuristic to spread chunks across block
8 years ago
Fabian Reinartz f006e2d1ab Merge pull request #92 from prometheus/sources
8 years ago
Fabian Reinartz 683b4c8c2a Add list of source head blocks to meta.json
8 years ago
Goutham Veeramachaneni a1c8425357
Initial implementation of HeadBlock Snapshots
8 years ago
Goutham Veeramachaneni 3a5ae6b1a4 Merge pull request #82 from Gouthamve/deletes-1
8 years ago
Goutham Veeramachaneni 44e9ae38b5
Incorporate PR feedback.
8 years ago
Fabian Reinartz b3b9245ad6 Add and fix metrics
8 years ago
Goutham Veeramachaneni 6febabeb28
Final delete fixes.
8 years ago
Goutham Veeramachaneni f29fb62fba
Make TombstoneReader a Getter.
8 years ago
Goutham Veeramachaneni 244b73fce1
Rename for clarity and consistency.
8 years ago
Goutham Veeramachaneni 8434019ad9
Merge branch 'master' into deletes-1
8 years ago
Goutham Veeramachaneni 0b70333ef6
Add tests for tombstones.
8 years ago
Goutham Veeramachaneni 3dbb400bef
Initial implementation of Delete on DB.
8 years ago
Fabian Reinartz 7e6961b4ac Fix import and var name
8 years ago
Fabian Reinartz d2673d8659 Completely drop empty blocks
8 years ago
Fabian Reinartz 39df7e2bba Switch blocks to ULID directories, drop sequenc numbers
8 years ago
Goutham Veeramachaneni 22c1b5b492
Make SeriesSets use tombstones.
8 years ago
Goutham Veeramachaneni 5579efbd5b
Initial implentation of Deletes on persistedBlock
8 years ago
Fabian Reinartz 778103b450 Add liecence file and headers
8 years ago
Fabian Reinartz 10c7c9acbe Adjust import names to new repository organisation
8 years ago
Fabian Reinartz 789e8224ff Fix wrong comparison in head block resorting
8 years ago
Fabian Reinartz 9c93f8f2aa Fix various races
8 years ago
Fabian Reinartz 3635569257 Trigger reload correctly on interrupted compaction
8 years ago
Fabian Reinartz a8e8903350 Use ChunkMeta references for clarity
8 years ago