crystal-methrics
Version, currently master branch1 version
- master branchlatestMay 17, 2018
github.com/omerxx/crystal-methrics
A blazing fast crystal lang events data pipeline utlizing redis and ELK, visualizing the data automatically
Installation
# Add this to your shard.yml
dependencies:
crystal-methrics:
github: omerxx/crystal-methrics
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.24.2- License
- MIT
- Author
- omerxx
- Target
crystal-methricsfrom src/crystal-methrics.cr
Dependencies
Runtime Dependencies
README
crystal-methrics
Send any metric, from anywhere, using a simple HTTP request and get it visualized.
No SDKs, not pricey metric frameworks, and no special strcuture or scheme: <crystal-methrics-domain>/metric/my-event/value/100
Data Flow
Crystal Router --> Redis Cache --> Logstash Enrichment --> ElasticSearch --> Visualization
Installation
Lazy?
docker compose up
Yes, that's it.
Looking for robustness? Deploy logstash as a container service in your production infrastructure. Deploy Redis anywhere e.g ElasticCache. Deplou ElasticSearch anywhere e.g AWS's ElasticSearch as a Service. Deploy Crystal Methrics as a binary / docker container / whereever.
Usage
<crystal-methrics-domain>/metric/my-event/value/100
Contributing
- Fork it ( https://github.com/[your-github-name]/crystal-methrics/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- [your-github-name] omerxx - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- May 17, 2018
- Crystal
0.24.2- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/omerxx/crystal-methrics
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1