checks/tempo: update for new tempo version

This commit is contained in:
Max Headroom 2023-02-25 11:48:22 +01:00
parent ecdb49f136
commit fd4619b923

View file

@ -5,8 +5,6 @@ nixosTest {
nodes.machine = let nodes.machine = let
dataDir = "/var/lib/tempo"; dataDir = "/var/lib/tempo";
tempoConfig = { tempoConfig = {
search_enabled = true;
metrics_generator_enabled = true;
server = { server = {
http_listen_address = "127.0.0.1"; http_listen_address = "127.0.0.1";
http_listen_port = 8888; http_listen_port = 8888;
@ -25,13 +23,8 @@ nixosTest {
}; };
storage.trace = { storage.trace = {
backend = "local"; backend = "local";
block = { block.bloom_filter_false_positive = 0.05;
bloom_filter_false_positive = 0.05;
index_downsample_bytes = 1000;
encoding = "zstd";
};
wal.path = "${dataDir}/wal"; wal.path = "${dataDir}/wal";
wal.encoding = "snappy";
local.path = "${dataDir}/blocks"; local.path = "${dataDir}/blocks";
pool = { pool = {
max_workers = 16; max_workers = 16;
@ -73,6 +66,6 @@ nixosTest {
testScript = '' testScript = ''
machine.wait_for_unit("tempo.service") machine.wait_for_unit("tempo.service")
machine.wait_for_open_port(8888) machine.wait_for_open_port(8888)
machine.succeed("curl --fail http://127.0.0.1:8888/status/version") machine.succeed("curl -s --fail http://127.0.0.1:8888/status/version")
''; '';
} }