Skip to content

Commit

Permalink
Add simple explanation for probes
Browse files Browse the repository at this point in the history
Signed-off-by: Kemal Akkoyun <[email protected]>
  • Loading branch information
kakkoyun committed Oct 17, 2019
1 parent d7693ca commit 0c784c0
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/components/store.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ Flags:

```

## Time based partioning
## Time based partitioning

By default Thanos Store Gateway looks at all the data in Object Store and returns it based on query's time range.

Thanos Store `--min-time`, `--max-time` flags allows you to shard Thanos Store based on constant time or time duration relative to current time.
Thanos Store `--min-time`, `--max-time` flags allows you to shard Thanos Store based on constant time or time duration relative to current time.

For example setting: `--min-time=-6w` & `--max-time==-2w` will make Thanos Store Gateway return metrics that fall within `now - 6 weeks` up to `now - 2 weeks` time range.

Expand All @@ -136,6 +136,12 @@ Thanos Store Gateway might not get new blocks immediately, as Time partitioning

We recommend having overlapping time ranges with Thanos Sidecar and other Thanos Store gateways as this will improve your resiliency to failures.

Thanos Querier deals with overlapping time series by merging them together.
Thanos Querier deals with overlapping time series by merging them together.

Filtering is done on a Chunk level, so Thanos Store might still return Samples which are outside of `--min-time` & `--max-time`.

## Probes

- Thanos Store exposes two endpoints for probing.
* `/-/healthy` starts as soon as initial setup completed.
* `/-/ready` starts after all the bootstrapping completed (e.g initial index building) and ready to serve traffic.

0 comments on commit 0c784c0

Please sign in to comment.