Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cloudinsight/cloudinsight-agent

Cloudinsight Agent is a system tool that monitors system processes and services, and sends information back to your Cloudinsight account.
https://github.com/cloudinsight/cloudinsight-agent

cloudinsight golang monitor-performance statsd timeseries

Last synced: 3 months ago
JSON representation

Cloudinsight Agent is a system tool that monitors system processes and services, and sends information back to your Cloudinsight account.

Awesome Lists containing this project

README

        

# Cloudinsight Agent

[![Build Status](https://travis-ci.org/cloudinsight/cloudinsight-agent.svg?branch=master)](https://travis-ci.org/cloudinsight/cloudinsight-agent)
[![Go Report Card](https://goreportcard.com/badge/github.com/cloudinsight/cloudinsight-agent)](https://goreportcard.com/report/github.com/cloudinsight/cloudinsight-agent)
[![codecov](https://codecov.io/gh/cloudinsight/cloudinsight-agent/branch/master/graph/badge.svg)](https://codecov.io/gh/cloudinsight/cloudinsight-agent)

[中文版 README](README_zh-CN.md)

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](https://cloud.oneapm.com).

## Building from source

To build Cloudinsight Agent from the source code yourself you need to have a working Go environment with [version 1.7+](https://golang.org/doc/install).

```
$ 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](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
```

## Related works

I have been influenced by the following great works:

- [ddagent](https://github.com/datadog/dd-agent)
- [telegraf](https://github.com/influxdata/telegraf)
- [prometheus](https://github.com/prometheus/prometheus)
- [mackerel](https://github.com/mackerelio/mackerel-agent)