mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Update tests in opentelemetry_distributed
This commit is contained in:
parent
685210e02b
commit
c4ef31ba64
@ -104,9 +104,8 @@ wait
|
|||||||
|
|
||||||
${CLICKHOUSE_CLIENT} -q "system flush logs"
|
${CLICKHOUSE_CLIENT} -q "system flush logs"
|
||||||
${CLICKHOUSE_CLIENT} -q "
|
${CLICKHOUSE_CLIENT} -q "
|
||||||
with count(*) as c
|
|
||||||
-- expect 200 * 0.1 = 20 sampled events on average
|
-- expect 200 * 0.1 = 20 sampled events on average
|
||||||
select if(c > 1 and c < 50, 'OK', 'fail: ' || toString(c))
|
select if(count() > 1 and count() < 50, 'OK', 'Fail')
|
||||||
from system.opentelemetry_span_log
|
from system.opentelemetry_span_log
|
||||||
array join attribute.keys as name, attribute.values as value
|
array join attribute.keys as name, attribute.values as value
|
||||||
where name = 'clickhouse.query_id'
|
where name = 'clickhouse.query_id'
|
||||||
|
Loading…
Reference in New Issue
Block a user