cloudinsight-agent

command module
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2017 License: BSD-3-Clause Imports: 14 Imported by: 0

README

Cloudinsight Agent

Build Status Go Report Card codecov

中文版 README

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

Building from source

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

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

Usage

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

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

Run the agent in foreground:

$ ./bin/cloudinsight-agent

For more options, see:

$ ./bin/cloudinsight-agent --help

I have been influenced by the following great works:

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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