square/inspect(opens in a new tab)
Language: Go
inspect is a collection of metrics gathering, analysis utilities for various subsystems of linux, mysql and postgres.
- stars
- 271
- watchers
- 32
- forks
- 35
- open issues
- 6
- Last updated
- 02/25/2023
Language: 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 ./...