Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-2.9] Upgrade to thanos 0.32.3 #84

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
456 commits
Select commit Hold shift + click to select a range
60e4d5c
fix 0.31 changelog (#6278)
junotx Apr 13, 2023
f8d401d
Query: Switch Multiple Engines (#6234)
PradyumnaKrishna Apr 13, 2023
6072e7c
docs: mismatch in changelog
Etienne-M Apr 14, 2023
9388bbc
Merge pull request #6282 from Etienne-M/patch-1
fpetkovski Apr 15, 2023
c1491c3
Updates busybox SHA (#6283)
github-actions[bot] Apr 17, 2023
0c2af21
Upgrade prometheus to 7309ac272195cb856b879306d6a27af7641d3346 (#6287)
alexqyle Apr 18, 2023
5b357a8
Add CarTrade Tech as new adopter
naveadkazi Apr 19, 2023
6d838e7
Merge pull request #6294 from naveadkazi/main
fpetkovski Apr 19, 2023
d75fbe5
sort ProxyResponseHeap comparing only diff labels
wallee94 Apr 20, 2023
4df39d7
proxy heap: remove store labels before comparing response series
wallee94 Apr 22, 2023
3c0c9ff
tests: Remove custom Between test matcher (#6310)
douglascamata Apr 24, 2023
f460da5
Remove testingRespSet and update comparison func
wallee94 Apr 25, 2023
191c775
Merge branch 'main' into change-proxy-response-heap-less-func
wallee94 Apr 25, 2023
5a7c764
Fix tests
wallee94 Apr 25, 2023
692a21d
query frontend, query UI: Native histogram support (#6071)
rabenhorst Apr 25, 2023
ba82514
store: add streamed snappy encoding for postings list (#6303)
GiedriusS Apr 26, 2023
f6871f7
compact: atomically replace no compact marked map (#6319)
GiedriusS Apr 26, 2023
85067c3
Reuse buffers for label comparison
fpetkovski Apr 27, 2023
d2c6333
Use len instead of cap
fpetkovski Apr 27, 2023
b8977d0
Use len instead of cap
fpetkovski Apr 27, 2023
380b1e4
Merge pull request #1 from fpetkovski/change-proxy-response-heap-less…
wallee94 Apr 28, 2023
6afef49
Merge branch 'main' into change-proxy-response-heap-less-func
wallee94 Apr 28, 2023
4d6a1d7
Fixed Jaeger exporter specification link (#6324)
rabenhorst Apr 28, 2023
a1ec4d5
receive: Make max backoff configurable (#6163)
philipgough May 2, 2023
26c5513
Merge branch 'main' into change-proxy-response-heap-less-func
wallee94 May 3, 2023
9855151
Replace summary in extprom metrics with histogram (#6327)
rabenhorst May 3, 2023
1ae857e
Expose info for each TSDB
fpetkovski Mar 1, 2023
6fd6d2c
Add test case for proxy store
fpetkovski May 3, 2023
3434938
Pass engine factory by reference
rabenhorst May 3, 2023
9264b2d
Use NewQueryEngineFactory in tests
rabenhorst May 3, 2023
1d08ebf
Merge pull request #6331 from rabenhorst/fix-engine-factory
fpetkovski May 3, 2023
7ba2f2b
Avoid expensive log.Valuer evaluation for disallowed levels (#6322)
damnever May 4, 2023
8d0eb07
Merge pull request #6299 from wallee94/change-proxy-response-heap-les…
fpetkovski May 4, 2023
d2107cf
Fix inconsistent error for series limits in Store API (#6330)
thibaultmg May 4, 2023
4a718a3
*: remove unmaintained gzip library (#6332)
GiedriusS May 4, 2023
4cba8e1
Traces sampler env var (#6306)
shayyxi May 4, 2023
a3ae856
query: use storepb.SeriesServer (#6334)
GiedriusS May 4, 2023
9d0562b
cacheutil: upgrade `rueidis` to v1.0.2 to improve error handling whil…
rueian May 7, 2023
0220b38
fix: spelling errors DoInSpanWtihErr to DoInSpanWithErr (#6345)
aimuz May 8, 2023
df6c6f7
Return grpc code resource exhausted for byte limit error (#6325)
yeya24 May 8, 2023
6e925ad
Merge pull request #6329 from fpetkovski/expose-tsdb-infos
fpetkovski May 8, 2023
7000066
Bump promql-engine to fix https://github.com/thanos-community/promql-…
ahurtaud May 9, 2023
cdb395a
Optimize generating store match reason (#6355)
fpetkovski May 10, 2023
0c3cda9
Updates busybox SHA (#6365)
github-actions[bot] May 15, 2023
f6dfd7f
Query: Add +Inf bucket to query duration metrics (#6358)
jacobbaungard May 15, 2023
bd2a0ac
Check context when expanding postings (#6363)
yeya24 May 17, 2023
b1faf12
ui: only keep name in store_matches param (#6371)
GiedriusS May 17, 2023
4023bc4
docs: replace --store with --endpoint
pgier May 17, 2023
721a1f8
Merge pull request #6373 from pgier/update-docs-store-argument
fpetkovski May 18, 2023
cd0f532
Optimizing "grafana generated" regex matchers (#6376)
alanprot May 18, 2023
5289449
Cache: various index cache client improvements (#6374)
yeya24 May 18, 2023
3f08f50
e2e(query): Reproduce dedup issue from #6257
douglascamata May 18, 2023
63ceff4
Add dedup e2e test for Receive
douglascamata May 18, 2023
e9c545a
Simplify generated blocks for query test
douglascamata May 18, 2023
2a148ee
Improve query dedup test
douglascamata May 18, 2023
940e16c
Write a query test for dedup with sidecar
douglascamata May 18, 2023
ef6457d
Refactor query dedup test with sidecar
douglascamata May 18, 2023
477d857
Fix Receive query test
douglascamata May 18, 2023
6f5b500
Fix receive drawing
douglascamata May 18, 2023
cbff9f6
Add one extra test caes for query dedup from store
douglascamata May 19, 2023
c29d5fb
Complement test for Receive query with dedup
douglascamata May 19, 2023
eee39e3
Complement test for Sidecar query dedup
douglascamata May 19, 2023
017eeeb
Query Explanation (#6346)
PradyumnaKrishna May 22, 2023
1dff7c0
Implementing Regex optimization on the `MatchNotRegexp` and `MatchNot…
alanprot May 22, 2023
67e2020
Expected failure of block label query dedup tests
douglascamata May 22, 2023
596d23f
Rerun CI
douglascamata May 23, 2023
040d36f
Rerun CI
douglascamata May 23, 2023
231c630
Merge branch 'main' of github.com:thanos-io/thanos into dedup-error-e…
douglascamata May 23, 2023
f502ddf
Put back the correct makefile
douglascamata May 23, 2023
f8e4d85
add de-cix as adopter (#6386)
rgarcia89 May 23, 2023
012b5df
Remove extra line that broke untouched test
douglascamata May 23, 2023
facc526
Add back line break at end of makefile
douglascamata May 23, 2023
20fd11f
Fix Receive single ingestor test
douglascamata May 23, 2023
9e8971c
Reproduce dedup issue in Receive
douglascamata May 24, 2023
4f27057
Add even more test cases for dedup on store gw
douglascamata May 24, 2023
bb4af01
Reproduce dedup bug in Sidecar
douglascamata May 24, 2023
8881864
Reuse nginx image name
douglascamata May 24, 2023
ebad261
Let all users read the metrics file from static metrics server
douglascamata May 24, 2023
498fccb
Rerun CI
douglascamata May 24, 2023
364c66c
Rerun CI
douglascamata May 24, 2023
c4321c5
[chore] Updating Query Engine and Prometheus (#6392)
alanprot May 24, 2023
351b057
Receive: Allow specifying tenant-specific external labels in RouterIn…
haanhvu May 25, 2023
35f90a0
check context cancel when doing posting batches (#6396)
yeya24 May 26, 2023
d4a9626
Expose store gateway query stats in series response hints (#6352)
yeya24 May 26, 2023
4a31d91
receive: make az aware ketama hashring (#6369)
alxric May 27, 2023
86c26be
Reformat asciiflow chart
douglascamata May 29, 2023
03aea4f
Proposal: query path tenancy (#6320)
douglascamata May 30, 2023
ebfe010
Fix double-counting bug in http_request_duration metric (#6399)
4orty May 30, 2023
7eeb1bc
Replace group with resolution in compact metrics.
SuperQ Jan 17, 2023
1c34a99
Reuse static metrics server from e2e framework
douglascamata May 30, 2023
54571e6
Merge branch 'main' of github.com:thanos-io/thanos into dedup-error-e…
douglascamata May 30, 2023
de08903
Run go mod tidy
douglascamata May 30, 2023
541a59a
Merge pull request #6377 from douglascamata/dedup-error-e2e-test
fpetkovski May 30, 2023
eea398e
Updates busybox SHA (#6403)
github-actions[bot] May 31, 2023
390926c
Fix series stats merge (#6408)
yeya24 Jun 1, 2023
758f7bf
Receive: allow unlimited head_series_limit tenants (#6406)
jacobbaungard Jun 2, 2023
fbc8885
expose downloaded data size in query hints (#6409)
yeya24 Jun 2, 2023
575357a
maintainers: add myself to triagers (#6414)
MichaHoffmann Jun 5, 2023
dfb6d55
Add `@douglascamata` to triagers (#6418)
douglascamata Jun 6, 2023
a114b9e
Add Blog (#6411)
PradyumnaKrishna Jun 7, 2023
1788584
blog: Fix images for LFX post (#6422)
saswatamcode Jun 7, 2023
6622110
Index Cache: Change cache key for postings (#6405)
yeya24 Jun 7, 2023
f84297d
Receive: upgrading logs for failed uploads to error (#6427)
vhbfernandes Jun 8, 2023
f4a6ad8
fix postings test
yeya24 Jun 8, 2023
1c75bb0
Merge pull request #6429 from yeya24/fix-posting-test
fpetkovski Jun 8, 2023
63e696c
Add aiven as adopter... more soon!
jkowall Jun 8, 2023
adcdcb7
First draft of the Aiven adoption story
jkowall Jun 8, 2023
a730de6
Add aiven as adopter... more soon! (#6430)
jkowall Jun 8, 2023
13f6393
Report gRPC connnection errors to the caller (#6428)
simonpasquier Jun 11, 2023
8f7f2bf
chore: remove duplicated `gopkg.in/fsnotify.v1` dep (#6432)
Juneezee Jun 11, 2023
a830041
Expose estimated chunk and series size as configurable options (#6426)
yeya24 Jun 12, 2023
1941ebd
Receive: make tsdb stats limit configurable (#6437)
MichaHoffmann Jun 12, 2023
1b062a0
*: wire new Engine/Explain fields in query-frontend (#6433)
GiedriusS Jun 12, 2023
fa45a46
index cache: Cache expanded postings (#6420)
yeya24 Jun 12, 2023
c177de7
add approximate series size to index stats (#6425)
yeya24 Jun 12, 2023
a0b37fd
index stats: fix chunk size calculation (#6424)
yeya24 Jun 12, 2023
0651f33
Remove some unused Cortex vendored code and metrics (#6440)
yeya24 Jun 13, 2023
ab10d61
Avoid direct cortex vendor dependency in promclient (#6443)
yeya24 Jun 14, 2023
bc96d6e
query.md: Added grpc_{client,server}_handled_total to metrics list. (…
jpds Jun 15, 2023
c71bd30
Updates busybox SHA (#6448)
github-actions[bot] Jun 15, 2023
d34f5d9
store: read postings directly into delta encoded format (#6442)
GiedriusS Jun 15, 2023
4bc0b8e
compact: Add Index Stats to block metadata (#6441)
yeya24 Jun 16, 2023
d430269
estimate block chunk and series size from metadata (#6449)
yeya24 Jun 16, 2023
b7a7522
Merge pull request #6049 from SuperQ/superq/remove_group_label
fpetkovski Jun 17, 2023
c5d4ea4
Adding graphic for blog showing architecture
jkowall Jun 17, 2023
6ba1b1e
Fixing mermaid graph
jkowall Jun 17, 2023
6bcde9a
Fixing mermaid graph again
jkowall Jun 17, 2023
13e1650
Remove image and fix mermaid for other flowchart
jkowall Jun 17, 2023
9c09ba6
Fixing prod flowchart
jkowall Jun 17, 2023
42ee068
Fixing prod flowchart title
jkowall Jun 17, 2023
af82a8b
Fixing md table
jkowall Jun 17, 2023
bab3f8d
Fixing md table again
jkowall Jun 17, 2023
4537b6d
Adding clarification on cost breakdowns
jkowall Jun 17, 2023
90624ad
Adding clarification on cost breakdowns
jkowall Jun 17, 2023
86225bc
Store: fix crash on empty regex matcher
mhoffm-aiven Jun 19, 2023
88cdb28
Merge pull request #6456 from mhoffm-aiven/mhoffm-fix-store-crash-on-…
fpetkovski Jun 19, 2023
f0c5aef
Some corrections on text and links
jkowall Jun 19, 2023
ade2584
Fixing links
jkowall Jun 19, 2023
720a2ff
Fixing links
jkowall Jun 19, 2023
926b8b7
Fixing links
jkowall Jun 19, 2023
b594ecf
Fixing links
jkowall Jun 19, 2023
e67ea64
Fixing links
jkowall Jun 19, 2023
09c0084
Fixing diagams
jkowall Jun 19, 2023
0114706
Fixing currencies
jkowall Jun 19, 2023
ef8f2d9
Fixing diagams
jkowall Jun 19, 2023
0c333c1
Fixing images
jkowall Jun 19, 2023
a7a6f67
Website: Fix blog images width (#6450)
PradyumnaKrishna Jun 20, 2023
2ef6c76
Cache calculated mint and maxt for each remote engine (#6458)
fpetkovski Jun 20, 2023
3075c85
Merge branch 'thanos-io:main' into aiven-blog
jkowall Jun 20, 2023
d207d29
cache empty expanded postings (#6464)
yeya24 Jun 22, 2023
40e1b2d
mixin/receive: add limits alerting (#6466)
thibaultmg Jun 22, 2023
c1311c2
Update docs/blog/2023-06-08-thanos-at-aiven.md
jkowall Jun 23, 2023
723f75e
Merge branch 'thanos-io:main' into aiven-blog
jkowall Jun 23, 2023
a60b7d8
Add retention for M3
jkowall Jun 23, 2023
dd7f34f
Add image versus mermaid diagram. Couldn't comment it out unfortunately
jkowall Jun 23, 2023
88f1f30
Adding text around link to fix linter
jkowall Jun 23, 2023
9b514ed
make docs
jkowall Jun 24, 2023
5d695e9
add alert for tenant reaching head series limit (#6467)
thibaultmg Jun 26, 2023
3d74f9f
go.mod: bump rest of otel libs (#6447)
GiedriusS Jun 26, 2023
75770d3
store: disable pooling for postings benchmarks (#6473)
GiedriusS Jun 27, 2023
6b7354c
Merge pull request #6461 from jkowall/aiven-blog
fpetkovski Jun 27, 2023
1e94b13
Fixing date and author for Aiven blog (#6476)
jkowall Jun 27, 2023
7cfaf3f
Check context when expanding postings 2nd attempt (#6471)
yeya24 Jun 27, 2023
6f93415
[FEAT] Add thanos ruler blog post (#6477)
heliapb Jun 28, 2023
462d21f
blog: Small fixes to Aiven article (#6481)
sigmaris Jun 28, 2023
74d3fd2
Rename series and postings fetch duration metrics (#6479)
yeya24 Jun 28, 2023
7749936
Update to prometheus/common v0.44.0 (#6483)
dbason Jun 29, 2023
49fac8a
go.mod: update rueidis client (#6485)
GiedriusS Jun 29, 2023
2339836
Introduce tenancy package (#6482)
jacobbaungard Jun 30, 2023
37cf559
Ignore nginx.com links in mdox (#6489)
saswatamcode Jul 1, 2023
12cd596
blog: Update Aiven blog post (#6487)
Jul 3, 2023
9710935
store: optimized snappy streamed reading (#6475)
GiedriusS Jul 3, 2023
6d40060
Remove Exists call in meta fetcher (#6474)
fpetkovski Jul 3, 2023
b60452a
e2e/store: use now instead of time.Now() each time (#6493)
GiedriusS Jul 3, 2023
e2123a9
[FIX] Documentation issue (#6494)
heliapb Jul 3, 2023
75af8fd
Updates busybox SHA (#6497)
github-actions[bot] Jul 3, 2023
81fdea9
chore: pkg imported more than once (#6499)
testwill Jul 4, 2023
c6623f8
*: Remove unnecessary configuration reload from `ContentPathReloader`…
douglascamata Jul 5, 2023
ca308b0
add context check when decoding cached postings (#6506)
yeya24 Jul 6, 2023
b46b835
*: Change the engine behind `ContentPathReloader` to be completely in…
douglascamata Jul 10, 2023
b80cd9d
receive: add float histogram support (#6323)
rabenhorst Jul 10, 2023
f94b6ed
go.mod: bump e2e framework version (#6516)
GiedriusS Jul 10, 2023
1dcbd7a
Add changelog for #6474 (#6518)
fpetkovski Jul 10, 2023
4dd2667
cortex/redisclient: use rueidis client (#6520)
GiedriusS Jul 11, 2023
df3a5f8
index header: Remove memWriter from fileWriter (#6509)
yeya24 Jul 11, 2023
9e7bd8e
Wrap object store Prometheus registry (#6152)
douglascamata Jul 11, 2023
4218109
e2e/store: try to fix Series() limit test again (#6522)
GiedriusS Jul 12, 2023
cb2ab1b
pkg/reloader: use watchInterval timeout for initial apply (#6519)
captncraig Jul 12, 2023
a395c5d
Standardize index cache metrics (#6523)
alanprot Jul 12, 2023
7ff170f
Add histogram metrics for index cache item size (#6528)
yeya24 Jul 13, 2023
dc337b2
Upgrade objstore (#6507)
kakkoyun Jul 14, 2023
723dfd0
Make compact lifecycle more flexible to be overridden for sharded com…
alexqyle Jul 14, 2023
778e907
Updates busybox SHA (#6534)
github-actions[bot] Jul 17, 2023
6fda58a
BucketedBytes to buffer byte slices when decoding postings from cache…
alanprot Jul 17, 2023
a10de73
Shipper: change upload compacted type from bool to a function (#6526)
yeya24 Jul 19, 2023
dce0794
Query: Forward tenant information via StoreAPI (#6530)
jacobbaungard Jul 20, 2023
cdba35b
Deduplicate matchers in posting group (#6532)
yeya24 Jul 20, 2023
27ea180
Add Zenduty as an Adopter (#6555)
zenbeam Jul 24, 2023
a4e81ea
compact: respect block-files-concurrency setting when downsampling (#…
xBazilio Jul 25, 2023
510c054
Remove tenant header logs in store gateway (#6552)
yeya24 Jul 26, 2023
a817dbf
store/prometheus: ensure sidecar respects ext labels (#6564)
GiedriusS Jul 27, 2023
2790de4
Add flag to optionally disable adding Thanos params when querying met…
anas-aso Jul 27, 2023
3e727a0
test/e2e: do not share chromedp allocators (#6567)
GiedriusS Jul 28, 2023
a84375f
Resort store response set on internal label dedup
fpetkovski Apr 25, 2023
00ce595
Resort data in TSDB
fpetkovski Jul 28, 2023
9d4628b
Fix bucket_test.go
fpetkovski Jul 28, 2023
0ea795e
Fix TSDB store
fpetkovski Jul 29, 2023
dd9b052
Remove print statements
fpetkovski Jul 29, 2023
6d37f8a
Flush at end of Series call
fpetkovski Jul 29, 2023
c779697
Fix bucket test
fpetkovski Jul 29, 2023
f230301
Cleanup code
fpetkovski Jul 29, 2023
26cbd33
Clean up e2e/query_test.go
fpetkovski Jul 29, 2023
2f659ad
Fix bucket test
fpetkovski Jul 29, 2023
86b2124
Remove lift (#6571)
TomMD Jul 29, 2023
2606855
cacheutil: move redis SetAsync() out into worker architecture (#6566)
GiedriusS Jul 31, 2023
2c88520
Extend posting histogram metrics bucket (#6570)
yeya24 Jul 31, 2023
a35a5b2
Replicate flags for min and max compaction level (#6574)
philipgough Aug 1, 2023
db076c8
Use index header to read labels
fpetkovski Aug 1, 2023
e185d04
Remove redundant comments
fpetkovski Aug 1, 2023
e1a3ec1
replicate: fix panic: duplicate metrics collector registration attemp…
philipgough Aug 1, 2023
16b79a0
Upgrade objstore (#6548)
jacobbaungard Aug 1, 2023
a339bdc
fix data race of chunk reader stats (#6578)
yeya24 Aug 2, 2023
eb80318
store/bucket: fix data race (#6575)
GiedriusS Aug 2, 2023
ffc42df
store/bucket: fix bytes limiter data race (#6581)
GiedriusS Aug 4, 2023
7d0d563
extprom: fix test (#6591)
GiedriusS Aug 7, 2023
7432fc6
fix data downloaded size sum race when loading chunks (#6586)
yeya24 Aug 7, 2023
c492ce9
go.mod: update Redis client (#6589)
GiedriusS Aug 7, 2023
93cb319
Add metric to track number of chunk refetches (#6593)
yeya24 Aug 9, 2023
87bcbce
Merge branch 'main' into resort-dataset-on-internal-dedup
fpetkovski Aug 9, 2023
8c511ac
Fix lint
fpetkovski Aug 9, 2023
98abbf2
store: fix series stats race (#6596)
GiedriusS Aug 9, 2023
25122b0
Fix vertical sharding bug in without and union operations (#6592)
yeya24 Aug 9, 2023
4633976
query/endpointset: fix races (#6599)
GiedriusS Aug 9, 2023
84567ec
Merge pull request #6317 from fpetkovski/resort-dataset-on-internal-d…
fpetkovski Aug 10, 2023
d6a8f0b
store: properly handle snappy compression continuations (#6602)
GiedriusS Aug 10, 2023
a7c63d9
components/query: add a paragraph about filter (#6607)
GiedriusS Aug 11, 2023
bf5c275
cache: remove unnecessary nil check (#6603)
Juneezee Aug 11, 2023
266a760
Bump go4.org/intern to fix build on go1.21 (#6609)
jonjohnsonjr Aug 13, 2023
3cb7f91
Updates busybox SHA (#6614)
github-actions[bot] Aug 15, 2023
0543285
Update objstore and promql-engine to latest (#6618)
saswatamcode Aug 16, 2023
51da039
store/bucket: wait until chunk loading ends in Close() (#6582)
GiedriusS Aug 16, 2023
553c061
CHANGELOG: Mark v0.32 as in progress (#6617)
saswatamcode Aug 16, 2023
48a30b6
Cut release candidate v0.32.0-rc.0 (#6620)
saswatamcode Aug 16, 2023
0ea99ac
Cut release candidate `v0.32.0-rc.1` (#6630)
saswatamcode Aug 21, 2023
041eb41
Cut final release for `v0.32.0` (#6634)
saswatamcode Aug 23, 2023
5bf3a9e
Cut patch release `v0.32.1` (#6670)
saswatamcode Aug 28, 2023
7f5c066
Cut patch release `v0.32.2` (#6685)
saswatamcode Aug 31, 2023
3d98d7c
Cut patch release `v0.32.3` (#6736)
saswatamcode Sep 20, 2023
8f57aef
Merge tag 'v0.32.3' into upgrade-to-thanos-0.32.3
subbarao-meduri Sep 20, 2023
67eb61a
add OpenShift CI files, keep minTLS at 1.2
subbarao-meduri Sep 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions .busybox-versions
@@ -1,7 +1,7 @@
# Auto generated by busybox-updater.sh. DO NOT EDIT
amd64=650cefc7292b429ac55e3f9cc49a55a4cdd58698474310bb280c5e57adebf40a
arm64=63e8d2c5aa02d37f81bc9bfd80b92bbc59b31a0099a990649b887f861264b3b5
arm=810be036d4e95b015f26c01ba999a2e14fde69b5af0c264fe607971a35ba3787
ppc64le=b698a18e2d756e00697a63ac749825ee8c3f8a50133b8998dbed092c474c1f46
riscv64=02a69336c173007423c0be20cfd1c8a76b3fd6d4696a5b7c19022be9a631688b
s390x=72832339f6003c44a4cdf9d576efa3ff19d5ce55e27198b4089528bf0dd04788
amd64=7926ace2c2ee4c8fd52ae5badcc409685bae02090f796e26ef7bb504245acaaa
arm64=2754fd36a6cd1753c82f7954477b9864a0d0d2f7825c9ad015f3f2ce58d82f14
arm=a2f2a8253820f58e0a9721045b9e5f61df2aef79d679a638e2b901d4be6e27df
ppc64le=5e26d389ce9d04cf55740944dab6d7896766fd21a5eca05201e0aef4eab96852
riscv64=d671b149d69a3497f12d802a2cb3bf490bc16d9f048583868176bd016f35da61
s390x=50895280c397af8998357e1a522a4f82774d6abeddc7a95bafeb10cb46692bba
41 changes: 38 additions & 3 deletions CHANGELOG.md
Expand Up @@ -18,19 +18,54 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re

### Removed

## [v0.32.3](https://github.com/thanos-io/thanos/tree/release-0.32) - 20.09.2023

### Fixed

- [#6692](https://github.com/thanos-io/thanos/pull/6692) Store: Fix matching bug when using empty alternative in regex matcher, for example (a||b).
- [#6679](https://github.com/thanos-io/thanos/pull/6697) Store: Fix block deduplication
- [#6706](https://github.com/thanos-io/thanos/pull/6706) Store: Series responses should always be sorted

### Added

### Changed

- [#6664](https://github.com/thanos-io/thanos/pull/6664) *: Update Prometheus to 2.46.1.
- [#6722](https://github.com/thanos-io/thanos/pull/6722) *: Optimize iterations on GCS buckets by requesting only object names.
- [#6544](https://github.com/thanos-io/thanos/pull/6500) Objstore: Update objstore to latest version which adds a new metric regarding uploaded TSDB bytes

### Removed

## [v0.32.2](https://github.com/thanos-io/thanos/tree/release-0.32) - 31.08.2023

### Fixed

- [#6675](https://github.com/thanos-io/thanos/pull/6675) Store: Fix race when iterating blocks
- [#6679](https://github.com/thanos-io/thanos/pull/6679) store: Record stats even on ExpandPostings error
- [#6681](https://github.com/thanos-io/thanos/pull/6681) Store: Fix forgotten field in store stats merge
- [#6684](https://github.com/thanos-io/thanos/pull/6684) Store: Fix postings reader short reads to address nil postings bug

### Added

### Changed

### Removed

## [v0.32.1](https://github.com/thanos-io/thanos/tree/release-0.32) - 28.08.2023

### Fixed

- [#6650](https://github.com/thanos-io/thanos/pull/6650) Store: fix error handling in decodePostings
- [#6654](https://github.com/thanos-io/thanos/pull/6654) Store: fix ignored error in postings
- [#6655](https://github.com/thanos-io/thanos/pull/6655) Store: fix bufio pool handling
- [#6650](https://github.com/thanos-io/thanos/pull/6650) Store: Fix error handling in decodePostings
- [#6654](https://github.com/thanos-io/thanos/pull/6654) Store: Fix ignored error in postings
- [#6655](https://github.com/thanos-io/thanos/pull/6655) Store: Fix bufio pool handling
- [#6669](https://github.com/thanos-io/thanos/pull/6669) Store: Fix mutable stringset memory usage

### Added

### Changed

- [#6664](https://github.com/thanos-io/thanos/pull/6664) *: Update Prometheus to 2.46.1.

### Removed

## [v0.32.0](https://github.com/thanos-io/thanos/tree/release-0.32) - 23.08.2023
Expand Down
21 changes: 0 additions & 21 deletions UPGRADE.md
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the motive for removing this file? Seems like it is useful. 🙂

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the instructions are dated 🙂

I used these instructions for doing the merge:
https://stackoverflow.com/questions/173919/is-there-a-theirs-version-of-git-merge-s-ours
(See section A possible and tested solution for merging branchB into our checked-out branchA:)

I will need to script this (separate PR) so it can be reused going forward.

This file was deleted.

2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.32.1
0.32.3
6 changes: 3 additions & 3 deletions cmd/thanos/main_test.go
Expand Up @@ -77,9 +77,9 @@ func (b *erroringBucket) IsObjNotFoundErr(err error) bool {
return b.bkt.IsObjNotFoundErr(err)
}

// IsCustomerManagedKeyError returns true if error means that customer managed key is invalid.
func (b *erroringBucket) IsCustomerManagedKeyError(err error) bool {
return b.bkt.IsCustomerManagedKeyError(err)
// IsAccessDeniedErr returns true if error means that access to the object was denied.
func (b *erroringBucket) IsAccessDeniedErr(err error) bool {
return b.bkt.IsAccessDeniedErr(err)
}

// Attributes returns information about the specified object.
Expand Down
18 changes: 2 additions & 16 deletions cmd/thanos/receive.go
Expand Up @@ -24,6 +24,7 @@ import (
"github.com/prometheus/prometheus/model/labels"
"github.com/prometheus/prometheus/model/relabel"
"github.com/prometheus/prometheus/tsdb"
"github.com/prometheus/prometheus/tsdb/wlog"
"google.golang.org/grpc"
"gopkg.in/yaml.v2"

Expand Down Expand Up @@ -85,7 +86,7 @@ func registerReceive(app *extkingpin.App) {
OutOfOrderTimeWindow: int64(time.Duration(*conf.tsdbOutOfOrderTimeWindow) / time.Millisecond),
OutOfOrderCapMax: conf.tsdbOutOfOrderCapMax,
NoLockfile: conf.noLockFile,
WALCompression: conf.walCompression,
WALCompression: wlog.ParseCompressionType(conf.walCompression, string(wlog.CompressionSnappy)),
MaxExemplars: conf.tsdbMaxExemplars,
EnableExemplarStorage: conf.tsdbMaxExemplars > 0,
HeadChunksWriteQueueSize: int(conf.tsdbWriteQueueSize),
Expand Down Expand Up @@ -365,21 +366,6 @@ func runReceive(
grpcserver.WithTLSConfig(tlsCfg),
)

ctx, cancel := context.WithCancel(context.Background())
level.Debug(logger).Log("msg", "setting up periodic update for label names")
g.Add(func() error {
return runutil.Repeat(10*time.Second, ctx.Done(), func() error {
level.Debug(logger).Log("msg", "Starting label names update")

dbs.UpdateLabelNames(ctx)

level.Debug(logger).Log("msg", "Finished label names update")
return nil
})
}, func(err error) {
cancel()
})

g.Add(
func() error {
level.Info(logger).Log("msg", "listening for StoreAPI and WritableStoreAPI gRPC", "address", conf.grpcConfig.bindAddress)
Expand Down
5 changes: 3 additions & 2 deletions cmd/thanos/rule.go
Expand Up @@ -37,6 +37,7 @@ import (
"github.com/prometheus/prometheus/storage/remote"
"github.com/prometheus/prometheus/tsdb"
"github.com/prometheus/prometheus/tsdb/agent"
"github.com/prometheus/prometheus/tsdb/wlog"
"github.com/prometheus/prometheus/util/strutil"

"github.com/thanos-io/objstore"
Expand Down Expand Up @@ -166,11 +167,11 @@ func registerRule(app *extkingpin.App) {
MaxBlockDuration: int64(time.Duration(*tsdbBlockDuration) / time.Millisecond),
RetentionDuration: int64(time.Duration(*tsdbRetention) / time.Millisecond),
NoLockfile: *noLockFile,
WALCompression: *walCompression,
WALCompression: wlog.ParseCompressionType(*walCompression, string(wlog.CompressionSnappy)),
}

agentOpts := &agent.Options{
WALCompression: *walCompression,
WALCompression: wlog.ParseCompressionType(*walCompression, string(wlog.CompressionSnappy)),
NoLockfile: *noLockFile,
}

Expand Down
47 changes: 3 additions & 44 deletions cmd/thanos/sidecar.go
Expand Up @@ -48,7 +48,6 @@ import (
"github.com/thanos-io/thanos/pkg/shipper"
"github.com/thanos-io/thanos/pkg/store"
"github.com/thanos-io/thanos/pkg/store/labelpb"
"github.com/thanos-io/thanos/pkg/stringset"
"github.com/thanos-io/thanos/pkg/targets"
"github.com/thanos-io/thanos/pkg/tls"
)
Expand Down Expand Up @@ -113,9 +112,8 @@ func runSidecar(
mint: conf.limitMinTime.PrometheusTimestamp(),
maxt: math.MaxInt64,

limitMinTime: conf.limitMinTime,
client: promclient.NewWithTracingClient(logger, httpClient, "thanos-sidecar"),
labelNamesSet: stringset.AllStrings(),
limitMinTime: conf.limitMinTime,
client: promclient.NewWithTracingClient(logger, httpClient, "thanos-sidecar"),
}

confContentYaml, err := conf.objStore.Content()
Expand Down Expand Up @@ -239,19 +237,6 @@ func runSidecar(
}, func(error) {
cancel()
})

g.Add(func() error {
return runutil.Repeat(10*time.Second, ctx.Done(), func() error {
level.Debug(logger).Log("msg", "Starting label names update")

m.UpdateLabelNames(context.Background())

level.Debug(logger).Log("msg", "Finished label names update")
return nil
})
}, func(err error) {
cancel()
})
}
{
ctx, cancel := context.WithCancel(context.Background())
Expand All @@ -264,7 +249,7 @@ func runSidecar(
{
c := promclient.NewWithTracingClient(logger, httpClient, httpconfig.ThanosUserAgent)

promStore, err := store.NewPrometheusStore(logger, reg, c, conf.prometheus.url, component.Sidecar, m.Labels, m.Timestamps, m.LabelNamesSet, m.Version)
promStore, err := store.NewPrometheusStore(logger, reg, c, conf.prometheus.url, component.Sidecar, m.Labels, m.Timestamps, m.Version)
if err != nil {
return errors.Wrap(err, "create Prometheus store")
}
Expand Down Expand Up @@ -434,8 +419,6 @@ type promMetadata struct {
limitMinTime thanosmodel.TimeOrDurationValue

client *promclient.Client

labelNamesSet stringset.Set
}

func (s *promMetadata) UpdateLabels(ctx context.Context) error {
Expand Down Expand Up @@ -463,30 +446,6 @@ func (s *promMetadata) UpdateTimestamps(mint, maxt int64) {
s.maxt = maxt
}

func (s *promMetadata) UpdateLabelNames(ctx context.Context) {
mint, _ := s.Timestamps()
labelNames, err := s.client.LabelNamesInGRPC(ctx, s.promURL, nil, mint, time.Now().UnixMilli())
if err != nil {
s.mtx.Lock()
defer s.mtx.Unlock()

s.labelNamesSet = stringset.AllStrings()
return
}

filter := stringset.NewFromStrings(labelNames...)
s.mtx.Lock()
s.labelNamesSet = filter
s.mtx.Unlock()
}

func (s *promMetadata) LabelNamesSet() stringset.Set {
s.mtx.Lock()
defer s.mtx.Unlock()

return s.labelNamesSet
}

func (s *promMetadata) Labels() labels.Labels {
s.mtx.Lock()
defer s.mtx.Unlock()
Expand Down
17 changes: 0 additions & 17 deletions cmd/thanos/store.go
Expand Up @@ -496,23 +496,6 @@ func runStore(
})
}

{
ctx, cancel := context.WithCancel(context.Background())
level.Debug(logger).Log("msg", "setting up periodic update for label names")
g.Add(func() error {
return runutil.Repeat(10*time.Second, ctx.Done(), func() error {
level.Debug(logger).Log("msg", "Starting label names update")

bs.UpdateLabelNames()

level.Debug(logger).Log("msg", "Finished label names update")
return nil
})
}, func(err error) {
cancel()
})

}
// Add bucket UI for loaded blocks.
{
ins := extpromhttp.NewInstrumentationMiddleware(reg, nil)
Expand Down
10 changes: 0 additions & 10 deletions docs/components/query.md
Expand Up @@ -103,16 +103,6 @@ thanos query \

This logic can also be controlled via parameter on QueryAPI. More details below.

### Deduplication on non-external labels

In `v0.31.0` we have implemented an [optimization](../proposals-accepted/20221129-avoid-global-sort.md) which broke deduplication on non-external labels. We think that it was just a coincidence that deduplication worked at all on non-external labels in previous versions.

External labels always override any labels a series might have and this makes it so that it is possible to remove replica labels on series returned by a StoreAPI as an optimization. If deduplication happens on internal labels then that might lead to unsorted series from a StoreAPI and that breaks deduplication.

To fix this use-case, in 0.32.0 we've implemented a cuckoo filter on label names that is updated every 10 seconds. Using it we can detect whether deduplication was requested on internal labels. If that is the case then the series set is resorted before being sent off to the querier. It is strongly recommended to set replica labels which are external labels because otherwise the optimization cannot be applied and your queries will be slower by 20-30%.

In the future we have plans to expose this cuckoo filter through the InfoAPI. This will allow better scoping queries to StoreAPIs.

## Experimental PromQL Engine

By default, Thanos querier comes with standard Prometheus PromQL engine. However, when `--query.promql-engine=thanos` is specified, Thanos will use [experimental Thanos PromQL engine](http://github.com/thanos-community/promql-engine) which is a drop-in, efficient implementation of PromQL engine with query planner and optimizers.
Expand Down
1 change: 1 addition & 0 deletions docs/storage.md
Expand Up @@ -357,6 +357,7 @@ type: AZURE
config:
storage_account: ""
storage_account_key: ""
storage_connection_string: ""
container: ""
endpoint: ""
user_assigned_id: ""
Expand Down