Merge pull request #70440 from basvandijk/thanos-0.7.0
thanos: 0.6.1 -> 0.7.0
This commit is contained in:
commit
60302e5793
|
@ -126,6 +126,8 @@ let
|
||||||
'';
|
'';
|
||||||
description = ''
|
description = ''
|
||||||
Path to YAML file that contains tracing configuration.
|
Path to YAML file that contains tracing configuration.
|
||||||
|
|
||||||
|
See format details: <link xlink:href="https://thanos.io/tracing.md/#configuration"/>
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -141,6 +143,8 @@ let
|
||||||
<option>tracing.config-file</option> will default to its path.
|
<option>tracing.config-file</option> will default to its path.
|
||||||
|
|
||||||
If <option>tracing.config-file</option> is set this option has no effect.
|
If <option>tracing.config-file</option> is set this option has no effect.
|
||||||
|
|
||||||
|
See format details: <link xlink:href="https://thanos.io/tracing.md/#configuration"/>
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -187,6 +191,8 @@ let
|
||||||
'';
|
'';
|
||||||
description = ''
|
description = ''
|
||||||
Path to YAML file that contains object store configuration.
|
Path to YAML file that contains object store configuration.
|
||||||
|
|
||||||
|
See format details: <link xlink:href="https://thanos.io/storage.md/#configuration"/>
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -202,6 +208,8 @@ let
|
||||||
<option>objstore.config-file</option> will default to its path.
|
<option>objstore.config-file</option> will default to its path.
|
||||||
|
|
||||||
If <option>objstore.config-file</option> is set this option has no effect.
|
If <option>objstore.config-file</option> is set this option has no effect.
|
||||||
|
|
||||||
|
See format details: <link xlink:href="https://thanos.io/storage.md/#configuration"/>
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -276,6 +284,24 @@ let
|
||||||
block-sync-concurrency = mkParamDef types.int 20 ''
|
block-sync-concurrency = mkParamDef types.int 20 ''
|
||||||
Number of goroutines to use when syncing blocks from object storage.
|
Number of goroutines to use when syncing blocks from object storage.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
min-time = mkParamDef types.str "0000-01-01T00:00:00Z" ''
|
||||||
|
Start of time range limit to serve.
|
||||||
|
|
||||||
|
Thanos Store serves only metrics, which happened later than this
|
||||||
|
value. Option can be a constant time in RFC3339 format or time duration
|
||||||
|
relative to current time, such as -1d or 2h45m. Valid duration units are
|
||||||
|
ms, s, m, h, d, w, y.
|
||||||
|
'';
|
||||||
|
|
||||||
|
max-time = mkParamDef types.str "9999-12-31T23:59:59Z" ''
|
||||||
|
End of time range limit to serve.
|
||||||
|
|
||||||
|
Thanos Store serves only blocks, which happened eariler than this
|
||||||
|
value. Option can be a constant time in RFC3339 format or time duration
|
||||||
|
relative to current time, such as -1d or 2h45m. Valid duration units are
|
||||||
|
ms, s, m, h, d, w, y.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
query = params.common cfg.query // {
|
query = params.common cfg.query // {
|
||||||
|
@ -560,6 +586,14 @@ let
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
downsampling.disable = mkFlagParam ''
|
||||||
|
Disables downsampling.
|
||||||
|
|
||||||
|
This is not recommended as querying long time ranges without
|
||||||
|
non-downsampled data is not efficient and useful e.g it is not possible
|
||||||
|
to render all samples for a human eye anyway
|
||||||
|
'';
|
||||||
|
|
||||||
block-sync-concurrency = mkParamDef types.int 20 ''
|
block-sync-concurrency = mkParamDef types.int 20 ''
|
||||||
Number of goroutines to use when syncing block metadata from object storage.
|
Number of goroutines to use when syncing block metadata from object storage.
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "thanos";
|
pname = "thanos";
|
||||||
version = "0.6.1";
|
version = "0.7.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
owner = "thanos-io";
|
owner = "thanos-io";
|
||||||
repo = "thanos";
|
repo = "thanos";
|
||||||
sha256 = "06vy22cy81rd71py8057bia3265vjm6ffp16wpx06faramdazq6p";
|
sha256 = "0yxa1wipab1n9bh95n237c9l1sx1nx7r8snsk4nzpmwr3y1b4nn8";
|
||||||
};
|
};
|
||||||
|
|
||||||
modSha256 = "139b66jdryqv4s1hjbn9fzkyzn1160wr4z6a6wmmvm3f6p6wgjxp";
|
modSha256 = "0iz16yj41gahsyb6mxbmjs8mjhp5c96dmw75rg9bh5xdh8qh767m";
|
||||||
|
|
||||||
subPackages = "cmd/thanos";
|
subPackages = "cmd/thanos";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue