smeter

command module
v0.0.0-...-7fde5a9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2019 License: MIT Imports: 5 Imported by: 0

README

Smeter

Smeter is a small system that records metrics and provides useful interface to monitor time series based data.

Building Smeter

Prerequisites
  • The latest stable version of Go. Earlier releases may work, but we recommend always using the latest stable version. At the time of writing this is Go 1.13.
  • Protocol Buffers
  • gRPC (needed to generate cpp sources and headers)
  • Git
Building

Build server

# This will generate all protobuf files and build a binary
$ make

Building for ARM

# Target ARM architecture
$ GOOS=linux GOARCH=arm make

Generate cpp files

# Generates cpp sources and headers
# Files are being generated in internal/proto/cpp
$ make proto-cpp

PostgreSQL

Smeter uses PostgreSQL to store data. You need to create a database before you can use Smeter.

# Login as postgres
$ su - postgres

# Create database and tables
$ createdb smeter
$ psql smeter -c '\i sql/schema.pgsql'

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL