BEAM Metrics in ClickHouse

How we are periodically dumping metrics about our most demanding BEAM processes into an easy-to-query ClickHouse table.