Sign inSign up

durguto/rasat

By durguto

•Updated 27 days ago

Self-hosted observability for OpenTelemetry traces, logs, and a service map

Image
Developer tools
Monitoring & observability
0

167

durguto/rasat repository overview

Rasat

⁠Rasat

Self-hosted observability for OpenTelemetry traces, structured logs, and a service map. One process serves the UI, ingest, and query. Your ClickHouse stores the data.

Website: https://rasat.dev⁠ · Demo: https://demo.rasat.dev⁠ · Docs: getting started⁠ · Source: github.com/durguto/rasat⁠

This image is linux/amd64 and linux/arm64, distroless, non-root. It does not include ClickHouse, rasat-seed, or rasat-bench.

This version has no login. Anyone who can reach the HTTP port can query and ingest. Bind it to a network you trust.

⁠Quick start

You need ClickHouse 24.8 on native port 9000. Point Rasat at it:

docker run -d --name rasat \
  -p 8080:8080 -p 4317:4317 \
  -e RASAT_CLICKHOUSE_ADDR=host.docker.internal:9000 \
  -e RASAT_CLICKHOUSE_DATABASE=rasat \
  -e RASAT_CLICKHOUSE_USER=rasat \
  -e RASAT_CLICKHOUSE_PASSWORD=rasat \
  durguto/rasat:0.1.3

On Linux, add --add-host=host.docker.internal:host-gateway if ClickHouse is on the host. Wait until http://localhost:8080/ready returns 200. UI: http://localhost:8080.

Throwaway ClickHouse, Compose, OTLP examples: getting started⁠.

⁠Ports

PortRole
8080UI, OTLP/HTTP, query API, log ingest, /health, /ready
4317OTLP/gRPC

⁠Configuration

Environment only. There is no config file. Match RASAT_CLICKHOUSE_* to your server.

VariableDefaultDescription
RASAT_HTTP_ADDR:8080HTTP listen
RASAT_GRPC_ADDR:4317OTLP/gRPC listen
RASAT_CLICKHOUSE_ADDR127.0.0.1:9000Native host:port
RASAT_CLICKHOUSE_DATABASErasatCreated on startup
RASAT_CLICKHOUSE_USERdefaultMust be able to create the database and tables
RASAT_CLICKHOUSE_PASSWORDemptyMatch the ClickHouse user

Full list: configuration⁠.

⁠Tags

Published from git tags vMAJOR.MINOR.PATCH (not from main):

TagMeaning
0.1.3This release
0.1Latest 0.1.x
latestLatest tagged release

⁠Send traces

export OTEL_EXPORTER_OTLP_ENDPOINT=http://127.0.0.1:8080
export OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf

No Rasat agent. Send data⁠.

⁠License

Apache License 2.0⁠.

Tag summary

Content type

Image

Digest

sha256:897b3b367…

Size

9.3 MB

Last updated

27 days ago

docker pull durguto/rasat