tengu-team / layer-telegraf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

Telegraf is the Agent for Collecting & Reporting Metrics & Data.

It is part of the TICK stack and is a plugin-driven server agent for collecting and reporting metrics. Telegraf has plugins or integrations to source a variety of metrics directly from the system it’s running on, pull metrics from third-party APIs, or even listen for metrics via a StatsD and Kafka consumer services. It also has output plugins to send metrics to a variety of other datastores, services, and message queues, including InfluxDB, Graphite, OpenTSDB, Datadog, Librato, Kafka, MQTT, NSQ, and many others.

Usage

Telegraf collects metrics from one or more applications and stores them in a database of choice.

juju deploy telegraf

Supported output plugins

Output plugins are destinations were Telegraf writes metrics to:

  • InfluxDB

How to add the relation:

juju deploy cs:~chris.macnaughton/influxdb-7
juju add-relation telegraf:influxdb-output influxdb:query

For the moment only InfluxDB is supported but in the future other databases (f.e. OpenTSDB) will be added to the charm.

Supported input plugins

When a relation is made with one of the services listed below then Telegraf will collect specific metrics from this application:

  • MongoDB

How to add the relation:

juju add-relation telegraf mongodb

More applications will be added in the future.

Other applications

If your application is not listed in the input or output plugin section then you will not be able to get detailed metrics for that service. It is still possible to get simple system metrics like cpu, memory, disk space, etc. To receive those you need to create a juju-info relation with the service.

juju add-relation telegraf:host-system application:juju-info

Contact Information

Authors

About

License:GNU General Public License v3.0


Languages

Language:Python 100.0%