Page MenuHomeDevCentral

Deploy ClickHouse container for Sentry
ClosedPublic

Authored by dereckson on Mar 10 2023, 01:19.
Tags
None
Referenced Files
F2842948: D2873.id7323.diff
Tue, Apr 23, 03:23
F2839115: D2873.id7322.diff
Mon, Apr 22, 11:58
Unknown Object (File)
Sat, Apr 20, 10:42
Unknown Object (File)
Fri, Apr 19, 16:46
Unknown Object (File)
Fri, Apr 19, 14:41
Unknown Object (File)
Fri, Apr 19, 11:02
Unknown Object (File)
Wed, Apr 17, 14:40
Unknown Object (File)
Mon, Apr 15, 06:45
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 Not Applicable
Unit
Tests Not Applicable

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.