Page MenuHomeDevCentral

Deploy ClickHouse container for Sentry
ClosedPublic

Authored by dereckson on Mar 10 2023, 01:19.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 24, 00:46
Unknown Object (File)
Sat, Nov 23, 21:32
Unknown Object (File)
Sat, Nov 23, 09:51
Unknown Object (File)
Sat, Nov 23, 08:23
Unknown Object (File)
Mon, Nov 18, 18:36
Unknown Object (File)
Mon, Nov 18, 18:36
Unknown Object (File)
Mon, Nov 18, 18:36
Unknown Object (File)
Mon, Nov 18, 05:16
Subscribers
None

Details

Summary

The new search infrastructure for Sentry is built on Snuba.
This service uses under the hood ClickHouse.

Reference: https://blog.sentry.io/2019/05/16/introducing-snuba-sentrys-new-search-infrastructure/

Ref T1791

Test Plan

Deploy on docker-002

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
sentry-clickhouse
Build Status
Buildable 4536
Build 4803: arc lint + arc unit

Event Timeline

dereckson created this revision.

2023.03.10 01:21:37.512800 [ 1 ] {} <Information> Application: It looks like the process has no CAP_NET_ADMIN capability, 'taskstats' performance statistics will be disabled. It could happen due to incorrect ClickHouse package installation. You could resolve the problem manually with 'sudo setcap cap_net_admin=+ep /usr/bin/clickhouse'. Note that it will not work on 'nosuid' mounted filesystems. It also doesn't work if you run clickhouse-server inside network namespace as it happens in some containers.

2023.03.10 01:21:37.512832 [ 1 ] {} <Information> Application: It looks like the process has no CAP_SYS_NICE capability, the setting 'os_thread_nice' will have no effect. It could happen due to incorrect ClickHouse package installation. You could resolve the problem manually with 'sudo setcap cap_sys_nice=+ep /usr/bin/clickhouse'. Note that it will not work on 'nosuid' mounted filesystems.

Linux capabilities (not required by Snuba, but nice to have for ClickHouse features)

This revision is now accepted and ready to land.Mar 10 2023, 01:35
This revision was automatically updated to reflect the committed changes.