Categorygithub.com/The-Gleb/go_metrics_and_alerting
repository
0.0.0-20240417145710-dfde47fa190e
Repository: https://github.com/the-gleb/go_metrics_and_alerting.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

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 ./...