mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Fix order
This commit is contained in:
parent
6360687b30
commit
ade1228b95
@ -1,11 +1,11 @@
|
||||
INSERT TO S3
|
||||
Successful write requests 3
|
||||
S3Clients 1
|
||||
S3CompleteMultipartUpload 1
|
||||
S3CreateMultipartUpload 1
|
||||
S3HeadObject 2
|
||||
S3ReadRequestsCount 2
|
||||
S3UploadPart 1
|
||||
Successful write requests 3
|
||||
CHECK WITH query_log
|
||||
QueryFinish S3CreateMultipartUpload 1 S3UploadPart 1 S3CompleteMultipartUpload 1 S3PutObject 0
|
||||
CREATE
|
||||
|
@ -18,11 +18,13 @@ WITH '(\\w+): (\\d+)' AS pattern,
|
||||
AND line NOT LIKE '%Microseconds%'
|
||||
AND line NOT LIKE '%S3DiskConnections%'
|
||||
AND line NOT LIKE '%S3DiskAddresses') AS pe_map
|
||||
SELECT untuple(arrayJoin(pe_map) AS pe)
|
||||
WHERE tupleElement(pe, 1) not like '%WriteRequests%'
|
||||
UNION ALL
|
||||
SELECT 'Successful write requests',
|
||||
(pe_map['S3WriteRequestsCount'] - pe_map['S3WriteRequestsErrors'])::UInt64
|
||||
SELECT * FROM (
|
||||
SELECT untuple(arrayJoin(pe_map) AS pe)
|
||||
WHERE tupleElement(pe, 1) not like '%WriteRequests%'
|
||||
UNION ALL
|
||||
SELECT 'Successful write requests',
|
||||
(pe_map['S3WriteRequestsCount'] - pe_map['S3WriteRequestsErrors'])::UInt64
|
||||
) ORDER BY 1
|
||||
"
|
||||
|
||||
echo "CHECK WITH query_log"
|
||||
|
Loading…
Reference in New Issue
Block a user