Skip to content

Conversation

@colby-swandale
Copy link
Member

We recently launched a partnership with Clickhouse for hosting our Gem Download analytics - https://clickhouse.com/blog/announcing-ruby-gem-analytics-powered-by-clickhouse. This makes timescale something we're no longer exploring and should be removed.

@codecov
Copy link

codecov bot commented Apr 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.12%. Comparing base (7620322) to head (e4b6b2c).
Report is 29 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5629   +/-   ##
=======================================
  Coverage   97.12%   97.12%           
=======================================
  Files         454      454           
  Lines        9454     9454           
=======================================
  Hits         9182     9182           
  Misses        272      272           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@simi
Copy link
Contributor

simi commented Apr 24, 2025

@colby-swandale is it possible to reach related data programatically to enhance related pages with? The main purpose of this project was to bring more granular numbers of downloads to RubyGems.org pages directly. I have not found out any docs related how to get any data out of the sql.clickhouse.com using API or reaching CH instance directly.

@gingerwizard
Copy link

@simi you can query the data over https on sql-clickhouse.clickhouse.com. See the Clickhouse docs for the spec.
Use the demo user (no password)

You can also download the native client and run

clickhouse client --host sql-clickhouse.clickhouse.com --secure --user demo

This gives you a console.

'use rubygems'

To switch to the db

@simi
Copy link
Contributor

simi commented Apr 30, 2025

@gingerwizard is there any documentation around this? I have found out there are some limitations like 10B rows per query. 🤔

@gingerwizard
Copy link

@gingerwizard
Copy link

@colby-swandale colby-swandale merged commit d3258ef into master May 7, 2025
21 checks passed
@colby-swandale colby-swandale deleted the colby/remove-timescale branch May 7, 2025 04:34
@github-project-automation github-project-automation bot moved this from Todo to Merged in RubyGems.org Pull Requests May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants