Commit Graph

40 Commits

Author SHA1 Message Date
Mark Rushakoff b267c218e2 Rename expvar plugin -> influxdbjson 2015-12-07 22:48:30 -08:00
Mark Rushakoff bc9a71e111 Add expvar plugin
This was primarily intended to consume InfluxDB-style expvars,
particularly InfluxDB's `/debug/vars` endpoint.

That endpoint follows a structure like

```json
{
  "httpd::8086": {
    "name": "httpd",
    "tags": {
      "bind": ":8086"
    },
    "values": {
      "pointsWrittenOK": 33756,
      "queryReq": 19,
      "queryRespBytes": 26973,
      "req": 428,
      "writeReq": 205,
      "writeReqBytes": 3939161
    }
  }
}
```

There are an arbitrary number of top-level keys in the JSON response at
the configured URLs, and this plugin will iterate through all of their
values looking for objects with keys "name", "tags", and "values"
indicating a metric to be consumed by telegraf.

Running this on current master of InfluxDB, I am able to record nearly
the same information that is normally stored in the `_internal`
database; the only measurement missing from `_internal` is `runtime`,
which is present in expvars under the "memstats" key but does not follow
the expvar format and so is not consumed in this plugin.

```
$ influx -database=telegraf -execute 'SHOW FIELD KEYS FROM /expvar/'

name: expvar_influxdb_engine
----------------------------
fieldKey
blksWrite
blksWriteBytes
blksWriteBytesC
pointsWrite
pointsWriteDedupe

name: expvar_influxdb_httpd
---------------------------
fieldKey
pingReq
pointsWrittenOK
queryReq
queryRespBytes
req
writeReq
writeReqBytes

name: expvar_influxdb_shard
---------------------------
fieldKey
fieldsCreate
seriesCreate
writePointsOk
writeReq

name: expvar_influxdb_subscriber
--------------------------------
fieldKey
pointsWritten

name: expvar_influxdb_wal
-------------------------
fieldKey
autoFlush
flushDuration
idleFlush
memSize
metaFlush
pointsFlush
pointsWrite
pointsWriteReq
seriesFlush

name: expvar_influxdb_write
---------------------------
fieldKey
pointReq
pointReqLocal
req
subWriteOk
writeOk
```
2015-12-07 21:37:26 -08:00
Cameron Sparr 6c23fb3173 Mailchimp report plugin 2015-12-04 12:25:16 -07:00
Regan Kuchan 4b3b41fea5 Create trig plugin
closes #404
2015-12-01 18:11:03 -07:00
Codeb Fan e167b72b16 Add plugin for Twemproxy
This plugin collects data from Twemproxy's stats interface
2015-11-13 09:40:29 -07:00
Roman Statsevich d54f6be639 add ZFS plugin 2015-11-09 10:37:36 -07:00
Simone Aiello 25fd4297a8 Jolokia plugin first commit 2015-11-06 14:07:02 -07:00
Tait Clarridge c5f200917a Add aerospike plugin support
- Does not use the aerospike client, but sends the stats command
  using the aerospike required format
- Queries available namespaces and gets stats for all of them

closes #300
2015-10-21 18:04:45 -06:00
Roman Statsevich 499b5befd6 add bcache plugin
Closes #286
2015-10-20 14:17:09 -06:00
Jonathan Cross c3dad00c1b PuppetAgent Plugin
Added PuppetAgent Plugin reads last_run_summary file
2015-10-18 17:37:11 -06:00
Cameron Sparr eb2a4dc724 Statsd listener plugin
implement gauges, sets, counters
2015-10-14 17:54:00 -06:00
Jonathan Cross 8fd06b96d7 Zookeeper plugin
Created a zookeeper plugin that fetches from the ‘mntr’ command will
output measurements that are int and string based
2015-10-14 17:48:21 -06:00
Vinh 0bc76f094a Add PHPFPM stat
- HTTP status or Socket status
- Collect those metric:
    accepted conn:
    listen queue:
    max listen queue:
    listen queue len:
    idle processes:
    active processes:
    total processes:
    max active processes:
    max children reached:
    slow requests:
- Tag metric with: `host` and `pool` name

Closes #255
2015-10-12 15:40:42 -06:00
Ranjib Dey fdf00c1be6 Monitor process by pidfile or exe name 2015-10-07 11:11:12 -06:00
Cameron Sparr 68e41f130c Ping plugin
Closes #167
2015-09-04 11:20:49 -06:00
Alexander Oleinik e2bc5d80c9 Apache Plugin
Closes #158
Fixes #132
2015-08-31 10:17:18 -06:00
Alvaro Morales 06ef2a72c5 Add httpjson plugin 2015-08-19 13:24:07 -06:00
mocchira 24eb7d6bc9 Add LeoFS plugin 2015-08-07 08:58:24 +00:00
Alvaro Morales 32cbbdbf73 Add exec plugin 2015-08-05 17:51:44 -07:00
Cameron Sparr 06a84def5f Merge pull request #71 from kureikain/haproxy_plugin
HAProxy plugin
2015-08-05 15:47:59 -06:00
Codeb Fan d7bda01ccb Add Nginx plugin (ngx_http_stub_status_module)
Add plugin to collect Nginx basic status information (ngx_http_stub_status_module).
http://nginx.org/en/docs/http/ngx_http_stub_status_module.html
2015-08-05 15:33:28 -06:00
Simon Fraser 6b510652ed Add Lustre 2 plugin 2015-08-05 14:46:30 -06:00
Graham Floyd c0fa6af51b Add disque plugin 2015-07-31 14:46:46 -05:00
Vinh 5bf00e87cc Add haproxy plugin 2015-07-22 17:14:31 -07:00
Evan Phoenix 6eb4bdcf0e Merge pull request #53 from alvaromorales/rethinkdb-fix
Add rethinkdb plugin to all.go
2015-07-21 13:37:55 -07:00
Evan Phoenix b4e032d9c9 Merge pull request #54 from jipperinbham/mongodb-plugin
add MongoDB plugin
2015-07-21 13:37:44 -07:00
Evan Phoenix 4ca39dfd1e Merge pull request #55 from brocaar/elasticsearch_plugin
Implement Elasticsearch plugin
2015-07-21 13:34:31 -07:00
Ian Unruh fad63b28d1 Add simple RabbitMQ plugin 2015-07-21 11:48:49 -07:00
JP 98b0543b26 fix merge conflicts 2015-07-09 15:09:43 -05:00
Orne Brocaar d38f2223a5 Implement Elasticsearch plugin (indices stats). 2015-07-08 21:14:51 +02:00
JP 86145d5eb5 add MongoDB plugin 2015-07-07 11:25:34 -05:00
Alvaro Morales 037c43cd25 Add rethinkdb plugin to all.go. 2015-07-06 17:27:09 -07:00
Todd Persen 494704b479 Merge pull request #28 from brian-brazil/prometheus-plugin-only
Add support for Prometheus (plugin only)
2015-07-05 16:49:36 -07:00
Emil Stolarsky 0692b4be61 Add Kafka Consumer Plugin
The Kafka consumer plugin polls a specified Kafka topic and adds messages to
InfluxDB. The plugin assumes messages follow the line protocol. Consumer Group
is used to talk to the Kafka cluster so multiple instances of telegraf can read
from the same topic in parallel.
2015-07-02 15:40:13 -04:00
Brian Brazil 5390a8ea71 Add Prometheus plugin.
This allows pulling Prometheus metrics from
any client library or exporter over HTTP.
2015-06-24 22:15:58 +01:00
Evan Phoenix 5fbd07b146 Add memcached to the all plugins package 2015-06-23 14:51:32 -07:00
Evan Phoenix 1653330421 Tivan is dead, long live Telegraf. Fixes #3 2015-05-22 16:45:14 -07:00
Evan Phoenix bcb33d880e Enable pg and mysql by default 2015-05-18 11:54:27 -07:00
Evan Phoenix 04b2bbd30b Add redis plugin 2015-04-07 11:54:21 -07:00
Evan Phoenix db74acb86d Initial spike
This is mostly to solidify the overall structure with the agent,
plugins, and testing philosphy.
2015-04-01 21:55:51 -07:00