head to head · open source
Vector vs gloc
Vector has 22,589 GitHub stars, 2,286 forks, 2,512 open issues and last shipped 2 days ago. gloc has 653 stars, 46 forks, 10 open issues and last shipped 11 months ago. Vector leads on adoption by 3,359% (22,589 vs 653 stars). Vector is written in Rust under MPL-2.0; gloc is written in TypeScript under GPL-2.0. Vector has attracted 10% as many forks as stars, gloc 7%. Vector was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (metrics), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| Vector | gloc | |
|---|---|---|
| GitHub stars | ★ 23K | ★ 653 |
| License | MPL-2.0 | GPL-2.0 |
| Written in | Rust | TypeScript |
| Last push | 2026-09-18 | 2025-11-02 |
| Forks | ⑂ 2.3K | ⑂ 46 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick Vector if
- You weight community size — 23K stars and counting
- You want the MPL-2.0 license terms
- Your stack matches Rust
- You value the larger contributor base for long-term maintenance
pick gloc if
- You want the gloc feature set and don't need the biggest community
- You prefer the GPL-2.0 license terms
- Your stack matches TypeScript
- You evaluated both and gloc fits your workflow better
About Vector
Vector is an open source observability data pipeline written in Rust and licensed under MPL 2.0. It operates as an end to end system for collecting, transforming, and routing logs and metrics within the cloud native monitoring ecosystem. The project is maintained by Datadog's Community Open Source Engineering team, and its topics include agent, cloud native, data transformation, datadog, etl, events, forwarder, logs, metrics, and monitoring.
read the full Vector overview →
About gloc
GLOC, short for GitHub Lines of Code Counter, is a free GPL 2.0 licensed TypeScript browser extension for Chrome, Opera, Firefox, and Edge that overlays approximate lines of code totals onto GitHub pages, aimed at developers and teams who want a quick size signal for a repository without cloning it or running a local counter.
More in Infrastructure & Operations
Related comparisons
More Monitoring & Observability projects
Compare either of these against the rest of the Monitoring & Observability field.
Frequently asked questions
Is Vector or gloc more popular?
Vector has 22,589 GitHub stars and gloc has 653. Vector has the larger community by that measure.
Are Vector and gloc free?
Both are open source. Vector is licensed under MPL-2.0 and gloc under GPL-2.0. Neither carries a licence fee.
What is the difference between Vector and gloc?
Vector is written in Rust and gloc in TypeScript. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, Vector or gloc?
Choose Vector if you want the larger community (22,589 stars) or its MPL-2.0 licence terms. Choose gloc if its feature set, stack or GPL-2.0 licence fits better. Both are self-hostable.