Skip to content

Various libraries and scripts for monitoring server and parsing logs, written in golang

Notifications You must be signed in to change notification settings

Auginte/go-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go monitoring tools

Augitne.com specific tools for dealing with metrics and logs transformation for ElasticSearch/Kibana.

Using Golang because Logstash takes too much resources and golang can download/parse/publish logs in parallel.

Building with docker

  • Install docker
  • Install glide
  • Download dependencies: glide install
  • Run scripts/build.sh
  • Check results in bin folder

Using docker-compose

Assuming docker, docker-compose installed and vendor folder is populated by glide install.

version: "2"

services:
  auginte.dev.gologs:
    image: golang:1.7.0
    volumes:
      - ./:/go/src/github.com/Auginte/go-monitoring/
      - ./scripts/raw-build.sh:/custom/raw-build.sh
      - ./bin:/go/bin
    command: /custom/raw-build.sh

Assuming docker-compose.yml file is in current directory (otherwise updates volumes section)

Developing with local go

Tests?

Currently everything is tested manually: on Ubuntu and Amazon AMI. Only small part of tests are used only to check, if it compiles. Build Status

Before committing please run scripts/code-quality.sh, so there will be less discussions "between tabs vs spaces"

Known issues

glide install downloads packages of github.com/Auginte/go-monitoring/ and those differ from not commited code. Solution: Remove github.com/Auginte/go-monitoring/ from vendor folder.

About

Various libraries and scripts for monitoring server and parsing logs, written in golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published