Page MenuHomeDevCentral

Deploy ClickHouse container for Sentry
ClosedPublic

Authored by dereckson on Mar 10 2023, 01:19.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 27, 15:50
Unknown Object (File)
Tue, Sep 17, 02:18
Unknown Object (File)
Mon, Sep 16, 02:51
Unknown Object (File)
Mon, Sep 16, 02:51
Unknown Object (File)
Mon, Sep 16, 02:51
Unknown Object (File)
Fri, Sep 6, 10:17
Unknown Object (File)
Thu, Sep 5, 20:04
Unknown Object (File)
Wed, Sep 4, 01:39
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 4535
Build 4802: 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.