orakle / inspect

inspect is a collection of metrics collection, analysis utilities for various subsystems of linux, mysql and postgres.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

inspect is a collection of operating system/application monitoring analysis libraries and utilities with an emphasis on problem detection.

Installation

  1. get go
  2. go get -u -v github.com/square/inspect/...

The above commands should install three binaries in your original $GOPATH/bin directory.

  1. inspect
  2. inspect-mysql (work in progress)
  3. inspect-postgres (work in progress)

Please see subdirectories for more detailed documentation

Glossary

  • cmd - Directory for command line programs based on the below libraries

  • os - Operating system metric measurement libraries used by inspect.
  • mysql - MySQL metric reporting libraries.
  • postgres - Postgres metric reporting libraries.
  • metrics/metricscheck - Simple metrics libraries for golang.

Development

  • We use godep for vendoring and dependency management. We rewrite import paths. If you are adding a new dependency or updating one, please run

    1. godep save -r
  • Please format, test and lint before submitting PRs

    1. go fmt ./...
    2. go test ./...
    3. $GOPATH/bin/golint ./...

Todo

  • metriccheck uses some darkmagic and uses golang/x/tools APIs which tend to break API compat often. Need to fix it.

About

inspect is a collection of metrics collection, analysis utilities for various subsystems of linux, mysql and postgres.

License:Apache License 2.0


Languages

Language:Go 100.0%