efc2 / efc2-agent

efc2 agent

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Efc Agent

Build Status Go Report Card codecov

中文版 README

Efc Agent is written in Go for collecting metrics from the system it's running on, or from other services, and sending them to Efc.

Building from source

To build Efc Agent from the source code yourself you need to have a working Go environment with version 1.7+.

$ mkdir -p $GOPATH/src/github.com/efc2
$ cd $GOPATH/src/github.com/efc2
$ git clone https://github.com/efc2/efc2-agent
$ cd efc2-agent
$ make build

Usage

First you need to set a license key, which can be found at https://cloud.efc.one/#/settings.

$ cp efc-agent.conf.example efc-agent.conf
$ vi efc-agent.conf
...
license_key = "*********************"

Run the agent in foreground:

$ ./bin/efc-agent

For more options, see:

$ ./bin/efc-agent --help

Related works

I have been influenced by the following great works:

About

efc2 agent

License:Other


Languages

Language:Go 99.5%Language:Makefile 0.3%Language:Shell 0.1%