ClickHouse/programs/diagnostics/CONTRIBUTION.md
2022-07-01 11:43:07 +02:00

680 B

Contribution

We keep things simple. Execute all commands in this folder.

Requirements

  • docker - tested on version 20.10.12.
  • golang >= go1.17.6

Building

Creates a binary clickhouse-diagnostics in the local folder. Build will be versioned according to a timestamp. For a versioned release see Releasing.

make build

Linting

We use golangci-lint. We use a container to run so no need to install.

make lint-go

Running Tests

make test

For a coverage report,

make test-coverage

Adding Collectors

TODO

Adding Outputs

TODO

Frames

Parameter Types