Page MenuHomeDevCentral

Deploy ClickHouse container for Sentry
ClosedPublic

Authored by dereckson on Mar 10 2023, 01:19.
Tags
None
Referenced Files
F3753104: D2873.id.diff
Sun, Nov 17, 23:12
F3753062: D2873.diff
Sun, Nov 17, 22:55
F3752740: D2873.id7321.diff
Sun, Nov 17, 20:58
Unknown Object (File)
Wed, Nov 13, 07:01
Unknown Object (File)
Tue, Nov 12, 23:14
Unknown Object (File)
Sun, Nov 10, 18:11
Unknown Object (File)
Fri, Nov 8, 12:37
Unknown Object (File)
Fri, Nov 8, 02:55
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.