Skip to content

Conversation

@HeavyPunk
Copy link
Contributor

Summary

Added a log for long-running clickhouse queries. If http-session is over by timeout, then clickhouse query progress will be logged.

Changes

  • Added a feature flag to enable this functionality (log-query-progress = true)
  • Added a custom http-client over default net/http to capture not fully transfered http-response. It needs to get X-ClickHouse-Progress header if http-session is over by timeout
  • Move http_headers_progress_interval_ms value to config (progress-sending-interval option)

@mchrome mchrome self-requested a review July 1, 2025 12:07
@mchrome mchrome merged commit 3b4cdf8 into go-graphite:master Jul 3, 2025
8 checks passed
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.

2 participants