square/inspect(新しいタブで開きます)
主要言語: Go
inspect is a collection of metrics gathering, analysis utilities for various subsystems of linux, mysql and postgres.
- star 数
- 271
- watcher 数
- 32
- fork 数
- 35
- issue 数
- 6
- 最終更新
- 2023/02/25
主要言語: Go
inspect is a collection of metrics gathering, analysis utilities for various subsystems of linux, mysql and postgres.
inspect is a collection of operating system/application monitoring analysis libraries and utilities with an emphasis on problem detection.
The above commands should install three binaries in your original $GOPATH/bin directory.
Please see subdirectories for more detailed documentation
Development setup is a bit tricky given interaction of godep/gopath:
[s@pain inspect (master)]$ git remote -v
origin git@github.com:syamp/inspect.git (fetch)
origin git@github.com:syamp/inspect.git (push)
upstream github.com/square/inspect.git (fetch)
upstream github.com/square/inspect.git (push)
We use godep for vendoring and dependency management. We rewrite import paths. If you are adding a new dependency or updating one, please run
Please format, test and lint before submitting PRs
To run the linux tests in this repo on a non-linux machine, use the TestLinuxDockerfile in the root of the repo.
docker build -q -f TestLinuxDockerfile .
# record the image id outputted from the command ^
docker run --rm -it --entrypoint bash ${the_full_image_id_from_above}
# Once attached to the docker container, run the tests. E.g.
cd os/cpustat
go test ./...