statsd

module
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: MIT

README

Statsd

Go Report Version

Overview

Responsible for collecting events from all micro-services over the stack.

Event API

Example
{
  "kind": "authorization",
  "data": {
    "enabled": false,
    "error": "auth.token.revoked",
    "id": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
    "ip": "172.18.0.1",
    "name": "xxx-xxx",
    "status": "succeed",
    "timestamp": "2020-03-14T00:43:20"
  }
}

Development

Run PostgreSQL database

docker-compose up -Vd postgres

Migrate the database

migrate -source file://migrations -database postgres://postgres:password@127.0.0.1:5432/stats\?sslmode=disable up

Build the project

make

Directories

Path Synopsis
cmd
server command
statsd command
pkg

Jump to

Keyboard shortcuts

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