Michal
03/06/2023, 11:55 AMGuillaume
03/06/2023, 4:35 PMvalues.yaml
to do so, but it seems not to be working. Here my `values.yaml`: (I know I duplicated default/log_queries=0
but it's on purpose to try to make it work).
clickhouse:
defaultProfiles:
default/allow_experimental_window_functions: "1"
default/allow_nondeterministic_mutations: "1"
default/log_queries: "0"
logger:
level: warning
enable: true
profiles:
default/log_queries: "0"
logger:
level: warning
##this block doesn't work, clickhouse get error about unknown settings:
## logger/level: "warning"
##end of test
resources:
limits:
cpu: 2000m
memory: 4Gi
requests:
cpu: 50m
memory: 4Gi
But then, the pod gets deployed, and still shows information logs such as:
clickhouse 2023.03.06 16:32:04.571158 [ 234 ] {4483843e-d883-4d01-af4d-2872f07b4545} <Information> executeQuery: Read 170 rows, 674.05 KiB in 0.015092185 sec., 11264 rows/sec., 43.62 MiB/sec.
clickhouse 2023.03.06 16:32:04.598816 [ 234 ] {bd514de5-4a53-4cbe-a959-d8ccb2a02ddf} <Information> executeQuery: Read 1190 rows, 2.22 MiB in 0.027129067 sec., 43864 rows/sec., 81.98 MiB/sec.
clickhouse 2023.03.06 16:32:04.774338 [ 235 ] {7dfafbe7-0766-49c4-a97f-cc583c6a5e54} <Information> executeQuery: Read 1169664 rows, 8.92 MiB in 0.15812709 sec., 7396986 rows/sec., 56.43 MiB/sec.
clickhouse 2023.03.06 16:32:05.360248 [ 224 ] {7556b233-89b2-4a20-8b11-b0c82da94f3d} <Information> executeQuery: Read 1169664 rows, 8.92 MiB in 0.129886739 sec., 9005261 rows/sec., 68.70 MiB/sec.
clickhouse 2023.03.06 16:32:05.456336 [ 218 ] {776364b3-20cb-41f4-8736-acc3b165b0b3} <Information> executeQuery: Read 452 rows, 11.19 KiB in 0.002209947 sec., 204529 rows/sec., 4.95 MiB/sec.
clickhouse 2023.03.06 16:32:05.485650 [ 228 ] {ddbec803-a941-4f7b-9a19-0bac720bfb82} <Information> executeQuery: Read 3618 rows, 88.59 KiB in 0.006745317 sec., 536372 rows/sec., 12.83 MiB/sec.
clickhouse 2023.03.06 16:32:05.564685 [ 240 ] {8bf6ccc3-6663-41f3-a444-54803c07f2d7} <Information> executeQuery: Read 3617 rows, 88.59 KiB in 0.01204406 sec., 300314 rows/sec., 7.18 MiB/sec.
and on the pod, I can check some config files:
bash-5.1$ cat etc/clickhouse-server/config.d/01-clickhouse-02-logger.xml
<yandex>
<logger>
<!-- Possible levels: <https://github.com/pocoproject/poco/blob/develop/Foundation/include/Poco/Logger.h#L105> -->
<level>information</level>
<log>/var/log/clickhouse-server/clickhouse-server.log</log>
<errorlog>/var/log/clickhouse-server/clickhouse-server.err.log</errorlog>
<size>1000M</size>
<count>10</count>
<!-- Default behavior is autodetection (log to console if not daemon mode and is tty) -->
<console>true</console>
</logger>
</yandex>
Could you tell me what I'm missing here please? Thanks a lotJose Infazon
03/06/2023, 11:57 PMhttp_server_requests_seconds_count{exception="None",method="PUT",outcome="SUCCESS",status="200",uri="/api/v1/payment-orders/{id}/cancel",} 12.0
http_server_requests_seconds_sum{exception="None",method="PUT",outcome="SUCCESS",status="200",uri="/api/v1/payment-orders/{id}/cancel",} 0.919633034
But I I try to run PromQL sum(rate(http_server_requests_seconds_count{uri=~"{{.uri}}"}[1m]))
I don't get any data.
I've instrumented other services the same way and I'm getting that metric in particular.
Also I'd like to mention that I'm getting traces from that serviceZeid ALSeryani
03/07/2023, 8:45 AMye shun
03/07/2023, 9:54 AMRohit Jha
03/07/2023, 10:44 PMAshu
03/09/2023, 6:00 AMcloudrider m92
03/10/2023, 1:11 AMcloudrider m92
03/10/2023, 1:11 AMcloudrider m92
03/10/2023, 1:11 AMhappy_potato
03/10/2023, 5:43 AMAnkit Nayan
03/10/2023, 2:30 PMGuillaume
03/13/2023, 1:56 PMquery-service
, I noticed in the logs many queries going to https://api.segment.io and https://app.posthog.com what is it? And how can I turn it off (the gateway show too many errors and trigger some alert on our monitoring stack).
signoz-query-service posthog 2023/03/13 13:52:22 ERROR: sending request - Post "<https://app.posthog.com/batch/>": dial tcp 3.91.127.143:443: connect: connection refused
signoz-query-service segment 2023/03/13 13:52:22 ERROR: sending request - Post "<https://api.segment.io/v1/batch>": dial tcp 44.228.49.115:443: connect: connection refused
AjeethKumar
03/14/2023, 1:57 PMmax mammadov
03/14/2023, 11:35 PMhappy_potato
03/15/2023, 1:07 PMStefan McShane
03/16/2023, 3:24 AMZeid ALSeryani
03/16/2023, 9:48 AMHarald Fielker
03/16/2023, 10:43 AMKasim Ali
03/17/2023, 7:13 AMDavid Wertenteil
03/17/2023, 10:32 AMVaibhavi
03/17/2023, 12:07 PMGitHub
03/17/2023, 12:15 PMMartin Trautschold
03/17/2023, 1:34 PMHarald Fielker
03/17/2023, 2:03 PMHarald Fielker
03/17/2023, 2:04 PMHarald Fielker
03/17/2023, 5:17 PMHarald Fielker
03/17/2023, 7:18 PMZeid ALSeryani
03/18/2023, 6:33 AMIoannis Rafail Florokapis
03/18/2023, 1:20 PMhttps://youtu.be/X5BiGw1JpW8▾
Ioannis Rafail Florokapis
03/18/2023, 1:20 PMhttps://youtu.be/X5BiGw1JpW8▾
Pranay
03/20/2023, 2:51 AM