Counter - Telegraph (Perf Metrics Collector)

Scale Counter Graph

About

Telegraf is a metrics collector entirely plugin driven.

Plugins must be declared in the conf file to be active.

Steps

Installation

wget https://dl.influxdata.com/telegraf/releases/telegraf-1.2.1.x86_64.rpm
sudo yum localinstall telegraf-1.2.1.x86_64.rpm
# or with a local download
rpm -ivh telegraf-1.2.1.x86_64.rpm
Preparing...                ########################################### [100%]
   1:telegraf               ########################################### [100%]

Installed in: /usr/bin/telegraf

File Config

Config File Search order:

  • TELEGRAF_CONFIG_PATH,
  • /home/user/.telegraf/telegraf.conf,
  • or /etc/telegraf/telegraf.conf

Generate a config file in one of the above path

telegraf config > telegraf.conf

Environment variables can be used anywhere in this config file, simply prepend them with $.

  • For strings the variable must be within quotes (ie, “STR_VAR”),
  • For numbers and booleans they should be plain (ie, INT_VAR, BOOL_VAR)

Metrics

To see what metrics a config file would generate:

telegraf -config telegraf.conf -test

Documentation / Reference





Discover More
Scale Counter Graph
Counter - Collector

Metrics collector query and collects metrics in order to be able to send them to a metrics server Log Collector In a instrumented application, reporter are a client piece of code which: process...
Data System Architecture
Data Management - (Transaction|Request|Commit|Redo) Log

(Transaction|Request|commit) logs are structured log file store all changes made to the data as they occur. They permits the implementation of : transaction isolation undoable operation. recovery...



Share this page:
Follow us:
Task Runner