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

Bump v0.10.0 #22

Closed
wants to merge 159 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
0b4fadd
Updated CHANGELOG. (#1645)
bwplotka Oct 14, 2019
b9101c0
nit: ensure build works when GOPATH is not set (#1647)
ppanyukov Oct 14, 2019
83fcad5
doc on how to disable default partial response behaviour (#1650)
Oct 15, 2019
f529f2b
Remove duplicated sentence in docs (#1638)
CasualSuperman Oct 15, 2019
5d107d1
Added CI testing against S3 bucket. (#1648)
bwplotka Oct 15, 2019
fb0db63
cmd/thanos/flags: remove unhelpful flags helper (#1652)
squat Oct 15, 2019
48a8fb6
pkg/receive: remove flushed WAL (#1654)
squat Oct 16, 2019
c88d3d6
build(deps): bump github.com/miekg/dns from 1.1.19 to 1.1.22 (#1620)
dependabot-preview[bot] Oct 17, 2019
f0d3b14
Add a new prometheus.ready_timeout CLI option to the sidecar (#1660)
bandesz Oct 18, 2019
32149d0
Upgraded minio-go dep. (#1658)
bwplotka Oct 18, 2019
19b9b89
store: Start metric and status probe HTTP server as earlier as possib…
kakkoyun Oct 18, 2019
2f88fca
cmd/thanos/main.go: simplify pprof registration (#1671)
squat Oct 21, 2019
06bd4ee
Fixed compactor tests; Moved to full e2e compact test; Cleaned metric…
bwplotka Oct 21, 2019
5bfe54e
Store: Refactor run group to errgroup (#1468)
povilasv Oct 22, 2019
1dc7299
querier: Actually use select mint,maxt params during select. (#1675)
bwplotka Oct 22, 2019
cb218f3
cmd/thanos/main_test.go: clarify backwards error (#1676)
squat Oct 22, 2019
64af185
store: Filter blocks before loading it. Sort advertise labels; Added …
bwplotka Oct 22, 2019
7005b65
cmd/thanos/receive: remote-write client+server TLS (#1668)
squat Oct 23, 2019
66b3d21
objstore : implement Aliyun OSS (#1573)
wujinhu Oct 24, 2019
9c2fe03
.*: Add new http-grace-period flag (#1680)
kakkoyun Oct 24, 2019
e87f043
Upload blocks with the lowest minTime first (#1679)
obiesmans Oct 24, 2019
f551b8e
fix: oss range in 32bit os (#1682)
mengskysama Oct 25, 2019
95da490
fix docs (#1683)
wujinhu Oct 25, 2019
9299aa6
Bumped version file. (#1685)
bwplotka Oct 25, 2019
7b4d060
http: shutdown the actual http server (#1689)
Oct 28, 2019
0e6b8aa
Add BlaBlaCar as an adopter (#1684)
obiesmans Oct 28, 2019
340a3c1
Fix downsampling option in querier URL (#1562)
obiesmans Oct 28, 2019
89576af
build(deps): bump github.com/prometheus/client_golang (#1662)
dependabot-preview[bot] Oct 28, 2019
b7f3ac9
Added experimental filesystem bucket implementation (#1690)
bwplotka Oct 29, 2019
08b3dc6
cmd/thanos/bucket: expose metrics (#1702)
squat Oct 31, 2019
0724a8a
remove irrelevant questions on remote-receive.md (#1698)
blockloop Nov 1, 2019
841075d
docs: Maintainers - Added associated company. (#1703)
bwplotka Nov 1, 2019
c7e787d
Added official Governance page for Thanos. (#1688)
bwplotka Nov 1, 2019
9d4d0bf
.*: Introduce graceful shutdown for gRPC Servers (#1687)
kakkoyun Nov 1, 2019
d22d1ae
cmd/thanos/bucket: remove unused flag (#1712)
squat Nov 4, 2019
3bd1a65
cmd/thanos/bucket: fix static fileserver (#1713)
squat Nov 4, 2019
5d936e2
pkg/receive: eliminate duplicate tracing (#1717)
squat Nov 5, 2019
f501429
remove reallocs and overallocs for s.lset in bucket.go (#1718)
ppanyukov Nov 5, 2019
27a578d
Small clean up for tracing. (#1720)
bwplotka Nov 5, 2019
514f308
cmd/thanos/receive: avoid deadlock (#1727)
squat Nov 7, 2019
4b325bd
cmd/thanos/receive: reduce WAL replays at startup (#1721)
squat Nov 7, 2019
1acdf7c
Added Lucas to mantainers list. (#1732)
bwplotka Nov 8, 2019
3debaeb
store the first raw value of a chunk during downsampling (#1709)
alfred-landrum Nov 9, 2019
f86cf81
Adds FREE NOW as users of Thanos (#1738)
hrzbrg Nov 11, 2019
1291d96
Docs: Expand ruler recommended alerting docs (#1719)
bill3tt Nov 12, 2019
a0747ef
compact: add metric thanos_compactor_iterations_total (#1733)
GiedriusS Nov 13, 2019
5eb43c1
Do not generate XXX fields in protobufs (#1725)
ppanyukov Nov 13, 2019
2591455
docs: removed old k8s demo and refer kube-thanos instead (#1600)
FUSAKLA Nov 13, 2019
a3ab545
*: Use exponential buckets for histogram metrics (#1545)
kakkoyun Nov 14, 2019
5daf787
Updated all deps. (#1748)
bwplotka Nov 15, 2019
ee72731
query: Fixed labelset view for multi labels scenario. (#1751)
bwplotka Nov 18, 2019
f840e18
.*: Add support for tracing with Lightstep (#1678)
antonio Nov 19, 2019
c7fc04e
bucket: Add `--web.external-prefix` for proxying on a subpath (#1758)
wrossmann Nov 20, 2019
c1d7c2f
cmd/thanos/rule: simplify if block (#1761)
simonpasquier Nov 20, 2019
a1c88ba
Moved release to Thursday; Cleanup tests. (#1763)
bwplotka Nov 20, 2019
af2a342
Re-adjust histogram buckets (#1769)
kakkoyun Nov 20, 2019
8a8f576
Fix web.external-prefix 404s and add web.prefix-header for bucket web…
cmanzi Nov 22, 2019
40cb634
ruler: fix the /api/v1/rules endpoint (#1773)
simonpasquier Nov 22, 2019
f1ca3c1
Moved 0.9.0 release to 26th of Nov (#1782)
bwplotka Nov 22, 2019
6465838
pkg: fix staticcheck issues (#1784)
mdlayher Nov 23, 2019
bacbb78
build(deps): bump cloud.google.com/go from 0.48.0 to 0.49.0 (#1764)
dependabot-preview[bot] Nov 25, 2019
a4241a9
test/e2e: start Alertmanager without clustering (#1786)
simonpasquier Nov 25, 2019
e5d96c8
pkg/rule: retain original path for rule files (#1785)
simonpasquier Nov 25, 2019
825f119
Simplify prober (#1694)
kakkoyun Nov 26, 2019
96c3657
pkg/rule: support identical rule filenames in different directories (…
simonpasquier Nov 26, 2019
7e11afe
Update prometheus for subqueries support in ruler. (#1790)
bwplotka Nov 26, 2019
82c005d
Cut release v0.9.0-rc.0 (#1793)
bwplotka Nov 26, 2019
46bb3c4
delete broken link (#1799)
daixiang0 Nov 27, 2019
4e06e2e
add --web.enable-admin-api comment (#1800)
daixiang0 Nov 27, 2019
56c1ae6
Fixed cross build and added cross build per PR on GH actions. (#1806)
bwplotka Nov 27, 2019
7345ab8
update prometheus version comment (#1809)
daixiang0 Nov 28, 2019
7b65bf5
update image tag (#1797)
daixiang0 Nov 28, 2019
6de3778
Katacoda: Add external url & Updated docker images (#1802)
daixiang0 Nov 28, 2019
6cad4ca
Fix typo in promlabels package name (#1805)
antonio Nov 28, 2019
229f978
objstore: add ObjectSize() implementation (#1792)
GiedriusS Nov 30, 2019
847ae85
delete broken link (#1821)
daixiang0 Dec 2, 2019
6aafc7b
Updated release process; fixed links. (#1817)
bwplotka Dec 2, 2019
5b7e33e
Enabled stale bot. (#1795)
bwplotka Dec 2, 2019
8de02fb
add partial response strategy values (#1827)
daixiang0 Dec 3, 2019
01a700e
Pulling release-0.9 to master. (#1831)
bwplotka Dec 3, 2019
2190d58
Add Amadeus in the adopters logo list (#1832)
ahurtaud Dec 3, 2019
c134ad1
Store: make index cache shared cache friendly (#1825)
pracucci Dec 4, 2019
a90c527
add deep dive talk (#1840)
daixiang0 Dec 5, 2019
9193730
add k8s comment for service discovery (#1841)
daixiang0 Dec 5, 2019
fd01026
Promote sidecar shipper.upload-compacted flag to non hidden, non expe…
bwplotka Dec 5, 2019
9afb6d8
docs/gettingstarted.md: add intro talk (#1843)
squat Dec 5, 2019
74efe88
comment upload compacted or not (#1814)
daixiang0 Dec 5, 2019
4b43a77
docs/service-discovery.md: clean up (#1844)
squat Dec 5, 2019
fc576c5
Updated process of developing Katacoda tutorials. (#1803)
bwplotka Dec 6, 2019
d76f01b
docs/storage: fix a typo and yaml formatting (#1847)
das7pad Dec 7, 2019
15b807e
comment url scheme (#1835)
daixiang0 Dec 9, 2019
f151d47
skip the error of unmarshal for index-cache file (#1837)
fatsheep9146 Dec 9, 2019
7426f1f
bump minio-go dep to v6.0.44 (#1852)
ribbybibby Dec 9, 2019
352cc30
receive: close DBReadOnly after flushing (#1856)
blockloop Dec 10, 2019
5ed75d0
Added comment to non obvious downsampling aggregation. (#1853)
bwplotka Dec 10, 2019
e94478c
Update rule UI (#1854)
yeya24 Dec 10, 2019
fd9e221
use thanos website as help link (#1863)
yeya24 Dec 10, 2019
51d584e
Be clear about downsampling process. (#1864)
bwplotka Dec 10, 2019
4506fb1
fix /api/v1/rules value (#1872)
yeya24 Dec 11, 2019
29813ba
clean up all white noise (#1801)
daixiang0 Dec 11, 2019
80c23db
add user-agent in http header. (#1867)
johncming Dec 11, 2019
fa04a1a
Add benchmark merge seriesset (#1884)
yeya24 Dec 13, 2019
e047e4c
fix typo and rename variable. (#1888)
johncming Dec 13, 2019
3f9aa12
fix wrong defalut value (#1858)
daixiang0 Dec 13, 2019
b45e532
cmd/thanos/receive: dont upload as sidecar (#1882)
squat Dec 13, 2019
3a69c5e
arrange import packages. (#1880)
johncming Dec 13, 2019
ba93181
move golint config to file (#1877)
daixiang0 Dec 13, 2019
4088d79
Add Grofers to Adopters (#1879)
flouthoc Dec 13, 2019
cf535c8
Migrate thanos-mixin from kube-thanos (#1760)
kakkoyun Dec 13, 2019
a0e1771
Fix broken doc links (#1889)
kakkoyun Dec 13, 2019
3b2573f
deduplicate addresses. (#1887)
johncming Dec 14, 2019
bec8666
pkg/store: add http header. (#1893)
johncming Dec 14, 2019
2f29975
Clean up white noise and format all codes (#1876)
daixiang0 Dec 16, 2019
ed9355c
Fix jsonnet transitive dependency issue (#1898)
kakkoyun Dec 16, 2019
9bb4837
Add tsdb store test labelnames labelvalues (#1896)
yeya24 Dec 16, 2019
6ba1fce
pkg/store: Optimize the initialization of sync.Pool. (#1892)
johncming Dec 16, 2019
f04953c
bugfix: adjust the timeout. (#1897)
johncming Dec 17, 2019
314d3f7
Don't require Prometheus min/max block durations to be the same if th…
cstyan Dec 17, 2019
a105f96
fix error in MAC OS (#1903)
daixiang0 Dec 18, 2019
880ce3c
scripts/build-check-comments.sh: fix exit code (#1907)
simonpasquier Dec 18, 2019
db8f347
Makefile: fix lint and check-docs targets (#1908)
simonpasquier Dec 18, 2019
612f533
Add Configuring Rules (#1826)
daixiang0 Dec 18, 2019
56abeab
*: Added support for authentication and TLS for Alertmanager (#1838)
simonpasquier Dec 18, 2019
de86978
Fixed the gate duration metric unit (#1909)
pracucci Dec 18, 2019
dd934ec
add go vet to lint (#1905)
daixiang0 Dec 19, 2019
f5b7bac
cmd/thanos/rule: remove unused metric (#1912)
simonpasquier Dec 19, 2019
b32108b
*: factorize HTTP client code into separate package (#1913)
simonpasquier Dec 19, 2019
9888f8d
Simplify running tests with excluding certain providers. (#1914)
bwplotka Dec 20, 2019
c2e338f
Makefile: use gsed on OSX to keep GNU sed compatibility (#1916)
pracucci Dec 20, 2019
ed6087f
support post in /api/v1/labels (#1910)
yeya24 Dec 20, 2019
1b70eb4
Fix sed issue (#1925)
daixiang0 Dec 23, 2019
f308e57
Exclude couchdb.apache from link checking. (#1926)
bwplotka Dec 23, 2019
687de93
fix test cache addresses (#1921)
yeya24 Dec 23, 2019
39f8623
Introduce an internal option to enable vertical compaction (#1917)
pracucci Dec 23, 2019
47c0ae2
add tencent in adopters.yml (#1929)
QianChenglong Jan 2, 2020
a37ac09
Fixed the compactor successfully exiting when actually an error occur…
pracucci Jan 2, 2020
bb346c0
Add memcached support to index cache (#1881)
pracucci Jan 3, 2020
d9764fb
Added no-chunk option in series API (#1904)
yeya24 Jan 3, 2020
4d1cc62
Added block.MetaFetcher logic for resilient sync of meta files. (#1934)
bwplotka Jan 6, 2020
f024461
pkg/discovery: fix unit tests (#1940)
simonpasquier Jan 6, 2020
162e960
Use block.MetaFetcher in Store Gateway. (#1936)
bwplotka Jan 6, 2020
497de41
Use block.MetaFetcher in Compactor. (#1937)
bwplotka Jan 6, 2020
be72a33
Hide usage of index-cache.json under interface. (#1943)
bwplotka Jan 6, 2020
7ff3c08
Unify all CI base images to be built with Go 1.13. (#1945)
bwplotka Jan 6, 2020
3fa5403
Updated CHANGELOG and dashboards after meta files synchronizations ch…
bwplotka Jan 7, 2020
d9e4e0e
Added proposal for moving to index-header binary format. (#1839)
bwplotka Jan 7, 2020
d758432
Updated Prometheus deps to master around 2.15.2. (#1947)
bwplotka Jan 7, 2020
718e51a
Fixed whitespaces on binary header docs; addressed missing comment. (…
bwplotka Jan 7, 2020
a532ff6
docs/release-propose: add myself as shepherd (#1949)
GiedriusS Jan 7, 2020
9c84435
store: fix a small house-keeping data race (#1951)
GiedriusS Jan 7, 2020
c1d3dd0
rule: fix bug that ignore deduplicate addrs. (#1956)
johncming Jan 8, 2020
adb869b
README: update before v0.10.0-rc.0 (#1959)
GiedriusS Jan 8, 2020
3150046
CHANGELOG: update again (#1960)
GiedriusS Jan 8, 2020
10d7ba4
Use RFC 3339 Date to be more readable (#1954)
kfdm Jan 8, 2020
bfd65e2
Cut release 0.10.0-rc.0
GiedriusS Jan 8, 2020
c45e52d
Release 0.10.0-rc.1 (#1981)
GiedriusS Jan 10, 2020
698c7a9
*: update for 0.10.0 (#1989)
GiedriusS Jan 13, 2020
bd8c6a9
Merge tag 'v0.10.0' into bump-v0.10.0
simonpasquier Jan 15, 2020
01bfca2
Fix scripts/verify-vendor.sh
simonpasquier Jan 17, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 6 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
working_directory: /go/src/github.com/thanos-io/thanos
environment:
GO111MODULE: 'on'
# Run garbage collection more aggresively to avoid getting OOMed during the lint phase (4GB limit).
# Run garbage collection more aggressively to avoid getting OOMed during the lint phase (4GB limit).
GOGC: "20"
# By default Go uses GOMAXPROCS but a Circle CI executor has many
# cores (> 30) while the CPU and RAM resources are throttled. If we
Expand All @@ -26,22 +26,21 @@ jobs:
command: |
if ! [ -z ${GCP_PROJECT} ]; then
echo $GOOGLE_APPLICATION_CREDENTIALS_CONTENT > $GOOGLE_APPLICATION_CREDENTIALS
echo "Awesome! GCS integration tests are enabled."
echo "Awesome! GCS and S3 AWS integration tests are enabled."
fi
- run: make deps
- run: make lint
- run: make check-docs
- run: make format
- run:
name: "Run all tests"
# TODO(bwplotka): Setup some S3 tests for CI.
# taskset sets CPU affinity to 2 (current CPU limit).
command: |
if [ -z ${GCP_PROJECT} ]; then
taskset 2 make test-local
exit
fi
taskset 2 make test-only-gcs
taskset 2 make test-ci

# Cross build is needed for publish_release but needs to be done outside of docker.
cross_build:
Expand All @@ -60,7 +59,7 @@ jobs:
publish_master:
docker:
# Build by Thanos make docker-ci
- image: quay.io/thanos/thanos-ci:v0.1.0
- image: quay.io/thanos/thanos-ci:v0.2.0
working_directory: /go/src/github.com/thanos-io/thanos
steps:
- checkout
Expand All @@ -79,8 +78,8 @@ jobs:

publish_release:
docker:
# Available from https://hub.docker.com/r/circleci/golang/
- image: circleci/golang:1.13.1
# Build by Thanos make docker-ci
- image: quay.io/thanos/thanos-ci:v0.2.0
working_directory: /go/src/github.com/thanos-io/thanos
environment:
GOBIN: "/go/bin"
Expand Down
8 changes: 4 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
about what components it touches e.g "query:" or ".*:"
-->

<!--
Don't forget about CHANGELOG!
<!--
Don't forget about CHANGELOG!

Changelog entry format:
- [#<PR-id>](<PR-URL>) Thanos <Component> ...

<PR-id> Id of your pull request.
<PR-URL> URL of your PR such as https://github.com/thanos-io/thanos/pull/<PR-id>
<Component> Component affected by your changes such as Query, Store, Receive.
Expand Down
16 changes: 16 additions & 0 deletions .github/stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 90
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 14
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions. Use `pinned` label to avoid closing.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
21 changes: 21 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI
on: [pull_request]

jobs:
cross-build-check:
name: Cross build check
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v1

- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}

- name: Get dependencies
run: make deps

- name: Cross build check
run: make crossbuild
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

/prometheus
/thanos
/mixin/vendor/

# Ignore minikube setup working dirs.
kube/bin
Expand All @@ -24,3 +25,4 @@ website/docs-pre-processed/
!website/data

tmp/bin
examples/tmp/
44 changes: 44 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,47 @@
# This file contains all available configuration options
# with their default values.

# options for analysis running
run:
# timeout for analysis, e.g. 30s, 5m, default is 1m
deadline: 5m

# exit code when at least one issue was found, default is 1
issues-exit-code: 1

# which dirs to skip: they won't be analyzed;
# can use regexp here: generated.*, regexp is applied on full path;
# default value is empty list, but next dirs are always skipped independently
# from this option's value:
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
skip-dirs: vendor

# output configuration options
output:
# colored-line-number|line-number|json|tab|checkstyle, default is "colored-line-number"
format: colored-line-number

# print lines of code with issue, default is true
print-issued-lines: true

# print linter name in the end of issue text, default is true
print-linter-name: true

linters:
enable:
- deadcode
- errcheck
- goconst
- goimports
- gosimple
- govet
- ineffassign
- staticcheck
- structcheck
- typecheck
- unused
- varcheck

linters-settings:
errcheck:
exclude: ./.errcheck_excludes.txt
Expand Down
101 changes: 91 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,103 @@ NOTE: As semantic versioning states all 0.y.z releases can contain breaking chan

We use *breaking* word for marking changes that are not backward compatible (relates only to v0.y.z releases.)

## Unreleased
## [v0.10.0](https://github.com/thanos-io/thanos/releases/tag/v0.10.0) - 2020.01.13

### Fixed

- [#1919](https://github.com/thanos-io/thanos/issues/1919) Compactor: Fixed potential data loss when uploading older blocks, or upload taking long time while compactor is
running.
- [#1937](https://github.com/thanos-io/thanos/pull/1937) Compactor: Improved synchronization of meta JSON files.
Compactor now properly handles partial block uploads for all operation like retention apply, downsampling and compaction. Additionally:

* Removed `thanos_compact_sync_meta_*` metrics. Use `thanos_blocks_meta_*` metrics instead.
* Added `thanos_consistency_delay_seconds` and `thanos_compactor_aborted_partial_uploads_deletion_attempts_total` metrics.

- [#1936](https://github.com/thanos-io/thanos/pull/1936) Store: Improved synchronization of meta JSON files. Store now properly handles corrupted disk cache. Added meta.json sync metrics.
- [#1856](https://github.com/thanos-io/thanos/pull/1856) Receive: close DBReadOnly after flushing to fix a memory leak.
- [#1882](https://github.com/thanos-io/thanos/pull/1882) Receive: upload to object storage as 'receive' rather than 'sidecar'.
- [#1907](https://github.com/thanos-io/thanos/pull/1907) Store: Fixed the duration unit for the metric `thanos_bucket_store_series_gate_duration_seconds`.
- [#1931](https://github.com/thanos-io/thanos/pull/1931) Compact: Fixed the compactor successfully exiting when actually an error occurred while compacting a blocks group.
- [#1872](https://github.com/thanos-io/thanos/pull/1872) Ruler: `/api/v1/rules` now shows a properly formatted value
- [#1945](https://github.com/thanos-io/thanos/pull/1945) `master` container images are now built with Go 1.13
- [#1956](https://github.com/thanos-io/thanos/pull/1956) Ruler: now properly ignores duplicated query addresses
- [#1975](https://github.com/thanos-io/thanos/pull/1975) Store Gateway: fixed panic caused by memcached servers selector when there's 1 memcached node

### Added

- [#1852](https://github.com/thanos-io/thanos/pull/1852) Add support for `AWS_CONTAINER_CREDENTIALS_FULL_URI` by upgrading to minio-go v6.0.44
- [#1854](https://github.com/thanos-io/thanos/pull/1854) Update Rule UI to support alerts count displaying and filtering.
- [#1838](https://github.com/thanos-io/thanos/pull/1838) Ruler: Add TLS and authentication support for Alertmanager with the `--alertmanagers.config` and `--alertmanagers.config-file` CLI flags. See [documentation](docs/components/rule.md/#configuration) for further information.
- [#1838](https://github.com/thanos-io/thanos/pull/1838) Ruler: Add a new `--alertmanagers.sd-dns-interval` CLI option to specify the interval between DNS resolutions of Alertmanager hosts.
- [#1881](https://github.com/thanos-io/thanos/pull/1881) Store Gateway: memcached support for index cache. See [documentation](docs/components/store.md/#index-cache) for further information.
- [#1904](https://github.com/thanos-io/thanos/pull/1904) Add a skip-chunks option in Store Series API to improve the response time of `/api/v1/series` endpoint.
- [#1910](https://github.com/thanos-io/thanos/pull/1910) Query: `/api/v1/labels` now understands `POST` - useful for sending bigger requests

### Changed

- [#1947](https://github.com/thanos-io/thanos/pull/1947) Upgraded Prometheus dependencies to v2.15.2. This includes:

* Compactor: Significant reduction of memory footprint for compaction and downsampling process.
* Querier: Accepting spaces between time range and square bracket. e.g `[ 5m]`
* Querier: Improved PromQL parser performance.

- [#1833](https://github.com/thanos-io/thanos/pull/1833) `--shipper.upload-compacted` flag has been promoted to non hidden, non experimental state. More info available [here](docs/quick-tutorial.md#uploading-old-metrics).
- [#1867](https://github.com/thanos-io/thanos/pull/1867) Ruler: now sets a `Thanos/$version` `User-Agent` in requests
- [#1887](https://github.com/thanos-io/thanos/pull/1887) Service discovery now deduplicates targets between different target groups

## [v0.9.0](https://github.com/thanos-io/thanos/releases/tag/v0.9.0) - 2019.12.03

### Added

- [#1678](https://github.com/thanos-io/thanos/pull/1678) Add Lightstep as a tracing provider.
- [#1687](https://github.com/thanos-io/thanos/pull/1687) Add a new `--grpc-grace-period` CLI option to components which serve gRPC to set how long to wait until gRPC Server shuts down.
- [#1660](https://github.com/thanos-io/thanos/pull/1660) Sidecar: Add a new `--prometheus.ready_timeout` CLI option to the sidecar to set how long to wait until Prometheus starts up.
- [#1573](https://github.com/thanos-io/thanos/pull/1573) `AliYun OSS` object storage, see [documents](docs/storage.md#aliyun-oss) for further information.
- [#1680](https://github.com/thanos-io/thanos/pull/1680) Add a new `--http-grace-period` CLI option to components which serve HTTP to set how long to wait until HTTP Server shuts down.
- [#1712](https://github.com/thanos-io/thanos/pull/1712) Bucket: Rename flag on bucket web component from `--listen` to `--http-address` to match other components.
- [#1733](https://github.com/thanos-io/thanos/pull/1733) Compactor: New metric `thanos_compactor_iterations_total` on Thanos Compactor which shows the number of successful iterations.
- [#1758](https://github.com/thanos-io/thanos/pull/1758) Bucket: `thanos bucket web` now supports `--web.external-prefix` for proxying on a subpath.
- [#1770](https://github.com/thanos-io/thanos/pull/1770) Bucket: Add `--web.prefix-header` flags to allow for bucket UI to be accessible behind a reverse proxy.
- [#1668](https://github.com/thanos-io/thanos/pull/1668) Receiver: Added TLS options for both server and client remote write.

### Fixed

- [#1656](https://github.com/thanos-io/thanos/pull/1656) Store Gateway: Store now starts metric and status probe HTTP server earlier in its start-up sequence. `/-/healthy` endpoint now starts to respond with success earlier. `/metrics` endpoint starts serving metrics earlier as well. Make sure to point your readiness probes to the `/-/ready` endpoint rather than `/metrics`.
- [#1669](https://github.com/thanos-io/thanos/pull/1669) Store Gateway: Fixed store sharding. Now it does not load excluded meta.jsons and load/fetch index-cache.json files.
- [#1670](https://github.com/thanos-io/thanos/pull/1670) Sidecar: Fixed un-ordered blocks upload. Sidecar now uploads the oldest blocks first.
- [#1568](https://github.com/thanos-io/thanos/pull/1709) Store Gateway: Store now retains the first raw value of a chunk during downsampling to avoid losing some counter resets that occur on an aggregation boundary.
- [#1751](https://github.com/thanos-io/thanos/pull/1751) Querier: Fixed labels for StoreUI
- [#1773](https://github.com/thanos-io/thanos/pull/1773) Ruler: Fixed the /api/v1/rules endpoint that returned 500 status code with `failed to assert type of rule ...` message.
- [#1770](https://github.com/thanos-io/thanos/pull/1770) Querier: Fixed `--web.external-prefix` 404s for static resources.
- [#1785](https://github.com/thanos-io/thanos/pull/1785) Ruler: The /api/v1/rules endpoints now returns the original rule filenames.
- [#1791](https://github.com/thanos-io/thanos/pull/1791) Ruler: Ruler now supports identical rule filenames in different directories.
- [#1562](https://github.com/thanos-io/thanos/pull/1562) Querier: Downsampling option now carries through URL.
- [#1675](https://github.com/thanos-io/thanos/pull/1675) Querier: Reduced resource usage while using certain queries like `offset`.
- [#1725](https://github.com/thanos-io/thanos/pull/1725) & [#1718](https://github.com/thanos-io/thanos/pull/1718) Store Gateway: Per request memory improvements.

### Changed

- [#1666](https://github.com/thanos-io/thanos/pull/1666) Compact: `thanos_compact_group_compactions_total` now counts block compactions, so operations that resulted in a compacted block. The old behaviour
is now exposed by new metric: `thanos_compact_group_compaction_runs_started_total` and `thanos_compact_group_compaction_runs_completed_total` which counts compaction runs overall.
- [#1748](https://github.com/thanos-io/thanos/pull/1748) Updated all dependencies.
- [#1694](https://github.com/thanos-io/thanos/pull/1694) `prober_ready` and `prober_healthy` metrics are removed, for sake of `status`. Now `status` exposes same metric with a label, `check`. `check` can have "healty" or "ready" depending on status of the probe.
- [#1790](https://github.com/thanos-io/thanos/pull/1790) Ruler: Fixes subqueries support for ruler.
- [#1769](https://github.com/thanos-io/thanos/pull/1769) & [#1545](https://github.com/thanos-io/thanos/pull/1545) Adjusted most of the metrics histogram buckets.

## [v0.8.1](https://github.com/thanos-io/thanos/releases/tag/v0.8.1) - 2019.10.14

### Fixed

- [#1632](https://github.com/thanos-io/thanos/issues/1632) Removes the duplicated external labels detection on Thanos Querier; warning only; Made Store Gateway compatible with older Querier versions.
NOTE: `thanos_store_nodes_grpc_connections` metric is now per `external_labels` and `store_type`. It is a recommended metric for Querier storeAPIs. `thanos_store_node_info` is marked as obsolete and will be removed in next release.
NOTE2: Store Gateway is not advertising artificial: `"@thanos_compatibility_store_type=store"` label. This is to have current Store Gateway compatible with Querier pre v0.8.0.
This label can be disabled by hidden `debug.advertise-compatibility-label=false` flag on Store Gateway.
* NOTE: `thanos_store_nodes_grpc_connections` metric is now per `external_labels` and `store_type`. It is a recommended metric for Querier storeAPIs. `thanos_store_node_info` is marked as obsolete and will be removed in next release.
* NOTE2: Store Gateway is now advertising artificial: `"@thanos_compatibility_store_type=store"` label. This is to have the current Store Gateway compatible with Querier pre v0.8.0.
This label can be disabled by hidden `debug.advertise-compatibility-label=false` flag on Store Gateway.

## [v0.8.0](https://github.com/thanos-io/thanos/releases/tag/v0.8.0) - 2019.10.10

Lot's of improvements this release! Noteworthy items:
- First Katacoda tutorial! 🐱
- Fixed Deletion order causing Compactor to produce not needed 👻 blocks with missing random files.
- Fixed Deletion order causing Compactor to produce not needed 👻 blocks with missing random files.
- Store GW memory improvements (more to come!).
- Querier allows multiple deduplication labels.
- Both Compactor and Store Gateway can be **sharded** within the same bucket using relabelling!
Expand All @@ -38,7 +119,7 @@ both Prometheus and sidecar with Thanos: https://prometheus.io/blog/2019/10/10/r

- [#1619](https://github.com/thanos-io/thanos/pull/1619) Thanos sidecar allows to limit min time range for data it exposes from Prometheus.
- [#1583](https://github.com/thanos-io/thanos/pull/1583) Thanos sharding:
- Add relabel config (`--selector.relabel-config-file` and `selector.relabel-config`) into Thanos Store and Compact components.
- Add relabel config (`--selector.relabel-config-file` and `selector.relabel-config`) into Thanos Store and Compact components.
Selecting blocks to serve depends on the result of block labels relabeling.
- For store gateway, advertise labels from "approved" blocks.
- [#1540](https://github.com/thanos-io/thanos/pull/1540) Thanos Downsample added `/-/ready` and `/-/healthy` endpoints.
Expand All @@ -51,8 +132,8 @@ Selecting blocks to serve depends on the result of block labels relabeling.
- [#1362](https://github.com/thanos-io/thanos/pull/1362) Optional `replicaLabels` param for `/query` and
`/query_range` querier endpoints. When provided overwrite the `query.replica-label` cli flags.
- [#1482](https://github.com/thanos-io/thanos/pull/1482) Thanos now supports Elastic APM as tracing provider.
- [#1612](https://github.com/thanos-io/thanos/pull/1612) Thanos Rule added `resendDelay` flag.
- [#1480](https://github.com/thanos-io/thanos/pull/1480) Thanos Receive flushes storage on hashring change.
- [#1612](https://github.com/thanos-io/thanos/pull/1612) Thanos Rule added `resendDelay` flag.
- [#1480](https://github.com/thanos-io/thanos/pull/1480) Thanos Receive flushes storage on hashring change.
- [#1613](https://github.com/thanos-io/thanos/pull/1613) Thanos Receive now traces forwarded requests.

### Changed
Expand All @@ -72,7 +153,7 @@ once for multiple deduplication labels like: `--query.replica-label=prometheus_r
- [#1544](https://github.com/thanos-io/thanos/pull/1544) Iterating over object store is resilient to the edge case for some providers.
- [#1469](https://github.com/thanos-io/thanos/pull/1469) Fixed Azure potential failures (EOF) when requesting more data then blob has.
- [#1512](https://github.com/thanos-io/thanos/pull/1512) Thanos Store fixed memory leak for chunk pool.
- [#1488](https://github.com/thanos-io/thanos/pull/1488) Thanos Rule now now correctly links to query URL from rules and alerts.
- [#1488](https://github.com/thanos-io/thanos/pull/1488) Thanos Rule now now correctly links to query URL from rules and alerts.

## [v0.7.0](https://github.com/thanos-io/thanos/releases/tag/v0.7.0) - 2019.09.02

Expand Down
8 changes: 2 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,8 @@ $ make build
$ <Iterate your development>
$ git push origin <your_branch_for_new_pr>
```
5. If you don't have a live object store ready add these envvars to skip tests for these:
- THANOS_SKIP_GCS_TESTS to skip GCS tests.
- THANOS_SKIP_S3_AWS_TESTS to skip AWS tests.
- THANOS_SKIP_AZURE_TESTS to skip Azure tests.
- THANOS_SKIP_SWIFT_TESTS to skip SWIFT tests.
- THANOS_SKIP_TENCENT_COS_TESTS to skip Tencent COS tests.
5. If you don't have a live object store ready add this envvar to skip tests for these:
- THANOS_TEST_OBJSTORE_SKIP=GCS,S3,AZURE,SWIFT,COS,ALIYUNOSS

If you skip all of these, the store specific tests will be run against memory object storage only.
CI runs GCS and inmem tests only for now. Not having these variables will produce auth errors against GCS, AWS, Azure or COS tests.
Expand Down
Loading