Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: clickhouse query logs receiver #316

Merged
merged 28 commits into from
Apr 25, 2024

Conversation

raj-k-singh
Copy link
Contributor

@raj-k-singh raj-k-singh commented Apr 22, 2024

Adds a receiver for scraping system.query_log table in clickhouse as otel logs

contributes to SigNoz/signoz#4830

@raj-k-singh raj-k-singh changed the title Feat/signoz clickhouse system logs receiver Feat: clickhouse system logs receiver Apr 22, 2024
@raj-k-singh raj-k-singh changed the title Feat: clickhouse system logs receiver Feat: clickhouse query logs receiver Apr 22, 2024
@raj-k-singh raj-k-singh force-pushed the feat/signoz-clickhouse-system-logs-receiver branch from 7db0a7a to 0888b89 Compare April 22, 2024 03:40
@raj-k-singh raj-k-singh force-pushed the feat/signoz-clickhouse-system-logs-receiver branch from ac3d090 to 4899944 Compare April 23, 2024 05:27
@raj-k-singh raj-k-singh marked this pull request as ready for review April 23, 2024 05:27
Copy link
Member

@srikanthccv srikanthccv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some initial suggestions. I am still trying to understand the timestamp adjustment logic.

receiver/clickhousesystemtablesreceiver/query_log.go Outdated Show resolved Hide resolved
receiver/clickhousesystemtablesreceiver/query_log.go Outdated Show resolved Hide resolved
receiver/clickhousesystemtablesreceiver/receiver.go Outdated Show resolved Hide resolved
receiver/clickhousesystemtablesreceiver/receiver.go Outdated Show resolved Hide resolved
receiver/clickhousesystemtablesreceiver/receiver.go Outdated Show resolved Hide resolved
receiver/clickhousesystemtablesreceiver/receiver.go Outdated Show resolved Hide resolved
Copy link
Member

@srikanthccv srikanthccv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks for addressing the comments.

@raj-k-singh raj-k-singh merged commit 24ec1a7 into main Apr 25, 2024
3 checks passed
@raj-k-singh raj-k-singh deleted the feat/signoz-clickhouse-system-logs-receiver branch April 25, 2024 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants