wundergraph / cosmo

The open-source solution to building, maintaining, and collaborating on GraphQL Federation at Scale. The alternative to Apollo Studio and GraphOS.
https://cosmo-docs.wundergraph.com/
Apache License 2.0
745 stars 106 forks source link

fix(graphqlmetrics): improve batch preparation #1352

Closed Noroth closed 2 weeks ago

Noroth commented 2 weeks ago

Motivation and Context

We should only prepare batches if we really have data to write. it seems like aborting the batch causes Clickhouse to track an error.

In addition the Clickhouse dependency version was updated