Commit Graph

712 Commits

Author SHA1 Message Date
Donald Guy 4970e2a37b 0.3.0 unit tests: existing postgresql 2016-01-06 19:45:03 -05:00
Cameron Sparr 8e38f593c4 0.3.0 unit tests: disque and elasticsearch 2016-01-05 18:06:30 -07:00
Cameron Sparr cb975caf7c 0.3.0 unit tests: aerospike, apache, bcache 2016-01-05 17:28:15 -07:00
Cameron Sparr 68c4d1cea9 0.3.0 unit tests: system plugins 2016-01-05 16:58:35 -07:00
Cameron Sparr a532d917b9 Fix httpjson panic for nil request body 2016-01-05 14:26:37 -07:00
Cameron Sparr 28007557cb 0.3.0 Removing internal parallelism: twemproxy and rabbitmq 2016-01-05 14:26:37 -07:00
Cameron Sparr 148b93bafb 0.3.0 Removing internal parallelism: procstat 2016-01-05 14:26:37 -07:00
Cameron Sparr a8c164432a 0.3.0 Removing internal parallelism: postgresql 2016-01-05 14:26:37 -07:00
Cameron Sparr 2989227db2 0.3.0 Removing internal parallelism: httpjson and exec 2016-01-05 14:26:37 -07:00
Cameron Sparr 9a5ced8b37 0.3.0 outputs: riemann 2016-01-05 14:26:37 -07:00
Cameron Sparr 06a78510db CHANGELOG update 2016-01-05 14:26:37 -07:00
Cameron Sparr 11254e8468 0.3.0 outputs: opentsdb 2016-01-05 14:26:37 -07:00
Cameron Sparr bdbba81d46 0.3.0 output: librato 2016-01-05 14:26:37 -07:00
Cameron Sparr 963729ae36 0.3.0 output: datadog and amon 2016-01-05 14:26:37 -07:00
Cameron Sparr 6bb34fcda3 0.3.0: mongodb and jolokia 2016-01-05 14:26:37 -07:00
Cameron Sparr 37eeea5885 0.3.0: postgresql and phpfpm 2016-01-05 14:26:37 -07:00
Cameron Sparr 89fd51ecb4 0.3.0 HAProxy rebase 2016-01-05 14:26:37 -07:00
Cameron Sparr d3c6d87462 0.3.0: rethinkdb 2016-01-05 14:26:37 -07:00
Cameron Sparr 847d2f0169 0.3.0: zookeeper and zfs 2016-01-05 14:26:37 -07:00
Cameron Sparr c3c6292f07 backwards compatability for io->diskio change 2016-01-05 14:26:37 -07:00
Cameron Sparr 931c706522 0.3.0: trig and twemproxy 2016-01-05 14:26:37 -07:00
Cameron Sparr 3b61beeb0d 0.3.0 redis & rabbitmq 2016-01-05 14:26:37 -07:00
Cameron Sparr 68c42d4b5d 0.3.0: prometheus & puppetagent 2016-01-05 14:26:37 -07:00
Cameron Sparr 65390907b7 0.3.0: procstat 2016-01-05 14:26:37 -07:00
Cameron Sparr a148c9da3b 0.3.0: ping, mysql, nginx 2016-01-05 14:26:37 -07:00
Cameron Sparr 7a32fe09d1 0.3.0: mailchimp & memcached 2016-01-05 14:26:37 -07:00
Cameron Sparr c04f37bb54 0.3.0: leofs & lustre2 2016-01-05 14:26:37 -07:00
Cameron Sparr deb059e7a8 0.3.0 httpjson 2016-01-05 14:26:37 -07:00
Cameron Sparr 88631d40d5 0.3.0: HAProxy 2016-01-05 14:26:37 -07:00
Cameron Sparr d77bdb26b1 Breakout JSON flattening into internal package, exec & elasticsearch aggregation 2016-01-05 14:26:37 -07:00
Cameron Sparr 16932ee410 Updating aerospike & apache plugins for 0.3.0 2016-01-05 14:26:37 -07:00
Cameron Sparr 5f3a1fcb86 Updating system plugins for 0.3.0 2016-01-05 14:26:37 -07:00
Cameron Sparr 5bf7c4d241 Update circleci badge 2016-01-05 14:18:31 -07:00
Aleksei Magusev c2b5f21832 Fix typo in telegraf.conf
Closes #456.
2016-01-04 01:30:49 +01:00
Cameron Sparr bdac9b7241 Update 0.3.0 beta links in readme 2015-12-21 13:53:16 -08:00
Cameron Sparr ec6eae9537 Links for the 0.3.0 beta version 2015-12-19 23:50:05 -07:00
Cameron Sparr f607074899 remove Name from influxdb unit test 2015-12-18 16:39:23 -07:00
Cameron Sparr 0571eecb0c Remove 'Name' argument from influxdb plugin for 0.3.0 compatability
closes #449
2015-12-18 16:26:15 -07:00
Mark Rushakoff 4f3d6ddf17 Add influxdb 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 under the "memstats" key but does not follow the format
and so is not consumed in this plugin.

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

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

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

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

name: influxdb_influxdb_subscriber
--------------------------------
fieldKey
pointsWritten

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

name: influxdb_influxdb_write
---------------------------
fieldKey
pointReq
pointReqLocal
req
subWriteOk
writeOk
```
2015-12-18 15:41:16 -07:00
chrispeterson 34f0c593ad add additional stats that were already being collected
and rearrange the order to match the index order from the CSV endpoint

add test coverage. add back wretr.  remove check_status from recently added column

closes #445
2015-12-17 15:00:17 -07:00
jipperinbham 97ebcc2af1 close r.Body, remove network metrics, updated other sections as needed
closes #430
closes #452
2015-12-17 14:43:14 -07:00
Cameron Sparr 4852b5c11e Do not rely on external server for amon unit tests 2015-12-11 13:09:09 -07:00
Cameron Sparr 16ce06f621 Use gdm for dependency management 2015-12-11 12:22:16 -07:00
Cameron Sparr 811a54af6c Remove Godeps/ directory 2015-12-11 11:45:20 -07:00
Cameron Sparr e02973b6f4 Go fmt kinesis output test file 2015-12-11 11:45:07 -07:00
James Lamb b91eab6737 add amazon kinesis as an output plugin
closes #428
2015-12-11 11:29:03 -07:00
Allen Petersen c89ef84df7 Separate pool tag and stat collection.
closes #427
2015-12-11 10:59:11 -07:00
Allen Petersen e3c8a1131a Fix single dataset test.
The "two pool, one metic" test was only passing because of previous calls to Gather() had already populated the values.
2015-12-08 05:53:11 -08:00
Allen Petersen eb78b9268f Add zfs pool stats collection. 2015-12-08 05:11:41 -08:00
Cameron Sparr d62e63c448 Telegraf 0.2.4 version bump 2015-12-07 17:01:12 -07:00