Skip to content

Commit

Permalink
set log level for clickhouse (#194)
Browse files Browse the repository at this point in the history
* set log level for clickhouse

* Update Helm documentation

---------

Co-authored-by: CometActions <[email protected]>
  • Loading branch information
liyaka and CometActions authored Sep 8, 2024
1 parent 81dee5e commit 02e86ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions deployment/helm_chart/opik/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ Call opik api on http://localhost:5173/api
| clickhouse.adminUser.useSecret.enabled | bool | `false` | |
| clickhouse.adminUser.username | string | `"opik"` | |
| clickhouse.image | string | `"altinity/clickhouse-server:24.3.5.47.altinitystable"` | |
| clickhouse.logsLevel | string | `"information"` | |
| clickhouse.namePrefix | string | `"opik"` | |
| clickhouse.operator.enabled | bool | `true` | |
| clickhouse.replicasCount | int | `1` | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ data:
<yandex>
<logger>
<!-- Possible levels: https://github.com/pocoproject/poco/blob/devel/Foundation/include/Poco/Logger.h#L439 -->
<level>debug</level>
<level>${.Values.clickhouse.logsLevel}</level>
<log>/var/log/clickhouse-server/clickhouse-server.log</log>
<errorlog>/var/log/clickhouse-server/clickhouse-server.err.log</errorlog>
<size>1000M</size>
Expand Down
1 change: 1 addition & 0 deletions deployment/helm_chart/opik/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ clickhouse:
replicasCount: 1
image: altinity/clickhouse-server:24.3.5.47.altinitystable
storage: 50Gi
logsLevel: information
adminUser:
useSecret:
enabled: false
Expand Down

0 comments on commit 02e86ea

Please sign in to comment.