To download third party binary dependencies (e.g. proto-gen-go, grpc-gateway, vtproto) run make deps
.
Use make build
to build the application.
It compiles the application into the bin
folder.
Use docker compose up -d
to start all necessary containers.
Use make migrate
and make migrate-ch
to run postgres and clickhouse migrations.
Use make run
to run the application with default config path seq-ui-server-config.yaml
.
SeqUI starts listening for requests:
- HTTP -
http://localhost:5555
- gRPC -
http://localhost:5556
- Debug -
http://localhost:5557
SwaggerUI available at http://localhost:5557/docs
.
There are two options to run migrations:
- Change variable
MIGRATION_DSN
/MIGRATION_DSN_CLICKHOUSE
in Makefile and usemake migrate
/make migrate-ch
- Use
make migrate MIGRATION_DSN="{your_dsn}"
/make migrate-ch MIGRATION_DSN_CLICKHOUSE="{your_dsn}"
Similar options for rolling back the last migration, but use make undo-last-migration
/make undo-last-migration-ch
command.
Run make lint
. It will check *.proto files with buf and *.go files with golangci-lint.
The application can be configured via yaml file. See the details in docs/config.md.
Example of config file can be found here.
Run this before start to enable tracing:
export TRACING_SERVICE_NAME=seq-ui-server-local
export TRACING_SAMPLER_PARAM=1.0
export JAEGER_AGENT_PORT=6831
export JAEGER_AGENT_HOST=127.0.0.1