https://github.com/cometkim/quickwit-tutorial
Quickwit tutorial on local containers
https://github.com/cometkim/quickwit-tutorial
docker-compose quickwit
Last synced: 3 months ago
JSON representation
Quickwit tutorial on local containers
- Host: GitHub
- URL: https://github.com/cometkim/quickwit-tutorial
- Owner: cometkim
- Created: 2024-08-23T11:31:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-26T08:18:59.000Z (over 1 year ago)
- Last Synced: 2025-01-10T22:15:28.475Z (12 months ago)
- Topics: docker-compose, quickwit
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quickwit Tutorial w/ Docker Compose
[Quickwit](https://quickwit.io/) local setup for demonstration purpose, fully powered by containers & Docker Compose.
## Prerequisites
- OrbStack or Docker (uncomment port mapping in [docker-compose.yml](docker-compose.yml))
- 2~5GB of free space
## How to
> [!NOTE]
> `docker-compose.yml` assumes that you are using [OrbStack proxy](https://docs.orbstack.dev/docker/domains#ports).
> If you are using Docker, uncomment the `"ports"` mappings in the file.
### Starting services
To start services
```bash
docker compose up -d
```
compose includes these pre-configured services
- `quickwit`
- Quickwit single node config
- Endpoints:
- [Quickwit UI](https://quickwit.quickwit-tutorial.orb.local)
- HTTP services: 7280
- OTLP gRPC: 7281
- `jaeger`
- Jaeger client, using Quickwit as its backend
- Endpoints:
- [Jaeger UI](https://jaeger.quickwit-tutorial.orb.local)
- `grafana`
- Endpoints:
- [Dashboards -> Indexer metrics](https://grafana.quickwit-tutorial.orb.local/d/quickwit-indexers/quickwit-indexers)
- [Dashboards -> Metastore metrics](https://grafana.quickwit-tutorial.orb.local/d/quickwit-metastore/quickwit-metastore)
- [Dashboards -> Search metrics](https://grafana.quickwit-tutorial.orb.local/d/quickwit-searchers/quickwit-searchers)
- Explore -> Quickwit OTEL Logs
- Explore -> Quickwit OTEL Traces
- Explore -> Jaeger
- `prometheus`
- Scrape Quickwit metrics
- `otel-collector`
- OpenTelemetry collector
- Endpoints:
- OTLP gRPC: 4317
- OTLP HTTP: 4318
- `demo-service`
- Simple GraphQL service with OpenTelemetry OTLP trace/log setup
- Endpoints:
- [GraphiQL](https://demo-service.quickwit-tutorial.orb.local/graphql)
### Ingesting sample data
While running services, you can create index with pre-configured config and data.
- HDFS logs (10K): `docker compose up ingest-hdfs-logs-10k`
- HDFS logs (20M): `docker compose up ingest-hdfs-logs-20m`
- Stackoverflow posts (10K): `docker compose up ingest-stackoverflow-10k`