Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/omerxx/crystal-methrics

A blazing fast crystal lang events data pipeline utlizing redis and ELK, visualizing the data automatically
https://github.com/omerxx/crystal-methrics

Last synced: 11 days ago
JSON representation

A blazing fast crystal lang events data pipeline utlizing redis and ELK, visualizing the data automatically

Awesome Lists containing this project

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: `/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

```
/metric/my-event/value/100
```

## Contributing

1. Fork it ( https://github.com/[your-github-name]/crystal-methrics/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request

## Contributors

- [[your-github-name]](https://github.com/[your-github-name]) omerxx - creator, maintainer