electric-sql / electric-sql/electric

Update statistics to include active, hibernated and offline shapes

Open
#3,249 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
10.4k
Forks
375
Avg merge
3d 1h
Merged PRs (30d)
18

Description

Our current "shape_count" metric is just total defined shapes. This needs to be divided by consumer status so we'd have

- defined: total shapes in status table
- running: shapes with running consumer process
- hibernated: running but hibernated
- offline: in ets but with not running (defined - running)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.