Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/metrico/qryn-minimal

qryn minimal polyglot demo - the smallest drop-in LGTM compatible stack ever!
https://github.com/metrico/qryn-minimal

chdb clickhouse docker loki observability prometheus qryn tempo

Last synced: about 1 month ago
JSON representation

qryn minimal polyglot demo - the smallest drop-in LGTM compatible stack ever!

Awesome Lists containing this project

README

        

# qryn-minimal

> The lightest, most portable and powerful _all-in-one_ observability combo ever, now with embedded storage


### ⭐ Features
Drop-in compatible ingestion and query APIs with polyglot features:
- **Loki** API + **LogQL** 👁️ [logs](https://qryn.metrico.in/#/logs/ingestion)
- **Prometheus** API + **PromQL** 👁️ [metrics](https://qryn.metrico.in/#/metrics/ingestion)
- **Tempo** API + **TempoQL** 👁️ [traces](https://qryn.metrico.in/#/metrics/ingestion)
- **Pyroscope** API 👁️ [profiling](https://qryn.metrico.in/#/profiling/ingestion)
- **Polyglot Ingestion** compatible with _[Elastic, Datadog, InfluxDB](https://qryn.metrico.in/#/support) and more_


### 🍪 Ingredients
- **[qryn](https://github.com/metrico/qryn)**: _polyglot, lighweight, multi-standard drop-in observability framework for Logs, Metrics and Traces_
- **[cowsdb](https://github.com/cowsdb/cowsdb)**: _local embedded SQL OLAP Engine for serverless functions API compatible with ClickHouse_


#### ⚠️ Warning
> This bundle is designed for minimal single node setups with local storage only.

> For full sized deployments please refer to the complete [qryn-demo](https://github.com/metrico/qryn-oss-demo)


#### 👉 Launch

Spin up qryn-minimal w/ embedded database storage using `docker compose`
```
docker compose pull
docker compose up -d
```

| app | port |
|---|---|
| qryn | 3100 |


#### 🔎 Test
- Ingest a sample log line using `curl`
```bash
curl -i -XPOST -H "Content-Type: application/json" http://localhost:3100/loki/api/v1/push \
--data '{"streams":[{"stream":{"type":"test"},"values":[['$(date +"%s%N")', "hello qryn"]]}]}'
```

- Browse to **qryn-view** at `http://localhost:3100` to search & find your test log

- Follow the [qryn instructions](https://qryn.metrico.in/#/) to ingest any of your **Logs, Metrics and Traces**
- Add **Grafana** using the native _Loki, Prometheus and Tempo datasources_ with **qryn** APIs