Page MenuHomeDevCentral

Deploy ClickHouse container for Sentry
ClosedPublic

Authored by dereckson on Mar 10 2023, 01:19.
Tags
None
Referenced Files
F3715037: D2873.id7323.diff
Tue, Nov 5, 01:20
Unknown Object (File)
Sun, Nov 3, 01:55
Unknown Object (File)
Thu, Oct 31, 20:11
Unknown Object (File)
Thu, Oct 31, 20:11
Unknown Object (File)
Thu, Oct 31, 20:11
Unknown Object (File)
Thu, Oct 31, 19:18
Unknown Object (File)
Thu, Oct 31, 12:39
Unknown Object (File)
Wed, Oct 30, 17:57
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.