Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 579 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 579 Bytes

Service consists of:

  • client
    • it collects go runtime metrics and sends it to the server
    • it does it concurrently with a certain interval that may be set in config
  • server
    • accepts metrics of different types and processes it
    • stores to database or updates if metric has already been added

How to start server

go run ./cmd/server

Configuration details can be found in cmd/server/flags.go

How to run unit tests

go test -v ./...

How to run staticlinter

go run ./cmd/staticlint ./...