Slackbot
02/16/2023, 12:23 PMAnkit Nayan
Ankit Nayan
Ankit Nayan
oluchi orji
02/16/2023, 12:47 PMS3 setup and annotation
are added in the values.yaml) file.Ankit Nayan
oluchi orji
02/16/2023, 12:56 PMoluchi orji
02/16/2023, 12:59 PMworker.go:445:dropReplicas():start:infra/signoz-clickhouse/e9e59dca-39f7-4444-91e9-5fb092c9daa1:drop replicas based on AP
I0205 00:16:26.531186 1 worker.go:462] worker.go:462:dropReplicas():end:infra/signoz-clickhouse/e9e59dca-39f7-4444-91e9-5fb092c9daa1:processed replicas: 0
I0205 00:16:26.531219 1 worker.go:419] includeStopped():infra/signoz-clickhouse/e9e59dca-39f7-4444-91e9-5fb092c9daa1:add CHI to monitoring
I0205 00:16:26.802933 1 worker.go:485] infra/signoz-clickhouse/9ca4c129-c258-425d-80b1-a956508a0752:IPs of the CHI [*****]
I0205 00:16:26.815881 1 worker.go:489] infra/signoz-clickhouse/342fa60b-416a-4027-ae25-6de4bca505b7:Update users IPS
I0205 00:16:27.042605 1 worker.go:505] markReconcileComplete():infra/signoz-clickhouse/e9e59dca-39f7-4444-91e9-5fb092c9daa1:reconcile completed
I0215 20:17:43.965089 1 controller.go:309] infra/signoz-clickhouse:endpointsInformer.UpdateFunc: IP ASSIGNED: []v1.EndpointSubset{
v1.EndpointSubset{
Addresses: []v1.EndpointAddress{
v1.EndpointAddress{
IP: "172.********",
Hostname: "",
NodeName: &"ip-*******l",
TargetRef: nil,
},
},
NotReadyAddresses: nil,
Ports: []v1.EndpointPort{
v1.EndpointPort{
Name: "http",
Port: 8123,
Protocol: "TCP",
AppProtocol: nil,
},
v1.EndpointPort{
Name: "tcp",
Port: 9000,
Protocol: "TCP",
AppProtocol: nil,
},
},
},
}
I0215 20:17:44.020501 1 worker.go:299] infra/signoz-clickhouse/f48fbf51-ff72-45f1-abd8-96a17e4f8191:IPs of the CHI [*******]
I0215 20:17:44.026758 1 worker.go:303] infra/signoz-clickhouse/9afb9ed0-a38e-44a2-a57d-598971239d44:Update users IPS
I0215 20:17:44.035005 1 worker.go:1645] updateConfigMap():infra/signoz-clickhouse/9afb9ed0-a38e-44a2-a57d-598971239d44:Update ConfigMap infra/chi-signoz-clickhouse-common-usersd
Ankit Nayan
Ankit Nayan
s3
?Ankit Nayan
oluchi orji
02/16/2023, 1:22 PMoluchi orji
02/16/2023, 1:27 PMs3
except the following @Ankit Nayan
{e899fee7-1eea-4e3f-b6dc-6e7bd6141071} <Error> TCPHandler: Code: 243. DB::Exception: Cannot reserve 1.00 MiB, not enough space. (NOT_ENOUGH_SPACE), Stack trace (when copying this message, always include the lines below):
Ankit Nayan
Ankit Nayan
Ankit Nayan
Ankit Nayan
oluchi orji
02/16/2023, 1:41 PMAnkit Nayan
oluchi orji
02/16/2023, 1:42 PMoluchi orji
02/16/2023, 1:44 PMAnkit Nayan
oluchi orji
02/16/2023, 1:50 PMSrikanth Chekuri
02/16/2023, 2:02 PMmove_factor
? What is the approximate ingestion estimate?Prashant Shahi
02/16/2023, 2:03 PMI have seen this error occurs when there is no enough storage for the clickhouse storage PVC i.e.Copy code{e899fee7-1eea-4e3f-b6dc-6e7bd6141071} <Error> TCPHandler: Code: 243. DB::Exception: Cannot reserve 1.00 MiB, not enough space. (NOT_ENOUGH_SPACE), Stack trace (when copying this message, always include the lines below):
/var/lib/clickhouse
mount.Prashant Shahi
02/16/2023, 2:04 PMoluchi orji
02/16/2023, 2:08 PMclickhouse:
cloud: aws
installCustomStorageClass: false
persistence:
size: 30Gi
# Cold storage configuration
coldStorage:
enabled: true
defaultKeepFreeSpaceBytes: "10485760"
s3 config
{
"Statement": [
{
"Action": [
"s3:GetObject",
"s3:GetObjectVersion",
"s3:PutBucketVersioning",
"s3:PutObject"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::<bucket name>",
"arn:aws:s3:::<bucket_name>/*"
]
}
],
"Version": "2012-10-17"
}
Srikanth Chekuri
02/16/2023, 2:12 PMdefaultKeepFreeSpaceBytes
is used to reserve some free space on any disk but that doesn’t move the data. What was your move_factor
?oluchi orji
02/16/2023, 2:13 PMmove_factor
is that a value on the values.yaml file?Srikanth Chekuri
02/16/2023, 2:18 PMmove_factor
(i.e. % free disk space that should always exist, and if it crosses this threshold ClickHouse will move the data to cold storage).oluchi orji
02/16/2023, 2:21 PMmove_factor
Srikanth Chekuri
02/16/2023, 2:24 PMmove_factor
for volumes in our charts https://github.com/SigNoz/charts/blob/f0f467bdfb34f464c4bb14f699a038db16332be4/cha[…]ickhouse/templates/clickhouse-instance/clickhouse-instance.yaml? I am not sure if this can be done with override.yaml.Prashant Shahi
02/16/2023, 3:27 PMclickhouse.files
configuration.Prashant Shahi
02/16/2023, 3:30 PMmove_factor
set to 0.1
by default?Prashant Shahi
02/16/2023, 3:32 PMPrashant Shahi
02/16/2023, 3:38 PMSrikanth Chekuri
02/16/2023, 3:43 PMoluchi orji
02/16/2023, 3:44 PMSrikanth Chekuri
02/16/2023, 3:53 PMSrikanth Chekuri
02/16/2023, 3:58 PMSELECT
toStartOfInterval(timestamp, toIntervalMinute(10)) AS time,
count() AS count
FROM signoz_traces.signoz_index_v2
GROUP BY time
ORDER BY time ASC
oluchi orji
02/16/2023, 4:03 PMnot found
oluchi orji
02/16/2023, 4:04 PM/ $ SELECT
sh: SELECT: not found
/ $ toStartOfInterval(timestamp, toIntervalMinute(10)) AS time,
sh: syntax error: unexpected word (expecting ")")
/ $ count() AS count
/ $ FROM signoz_traces.signoz_index_v2
sh: FROM: not found
/ $ GROUP BY time
sh: GROUP: not found
/ $ ORDER BY time ASC
sh: ORDER: not found
/ $
Prashant Shahi
02/16/2023, 4:07 PMclickhouse client
oluchi orji
02/16/2023, 4:07 PMAlejandro Decchi
05/11/2023, 8:47 PMPrashant Shahi
05/14/2023, 4:59 PM